use MqlTick

 
hello, how can i use MqlTick for a result of buy deal or sell deal ? thanks
 

It would be cumbersome and is not necessary.

Here you have all trading functions: https://www.mql5.com/en/docs/trading.

If you need historic trades you have here an example how to get all information: https://www.mql5.com/de/code/27635

Take from there what you need.

Documentation on MQL5: Trade Functions
Documentation on MQL5: Trade Functions
  • www.mql5.com
Trade Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Carl Schreiber #:

It would be cumbersome and is not necessary.

Here you have all trading functions: https://www.mql5.com/en/docs/trading.

If you need historic trades you have here an example how to get all information: https://www.mql5.com/de/code/27635

Take from there what you need.

Maybe he wants to get the type of each tick, not the trading history


Mouloud Aghbal:
hello, how can i use MqlTick for a result of buy deal or sell deal ? thanks

You can refer this article: https://www.mql5.com/en/docs/series/copyticks
They explained and gave specific examples.

Documentation on MQL5: Timeseries and Indicators Access / CopyTicks
Documentation on MQL5: Timeseries and Indicators Access / CopyTicks
  • www.mql5.com
CopyTicks - Timeseries and Indicators Access - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5