I'm trying to develope a limitation to my Max Drawdown so my strategy should Halt when the Drowdown overcome a specific value.
Print("Draw down of all trades is: " + SystemPerformance.AllTrades.TradesPerformance.Curr ency.Drawdown);
this code works very well when I use a single strategy but i'm not sure it works very well whne several strategies are working. In this code
I'll excpect to see the Drawdown of all strategies and not the DD of a single specific strategy.
For that reason I tried :
TradeCollection myTrades = SystemPerformance.AllTrades.GetTrades("ES 12-17","Long1",1);
Print(myTrades.TradesPerformance.Currency.Drawdown );
but it gives me just the loss of the Long1 trades and not the Drawdown of this strategy.
How can get the Historical Drawdown of a specific strategy that is working with other X strategies?
Comment