Tick volume is empty in demo mode

To add comments, please log in or register
Christian Stern
332
Christian Stern  

Hey all,

i am playing around with market infos and like to do some calculations. As i tried accessing the Tick information i saw that there is no volume information:

( Ref: https://www.mql5.com/en/docs/constants/structures/mqltick )


MqlTick last_tick;
   
//---
if(SymbolInfoTick(Symbol(),last_tick)) {
   Print(last_tick.time,": Bid = ",last_tick.bid,
            " Ask = ",last_tick.ask,"  Volume = ",last_tick.volume);
}else{
   Print("SymbolInfoTick() failed, error = ",GetLastError());
}


Does anyone cam tell me why i can't see the volume information ?


Thank you

Documentation on MQL5: Standard Constants, Enumerations and Structures / Data Structures / Price Data Structure
Documentation on MQL5: Standard Constants, Enumerations and Structures / Data Structures / Price Data Structure
  • www.mql5.com
This is a structure for storing the latest prices of the symbol. It is designed for fast retrieval of the most requested information about current prices. The parameters of each tick are filled in regardless of whether there are changes compared to the previous tick. Thus, it is possible to find out a...
nicholi shen
2187
nicholi shen  
Christian Stern:

Hey all,

i am playing around with market infos and like to do some calculations. As i tried accessing the Tick information i saw that there is no volume information:

( Ref: https://www.mql5.com/en/docs/constants/structures/mqltick )



Does anyone cam tell me why i can't see the volume information ?


Thank you


Your broker probably doesn't support it. This is really more of a futures feature. 

Christian Stern
332
Christian Stern  
nicholishen:

Your broker probably doesn't support it. This is really more of a futures feature. 

Thank you for the fast answer :D .. i am using the default "IMPACT Demo" konto. In MT5 there is no other broker. Do you know which broker i can use ?

nicholi shen
2187
nicholi shen  
Christian Stern:

Thank you for the fast answer :D .. i am using the default "IMPACT Demo" konto. In MT5 there is no other broker. Do you know which broker i can use ?

For futures? Try amp
To add comments, please log in or register