How can I specify the "z-order" of plots and oscillator lines within NinjaScript? For example, I have the following in my script:
protected override void Initialize()
{
Add(new Line(Color.FromKnownColor(KnownColor.Black), 10, "OB"));
Add(new Line(Color.FromKnownColor(KnownColor.Black), -10, "OS"));
Add(new Plot(new Pen(Color.Blue, 2), PlotStyle.Line, "Rising"));
Add(new Plot(new Pen(Color.Red, 2), PlotStyle.Line, "Falling"));
}
How can I make the oscillator lines "OB" and "OS" draw on top of the other plots lines?
Greatly appreciate your help. Thanks in advance.
Comment