Equity loss maximal

 

Hello.


I'm looking for a way to find an EA's Equity Loss Maximal figure.

And I don't mean the existing Equity drawdown maximal because I only want to know what was the maximum amount a position has dropped with respect to it's entry price, not to it's highest point.


Anyone know of a way?

 

Not an efficient solution :

1.  Use CopyTicks to have all ticks arrived from position open time to position close time.

2.  Use  OrderCalcProfit to calculate unrealized profit associated with the position.

3.  Register the above calculated value as the max drawdown if it is more negative than previously registered value.

Reason: