MACD
The gap between two EMAs, its signal line and their histogram.
Drawn in its own pane below the price.
How it’s worked out#
MACD = EMA(C, fast) − EMA(C, slow); signal = EMA(MACD, signal); histogram = MACD − signal
How to read it#
MACD crossing its signal marks momentum turning; above zero reads as an uptrend. A shrinking histogram warns of slowing momentum.
Note:These are the common readings, not trading advice: no indicator is right every time, and most work better with others and with the trend.
Settings#
- Fast length: 12 (1 to 1000)
- Slow length: 26 (1 to 1000)
- Signal length: 9 (1 to 1000)
- Source: close
What it draws#
- Histogram (histogram)
- MACD (line)
- Signal (line)
Add it to a chart#
On the chart, open Indicators and search for “MACD”. Its settings open with a double-click on its line or its name in the legend, where the ? button leads back here. Alerts can watch any of its lines.
Open the chart · Every indicator
TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.