"last" and "volume" fields of MqlTick structure

 

Hi everybody, I'm building an Expert Advisor to work with FOREX and I'm using the following code to load an MqlTick structure array. The function works right but "last" and "volume" values of the MqlTick structures are always zero during the whole day. Does anyone know why? Thanks in advance. Bye.

   int rTicks=   CopyTicks(_Symbol, bTicks, COPY_TICKS_ALL, 0, 256);
 
adriano1964:

Hi everybody, I'm building an Expert Advisor to work with FOREX and I'm using the following code to load an MqlTick structure array. The function works right but "last" and "volume" values of the MqlTick structures are always zero during the whole day. Does anyone know why? Thanks in advance. Bye.

Because they are not available for your broker/symbol.
 

Hello,

What other alternative to know if you are currently having more buy or sell, since Volume and Last comes with zero?


Thanks.