SYMBOL_SESSION_BUY_ORDERS_VOLUME

 

I'd like to use the number of limit buy orders but it is systematically set to 0 in backtest; is this parameter not accessible in backtest ?  

is there a broker offering MT5 & demo account where this parameter can be accessed ?

thanks, Nicolas

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Account Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Account Properties - Documentation on MQL5
 

I haven't found the other SYMBOL_SESSION_BUY/SELL info working either


see: https://www.mql5.com/en/forum/6141/160794


It does appear to be a new feature, only added to the builds/manual recently.

possible bug in session order counting
  • www.mql5.com
After submitting a buy-limit, or sell-limit order, the documentation suggests you can check the number of open buy/sell orders (including limit orders).
 
johhny6:

I haven't found the other SYMBOL_SESSION_BUY/SELL info working either


see: https://www.mql5.com/en/forum/6141/160794


It does appear to be a new feature, only added to the builds/manual recently.

 

i guess it depends on the broker on which MT5 is plugged (ie the broker provides the order book info or not) .... i guess i should make another post to know if mql5 can trade the order book, let's wait a bit if someone else answers

thks for your answer  

Reason: