This sample illustrates a chart with candle series and a stochastic oscillator. The trackball shows information about each day’s stock and indicator values.
In this example, you can see how to render and configure a stochastic oscillator that is a momentum indicator. It shows the location of the close relative to the high-low range over a set number of periods.
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 Stochastic Indicator, we need to inject StochasticIndicator
module into services
.
More information on the Stochastic Indicator can be found in this documentation section.