Are you aware of any problems when using the DrawRegion() method on charts with multiple series?
I have an indicator which colours the region between two MAs. It works perfectly when used on a chart with one series only.
However, when I mix two series in the chart, the colouring of the region between the MAs occurs with a lag of 1 bar on the primary series. For instance, if I mix Daily and Weekly data and apply the indicator to the Weekly data, the colouring of the region between the two MAs will have a lag of 1 Daily bar.
See screenshot below. I have also included the NinjaScript of the indicator so that you can have a look and use it on your own testing.
Thanks,
Stopped
Comment