The Moving Average Convergence Divergence (MACD) is one of the most widely used momentum indicators, plotting the difference between a fast and slow EMA alongside a signal line and histogram. Crossovers between the MACD and signal lines generate buy/sell signals, while the histogram visualizes their divergence for quick trend-strength assessment.
This sample plots CSCO daily closing prices as a line series on the main plot and renders the MACD indicator with fast period 12, slow period 26, and signal period 9 in a 30% height subplot. The MACD line is dark red (#bf360c), the signal line is orange (#ff6d00), and the histogram fill is light gold (#ffe082). The chart features dual Y-axes, a synchronized line scroller, a range picker, and a range selector.
See the Technical Indicators documentation for all configuration options.