This is a new warning for me. In previous versions of AB this error was hidden.
The warning is letting me know that the stop loss I have used is zero on the second bar of the chart – [1].
This system allows an entry from the second bar onward, but the stop is a 6 bar channel stop.
A workaround would be to include a ‘start bar’ in the code which will prevent entries until the stop loss has a value.
E.g.
BarNumber = BarIndex();
StartBar = BarNumber > 6;
for (j = 1; j < BarCount; j++)
{
if (LPriceAtBuy==0 AND LE[j] AND StartBar[j])