Download MetaTrader 5

How to get minimum difference for limit order

To add comments, please log in or register
Eric Duran
160
Eric Duran 2010.12.21 01:30 
Hi, what's the command to get the minimum difference from the current price you can place a limit order at?
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
Brett Luedtke
114
Brett Luedtke 2010.12.21 03:39  


long  SymbolInfoInteger(

"symbol", SYMBOL_TRADE_STOPS_LEVEL

 );

Eric Duran
160
Eric Duran 2010.12.21 06:11  
Lugner:

long  SymbolInfoInteger(

"symbol", SYMBOL_TRADE_STOPS_LEVEL

 );

Thank you.
To add comments, please log in or register