Plot0.Set(Open[0] == Close[0] ? 1 : 0);
I tried this and it works as expected as I tried...

Then I modified it the following way:
Plot0.Set(Open[0] < Close[1] ? 1 : 0);
Compilation reported no errors
but I didn't receive a value (line under my Chart)

thanks for your answers!

Comment