Plot0.Set(Open[0] == Close[0] ? 1 : 0);
I want to set up something like this:
Plot0.Set(Open[120] >= Close[55] ? 1 : 0)
Plot1.Set(Open[120] < Close[55] ? 1 : 0)
Works well, but when I change "Open[0]" to anything more than "Open[1]" it just doesn't work...The little popup mentions that the number in the brackets represents "bars ago", so why won't it work
Thanks,
Jeff
Comment