Since the logic is no different across bar lengths, this is something particular to NT's implemenetation.
I even tried adding "if (!Historical)" before the clean-up statement, as in
if IB then draw IB, else if OB then draw OB, else (if !Historical) remove IB.
It did NOT help. Once an outside bar, always an outside bar obviously; however an inside bar may grow out of it before the current bar ends, so it is necessary to remove any previously drawn IB once the conditions are no longer met.
I need to understand this and get it fixed, as it will affect all my indicators. Indicators should work the same, regardless of time-frame.
Thank you.
Comment