Example of SMA in React Chart Component


This sample illustrates a stock chart with candle series and a Simple Moving Average indicator. Trackball shows the information about the stock and signal value of a day.

More Details...


In this example, you can see how to render and configure the SMA Indicator.

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 SMA Indicator, we need to inject SmaIndicator module into services.

More information on the SMA Indicator can be found in this   documentation section.