Calculation of maximal drawdown in tester report

 

I have read that the calculation of the maximal drawdown in the tester is not based anymore on the Balance of the account but on the equity.


On the article https://www.mql5.com/en/articles/1403 describing the code of tester report, the calculation of the drawdown is still based on the balance.


Can somebody describe the calculation method of the drawdown based on the equity ?

 
jfgrasset:

I have read that the calculation of the maximal drawdown in the tester is not based anymore on the Balance of the account but on the equity.

On the article https://www.mql5.com/en/articles/1403 describing the code of tester report, the calculation of the drawdown is still based on the balance.

Can somebody describe the calculation method of the drawdown based on the equity ?

I am adding the picture of the Balance/Equity curves and the tester reports.

The max drawdown calculated by the tester is 889.72 (calculated from the Equity)

The max drawdown that I calculated from the Balance is 399

As the Balance and Equity curves are almost the same, the Drawdown calculated from the Equity curve should be the same !!!

Can somebody explain why ???

Reason: