I use the following code in my strategy to hit my daily PNL targets and then stop strategy.
Performance.AllTrades.TradesPerformance.Currency.C umProfit < 1000
What code can I use for backtesting purposes? What I'm looking for is for during the backtest process for the code to stop just for that day if the target has been hit and then restart on the new day.
Thanks

Comment