Strategy Tester Not Respecting Max Drawdown or Lot Size Limits

 

Hi, I'm testing an EA and I've added Max Drawdown Limits.


However, when I run the tester, sometimes trades will at a drawdown much higher than what I've set it as.


The strategy works great on demo testing over the last few months, and the Risk Limits work as intended. However I'm unable to get it showing similar results as to what I'm experiencing. 


Is there a way to get the Strategy Tester to respect this?

 
Lucas Francis Mondora: Hi, I'm testing an EA and I've added Max Drawdown Limits. However, when I run the tester, sometimes trades will at a drawdown much higher than what I've set it as. The strategy works great on demo testing over the last few months, and the Risk Limits work as intended. However I'm unable to get it showing similar results as to what I'm experiencing. Is there a way to get the Strategy Tester to respect this?

Where have you "added Max Drawdown Limits"? In your code or in the Optimisation filters?

If in the filters, then just as the name states, it filters the Optimisation results. It does not affect the functionality of the EA being tested.

If you want to limit drawdown in your EA, then you have to program it to do so.

Reason: