For example, when siting the control initially, I'd like to access the current ATR of the chart on which the tool is being rendered.
However, calling an indicator directly doesn't work.
For example:
public override void OnMouseDown(ChartControl chartControl, ChartPanel chartPanel, ChartScale chartScale, ChartAnchor dataPoint) { .... various code .... // THIS DOES NOT WORK double dblATR = ATR(14)[0]; .... more various code .... }
Comment