Can I ask you how NinjaTrader (or NinjaScript) controls the plotting order of indicators? How does it determine which indicator drawn first (means very back) which one goes last (means very front) when plotting multiple indicators in a single panel? I don't think it's done randomly everytime.
Please note it's not inside one indicator (.cs file) such as AddLine(Brushes.DarkGray, 0, "Zero Line"), AddPlot(Brushes.Green, "A line") and AddPlot(Brushes.Red, "B line"), many individual indicators involve.
I am plotting indicators like TimeLines (vertical lines every n minutes/hours), Histogram or Bar type indicators which I want them to stay at the very back not to disconnect the continuous lines like moving averages by passing over them. I know it's just a cosmetic issue, but to improve visibility of other line type indicators and candlesticks as well, I wanted to know if there are any solutions which can be done by user side.
Sample is attached. On the price panel, vertical and horizontal line indicators* are runing over the candlesticks and moving averages and on the indicator panel at very bottom, bar type indicator is being plotted over the line type indicator so that it causes decreasing visibility of line type indicator.
*..These are not standard grid lines that come with NT8.0, but have been created by the end user and both widths are already minimum which is 1 so I can't make it thinner anymore.
Comment