We can't have more than one EA per symbol in MT4.I recommend using a separate trailing stop EA. The trailing stop feature of the Position Sizer is very basic and it likely won't change much in the future.
We can't have more than one EA per symbol in MT4.I recommend using a separate trailing stop EA. The trailing stop feature of the Position Sizer is very basic and it likely won't change much in the future.
Yes, but the EA can be attached to a different chart.We can't have more than one EA per symbol in MT4.
Hello!Position Sizer updated to version 3.07 to offer multiple improvements and bug fixes:
- Added an optional additional label for the Entry line to display the total position volume calculated by the Position Sizer. (Via GitHub)
- Added new hotkeys (Shift+S and Shift+P by default) to switch stop-loss and take-profit values from level to points and vice versa. (@Lemonart)
- Added risk-to-reward ratio calculations to the Risk tab. (@EnrichWave)
- Added the expiration time field and parameter to allow setting a time limit for pending orders. (@logist18)
- Added a new hotkey ('`' by default) to minimize/maximize the panel. (@Nathan.Küster)
- Fixed TP button colors in the dark mode. (@Mio)
- Fixed hotkeys to not trigger when they are set to work without Shift/Ctrl, but either Shift or Ctrl are pressed.
- Fixed the margin calculation in the MT5 version to take into account the maintenance margin when required. (Via GitHub)
- Fixed a bug when changing the hotkey input parameters for an already attached Position Sizer could fail to work. (@Elrye22)
- Fixed a potential array out-of-range error that could appear under certain rare circumstances. (@Jakey88)
- Fixed additional TP fields scaling on the panel for HiDPI screens. (@kamthind)
- Changed the take-profit hotkey to switch off the TP-lock-on-SL when triggered. (@Mio)
- Changed where the panel setting files are stored. They are now saved and loaded from the PS_Settings subfolder of MetaTrader's Files folder. Older settings files will be loaded correctly if they are found in the previous location.
- Changed default colors for TP and SL lines to goldenrod and green respectively.
//+------------------------------------------------------------------+ERROR... MT4 VERSION
'#import' - #import was not closed stdlib.mqh 6 1solc
ERROR... MT4 VERSION
'#import' - #import was not closed stdlib.mqh 6 1
SOLVE:
stdlib.mqh is a part of MetaTrader's standard libraries. It should have had that line by default.//+------------------------------------------------------------------+
//| stdlib.mqh |
//| Copyright © 2004, MetaQuotes Software Corp. |
//| http://www.metaquotes.net/ |
//+------------------------------------------------------------------+
#import "stdlib.ex4"
string ErrorDescription(int error_code);
int RGB(int red_value,int green_value,int blue_value);
bool CompareDoubles(double number1,double number2);
string DoubleToStrMorePrecision(double number,int precision);
string IntegerToHexString(int integer_number);
#import <<<<< added this to file solved problem
Yes, you can set SurpassBrokerMaxPositionSize to true.Hello!
I've been using Position Sizer for some time.
I want to suggest an improvement.
Please check the possibility of implementing the functionality in the future.
I noticed that the Position Sizer opens positions up to the maximum size defined by the Symbol specification.
When the Trader has an account with a high balance, with high leverage and which allows him to open large volume orders, it will be necessary to open several positions of maximum size.
For example:
Account Balance: 500,000.00
Leverage: 1:1000
Maximum Symbol Volume: 100
Volume to be opened: 600
Positions: 100 x 6
Is it possible to implement an improvement where Position Sizer can calculate the maximum position size supported by the account (based on StopLoss and Risk) and open several simultaneous orders that total the calculated maximum size?
Similar when there are several Take Profits.
I hope I was clear in my explanation!
Congratulations to those involved in this spectacular project!
Thank you very much!
Did you find the answer I have the same no other indicators on chartsNot sure. Are you using any other indicators with it?
Are you using the latest version (3.07)? Is your account in USD?Did you find the answer I have the same no other indicators on charts
First thing first, don't try to use it on a live account before trying everything you need on a demo account.Has anyone run into the issue where the order type changes mid Take Profit zone entry? I attempted to enter a run of 5 Take Profits and at some point the order type kept shifting from Long to Short resulting in some losing trades
Also, on the occasion where I was able to place an order with 5 TPs, only 1 would be entered for trade...
Am I doing something wrong? I watched the demo videos and have been fiddling around with it, but it's been murder on my live account. Any suggestions?
Do you mean separate multiple orders? Yes, if you change the color for the BE lines from None to some other.is there option that I can view Breakeven value of multiple orders?.
Thank you Enivid, I tried for pending orders. It's not working. May be with opened order will work isn't?Do you mean separate multiple orders? Yes, if you change the color for the BE lines from None to some other.
It won't work with pending orders. It only tracks positions.Thank you Enivid, I tried for pending orders. It's not working. May be with opened order will work isn't?
Hello!Yes, you can set SurpassBrokerMaxPositionSize to true.
Sorry, but I don't understand. What does "the current price adjusts to 9,500" mean? The EA doesn't control the current price - it's controlled by the market.Good afternoon, there is a functionality that I did not find, and it is widely used in the Brazilian market, we call it "average transaction price".
Where the current transaction price is automatically adjusted according to partial contract realizations.
Example: If bought at 10,000 with 2 lots, and realizes half the position at 500 points in favor, then the current price adjusts to 9,500. It is very useful for creating a position in assets. Is there a possibility of including this function? Thank you for your attention.
Sorry for my english, its a google translator
Good evening, to help with understanding, I made a video of how it works in practice.Sorry, but I don't understand. What does "the current price adjusts to 9,500" mean? The EA doesn't control the current price - it's controlled by the market.