Dear programmers, please advise how to get the correct swap amount in points, i.e. PositionGetDouble(POSITION_SWAP) outputs money, this amount is divided by point value, right? how to get point value then, what to divide by? totally confused, please advise.
Dear programmers, please advise how to get the correct swap amount in pips, i.e. PositionGetDouble(POSITION_SWAP) outputs money, we divide this amount by point value, right? how to get the point value, divide by what? I'm confused, please advise.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
SYMBOL_TRADE_TICK_VALUE_PROFIT
Calculated tick value for profitable position
double
SYMBOL_TRADE_TICK_VALUE_LOSS
Calculated tick value for a losing position
double
How can you get one?
How can you get one?
It is, but I'd like to get rid of #define
It is, but I'd like to get rid of #define
question to mql authors, most likely to equate properties with declarations (in a specific variant, not necessarily globally)
SYMBOL_TRADE_TICK_VALUE_PROFIT
Calculated tick value for profitable position
double
SYMBOL_TRADE_TICK_VALUE_LOSS
Calculated value of a tick for a losing position
double
Eh, thanks, I don't understand anything yet, Friday, tomorrow with a clear head)
Ctrl+F
But only when testing with visualisation.Thank you Friends!
int digits_adjust=1; if(m_symbol.Digits()==3 || m_symbol.Digits()==5) digits_adjust=10;If I leave this feature, I need to set the trap and slope to 5000 to get 50
Afternoon.
How can MQL4(5) code remove limitation on maximum(minimum) of indicator window, which is set as follows:
?