MT4 report - time in trade

 

Hi all..

I hoping someone can help me.. I am trying to generate a report out of MT4 to which shows me:

1. Max holding time

2. Avg holding time.

I can see this (Avg holding time) on the reports for advertised signals.. but I would like this information for my own EA's using MT4.

Any suggestions?

Greg 

 
Greg Kranz:

Any suggestions?

OrderCloseTime-OrderOpenTime

https://docs.mql4.com/trading

Trade Functions - MQL4 Reference
Trade Functions - MQL4 Reference
  • docs.mql4.com
Trade Functions - MQL4 Reference