I´m experiencing a strange behavior and I´wondering about this because its not a complicated logic but I have no idea why it is not plotting as it should. I have a simple logic to plot a backcolor when volume of bar0 is greater than the bars before. But it does not plot sometimes, eg where I show with the rectangle.
What might be the reason for this please?
In the attached screenshot one can see the chart with a situation where it is not plotting and the simple code beside. Its a 377 tickchart and I have - because of other calculations - added the volumetric 377 ticks.
Edit post: After posting the question I changed the dataseries in the chart from a 377 tickchart to a volumetric 377 tickchart (screenshot plotting_vm) and the plotting is ok now as we can see that the volume of that bar in concern I had marked with the rectangle is not higher than the volume of the bars before.
So the question is not about the code, the question is why the volume of a 377 tick chart is different from the volume of a volumetric 377 tickchart.
Thank you!
Tony

Comment