TimePainted

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Charts > ChartControl >

TimePainted

Previous page Return to chapter overview Next page

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>.TimePainted

 

Examples

ns


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