Indicator : crossing (bar & previous bar) (URGENT)
Array out of range points to column 12 so I guess content of bar = 0 and bar - 1 = -1 but -1 is not a valid index.
Maybe the formula should be "close[bar+1]" depending on the rest of your program logic?
MrGrey:
Maybe the formula should be "close[bar+1]" depending on the rest of your program logic?
Here it is :p
Maybe the formula should be "close[bar+1]" depending on the rest of your program logic?
Hi there,
Need help with a simple crossing code in an indicator :
Error (not during compilation, but when attached to chart) :