Noon Barbari
Sign up

Back to all indicators

macdCore indicator

MACD

Moving-average convergence/divergence — momentum + crosses.

What it is

Moving-average convergence/divergence — momentum + crosses.

The Moving Average Convergence Divergence (MACD), introduced by Gerald Appel in the 1970s, plots the difference between a fast and a slow EMA, then overlays an EMA of that difference as the signal line. The bar histogram shows the gap between MACD and signal.

The canonical parameters are 12 / 26 / 9: a 12-period fast EMA, a 26-period slow EMA, and a 9-period signal EMA on the difference. Trading reads: MACD crossing above signal = bullish, MACD crossing below signal = bearish, histogram expansion = strengthening trend.

MACD has no upper or lower bound, so it cannot be used for overbought/oversold reads the way RSI can. It is a trend-confirmation tool first, and a divergence tool second.

MACD = EMA(12) − EMA(26)
Signal = EMA(9, MACD)
Histogram = MACD − Signal

Read the full MACD definition in the glossary →

Live chart

BTC/USDT on Binance with this indicator pre-loaded. Powered by TradingView.

Chart by TradingView. Built-in study shown for illustration; the Noon Barbari engine computes its own values.

Parameters

ParameterDefaultRange
Fast122 – 200
Slow263 – 400
Signal91 – 100

Output fields

The named values this indicator exposes to your entry and exit rules.

linesignalhistogramfast EMAslow EMA

Related strategies

Ready-made, runnable templates that use this indicator. Open one to inspect or backtest it.

Backtest this indicator

Drop this indicator into a rule-set, run it over years of BTC/USDT data, and see whether the edge is real or just curve-fit — no credit card required.