However, the 4th one (Atr)... I don't want to show up on the chart... I just want to access it from code in my strategy... do I use AddDataSeries instead, if so what should the parameter(s) be?
Also, if I did plot it... is there a way to get it into a separate panel?
IsOverlay = true;
...
AddPlot(Brushes.Orange, "Upper");
AddPlot(Brushes.Blue, "PDC");
AddPlot(Brushes.Orange, "Lower");
AddPlot(Brushes.Orange, "Atr");
...
Upper[0] = pdc + atr;
PDC[0] = pdc;
Lower[0] = pdc - atr;
AtrSeries[0] = atr;
...
[Browsable(false)]
[XmlIgnore()]
public Series<double> Upper
{
get { return Values[0]; }
}
[Browsable(false)]
[XmlIgnore()]
public Series<double> PDC
{
get { return Values[1]; }
}
[Browsable(false)]
[XmlIgnore()]
public Series<double> Lower
{
get { return Values[2]; }
}
[Browsable(false)]
[XmlIgnore()]
public Series<double> Atr
{
get { return Values[3]; }
}

Comment