Example of moving-average-convergence-divergence-indicator in Vue chart Component

AAPL Stock Price 2012-2017

This sample illustrates a chart with candle series and a moving average convergence divergence indicator. The trackball shows information about each day’s stock, MACD line, signal line, and MACD histogram values.

In this example, you can see how to render and configure a moving average convergence divergence indicator. The moving average is based on the difference between two EMA's. This indicator often provides valuable signals for trend analysis.

Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over a point or tap a point in touch enabled devices.

Injecting Module

Chart component features are segregated into individual feature-wise modules. To use MACD Indicator, we need to Inject MacdIndicator module using provide: { chart: [ MacdIndicator] }, method.

More information on the moving average convergence divergence indicator can be found in this documentation section.