Download MetaTrader 5

can anyone explain?

To add comments, please log in or register
Ali Poormomen
3404
Ali Poormomen  

Please, can anyone explain what this functions return.

it's always return 18.

SymbolInfoInteger("EURUSD",SYMBOL_TRADE_STOPS_LEVEL)

and


it's always return 0.

SymbolInfoInteger ("EURUSD", SYMBOL_VOLUMEHIGH);
Stephen Njuki
5241
Stephen Njuki  
The first function returns the minimum distance at which you can place a pending order in points I.e. you need to multiply it by a point to get the actual distance in price decimals. The second function returns the real volume contracts for EURUSD that are being traded with your broker. Not all brokers provide this so that could be why it is zero in your case.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Order Properties - Documentation on MQL5
Ali Poormomen
3404
Ali Poormomen  
Thank you. Sometimes it looks easy, but it can be confusing.
To add comments, please log in or register