Suppose I have an indicator where I have two lines, e.g. two moving averages that I need to draw over the price and a third indicator, e.g. difference of two moving averages that I want to draw on a separate pane. How can I do this?
From browsing the documentation, the way to choose overlay or not is to put a line
Overlay = true;
in the Initialize() function/method, e.g.
protected override void Initialize()
{
Add(new Plot(Color.Orange, "SMA1"));
Add(new Plot(Color.Orange, "SMA2"));
Add(new Plot(Color.Orange, "SMADiff"));
Overlay = true;
}
How can I change this to allow overlay for some plots (e.g. SMA1, SMA2) and a separate pane for others (e.g. SMADiff) ?
Comment