To define a public series:
In State.SetDefaults:
AddPlot(new Stroke(Brushes.Orange, 2), PlotStyle.Bar, "CumulativeDeltaPlot");
In #region Properties:
[Browsable(false)]
[XmlIgnore]
public Series<double> CumulativeDeltaPlot
{
get { return Values[0]; }
}
In OnBarUpdate():
CumulativeDeltaPlot = SUM(cumulativeDelta.DeltaClose, 3)[0];
Comment