protected override void OnStateChange()
{
* if (State == State.SetDefaults)
* {
* * Name = "Examples Indicator";
*
* * // Add three plots and associated Series<double> objects
* * AddPlot(Brushes.Blue, "PlotA"); * * // Defines the plot for Values[0]
* * AddPlot(Brushes.Red, "PlotB"); * * // Defines the plot for Values[1]
* * AddPlot(Brushes.Green, "PlotC"); * // Defines the plot for Values[2]
* }
}
protected override void OnBarUpdate()
{
* Values[0][0] = Median[0]; * // Blue "Plot A"
* Values[1][0] = Low[0]; * * * // Red "Plot B"
* Values[2][0] = High[0]; * * // Green "Plot C"
}
Comment