I am trying to add one indicator twice with different PlotStyle:
1. CCI(50) with PlotStyle=Line
2. CCI(50) with PlotStyle=Bar
I would like to have them both in my strategy in same panel but I can't manage that...my code for the first CCI(50) is:
protected override void Initialize() {
CCI(50).Panel = 1;
CCI(50).Plots[0].Pen.Color = Color.Black;
CCI(50).Lines[0].Pen.Color = Color.Red;
CCI(50).Lines[0].Value = 190;
CCI(50).Lines[1].Pen.Color = Color.Blue;
CCI(50).Lines[2].Pen.Color = Color.Black;
CCI(50).Lines[3].Pen.Color = Color.Blue;
CCI(50).Lines[4].Pen.Color = Color.Red;
CCI(50).Lines[4].Value = -190;
Add(CCI(50));
...
}

Comment