Read Time & Sales by MQL

 

Hi there,

does anyone know how to read the time and sales list by MQL? OnBookEvent() lists only pending orders, but no executed orders. Maybe i´ve overlooked something. Or can this only be done by CopyTicks?

Thanks in advance

 
Doerk Hilger:

Hi there,

does anyone know how to read the time and sales list by MQL? OnBookEvent() lists only pending orders, but no executed orders. Maybe i´ve overlooked something. Or can this only be done by CopyTicks?

Thanks in advance

Yes, you're perfectly right - you should use CopyTicks/CopyTicksRange functions to get the data from the time and sales list. There is an article which may be helpful to understand and implement the idea, but unfortunately it's still available in Russian only.

Reason: