Originally Posted By: jcl
Thanks for posting - and some remarks if you don't mind:

I don't mind at all, thanks for highlighting the obvious errors...

Quote:
- CrossOver/Under checks the crossing of the price not with a curve, but with a horizontal line. I'm not sure if that is what you intended. If you want to compare the price curve with the Donchian curve delayed by 1 bar, use instead:

if(crossOver(Price_Close,DE_Up+1)...

DE_Up[1] = the Donchian up value at the previous bar
DE_Up+1 = the Donchian up series delayed by 1 bar.


Is crossOver(Price_Close,DE_Up[1]) the same as Price_Close>DE_Up[1]?

Thanks