Interesting, the Strategy Builder should have automatically added the check for CurrentBar before Set 1. I'll need to report this to our development.
May I confirm you are using 8.1.3.1 and not an out of date release of NinjaTrader Desktop?
May I confirm you are still building this with the Strategy Builder?
To correct the error, add a condition to Set 1.
On the left select Misc > Current bar, Greater in the center operator, on the right select Misc > Numeric value (leave this set to 0).

Comment