Yes, I meant "false" - sorry about that.

Just to clarify, entries[1] is not the same as entries+1. The former is the value of the next-to-last index of the entries series. The latter is the entries series shifted backwards by 1 bar. That is, the former is a single value, the latter is an entire series.

Also, the code says "If it crossed over at the last bar and it HASN'T crossed over OR UNDER in the prior 6 bars, enter long, and if it crossed under at the last bar and HASN'T crossed under OR OVER in the prior 6 bars, enter short."

Hope that helps