1. RSI(14) and RSI(3) on panel 2
2. ADX(20) on panel 3
Initialize() code:
Add(StrategyPlot(0));
Add(StrategyPlot(1));
// Set the color for the indicator plots
StrategyPlot(0).Plots[0].Pen.Color = Color.Green;
StrategyPlot(0).Plots[1].Pen.Color = Color.Black;
StrategyPlot(1).Plots[0].Pen.Color = Color.Purple;
// Set the panel which the plots will be placed on. 1 = price panel, 2 = panel under the price panel, etc.
StrategyPlot(0).PanelUI = 2;
StrategyPlot(1).PanelUI = 3;
OnBarUpdate():
StrategyPlot(0).Values[0].Set(RSI(14,3)[0]);
StrategyPlot(0).Values[1].Set(RSI(3,3)[0]);
StrategyPlot(1).Value.Set(ADX(14)[0]);
This doesnt work?

Comment