You are absolutely right!
At a certain scale, this is very clearly visible.
This is because the original logic did not imply full painting of the candle. I would call this a logical fallacy of the original NinjaTrader code.
But it doesn't matter. It is enough to add 1 in one place, and delete 1 in the other. I am attaching the corrected code. Everything should work. Good luck!
Thanks to s.kinra for his work!
Comment