I applied a simple study, to paint inside bars.
Code: Select all
if high <= high and low >= low then
PlotPaintBar(h, l, o, c, "", blue);
Notice that from the start of the overnight session, until the start of the european session, there's no problem with the painting, but afterwords we see bars being half painted, which is a very strange reaction.
Even stranger is when I compile the study again, leaving it exactly as it is, and the bars start to be painted correctly.
Why is this happening?