In NinjaTrader_PaulH's DailyLossLimitBuilderExample_NT8, how do you insert between BarsInProgress and if (CurrentBars[0] < 1) the assignments to YesterdaysPNL[0] and StrategyTotallPNL[0] in Strategy Builder? So far I've managed to replicate the rest of the example, except for the the part seen below.
if (BarsInProgress != 0)
return;
YesterdaysPNL[0] = YesterdaysPNL[1];
StrategyTotallPNL[0] = SystemPerformance.AllTrades.TradesPerformance.Curr ency.CumProfit;
if (CurrentBars[0] < 1)
return;
Thanks,
CS

Comment