have any functions? any suggestion?
thanx phil
Your question isn't very clear. You can select the open position for a selected symbol with
bool PositionSelect(string symbol);Then you can use others functions to get position properties. Is it what you need ?
Your question isn't very clear. You can select the open position for a selected symbol with
not really...
in MT5 when I open multiple positions in different volume (buy or sell) I have only one open position calculated by weighted average method. On the chart indicates this a green horizontal line.
at this time i didn't find a return value, or something like this,
it seems to i have to write a custom function :(
phil
not really...
in MT5 when I open multiple positions in different volume (buy or sell) I have only one open position calculated by weighted average method. On the chart indicates this a green horizontal line.
at this time i didn't find a return value, or something like this,
it seems to i have to write a custom function :(
phil
I need the green line (return) value.
pic attached:
after using position select
you need to use position integer with POSITION_PRICE_OPEN
![Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Position Properties Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Position Properties](/i/community/logo_mql5_small.png)
- www.mql5.com
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
have any functions? any suggestion?
thanx phil