Performance.AllTrades.TradesPerformance.Currency.C umProfit
As I see, when running backtesting the result changes from real trade.
What I want is : stop trading (for a day) in case the result in a particular instrument is lower X.
on first bar of the day
priorTradesCumProfit = Performance.AllTrades.TradesPerformance.Currency.C umProfit;
And then I test if ( Performance.AllTrades.TradesPerformance.Currency.C umProfit -priorTradesCumProfit > X) and if not the system does not trade.
Am I doing it right?
does it work on backtesting?

Comment