How do I get the profit amount of an order in history?

 
How do I get the profit amount of an order in history?
 
Farhad1 :
How do I get the profit amount of an order in history?

Example in help: HistorySelect

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