Example of ATR in Javascript Chart Control

/
/
ATR

This sample illustrates a chart with candle series and an average true range indicator. The trackball shows information about the stock rates and signal values of a day.

More Details...

Description

In this example, you can see how to render and configure an average true range indicator. This indicator measures the volatility of the stock by comparing the current value with the previous value. Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices. Injecting Module Chart component features are segregated into individual feature-wise modules. To use Average True Range Indicator, we need to Inject AtrIndicator module using chart.Inject(AtrIndicator) method. More information on the Average True Range Indicator can be found in this documentation section.