Strategies

View as Markdown

Definition

A collection of strategies configured on the chart.

Property Value

A ChartObjectCollection of StrategyRenderBase objects containing information on all configured strategies on the chart.

Syntax

\<chartcontrol\>.Strategies

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
2{
3 // Print the number of strategies configured on the chart
4 if (chartControl.Strategies.Count > 0)
5 Print(chartControl.Strategies[0].Name);
6}