Plot0.Set(Close[0]>=Open[0] ? 1 : 0);
and plots a bar of length 1 whenever a green candle occurs.
This line, which I thought should plot a bar of length 1 whenever the preceding candle was green, plots nothing.
Plot0.Set(Close[1]>=Open[1] ? 1 : 0);
Can someone point me in the right direction for help?
Thanks,
Snap
Comment