INDICATORS · MACD

MACD Crossover Before Candle Close: Why the Signal Can Vanish

A MACD crossover visible mid-candle can uncross before the close. Acting on it means acting on a signal that may never be confirmed.

Short answer

MACD uses the current bar's close in its moving averages; until the bar closes, that 'close' is the latest price and keeps changing. A crossover seen intrabar can therefore vanish by the close. TradingView's repainting documentation describes this real-time vs historical difference. For signals, use closed-bar crossovers; if you want earlier entries, accept and measure the higher rate of false signals rather than assuming intrabar crossovers are as reliable as closed ones.

Why it vanishes

A crossover that vanished (illustrative, 1h)A crossover that vanished (illustrative, 1h): 10:20: Price spikes; MACD crosses up; 10:40: Price fades; 11:00 CLOSE: MACD below signal again; RESULT: No crossover on closed bar.10:20Price spikes; MACD crosses up10:40Price fades11:00 CLOSEMACD below signal againRESULTNo crossover on closed bar
Historical charts never show the 10:20 crossover. Original ChartsPod editorial graphic.

Measure the false-signal rate

RuleSignalsSurvive to close
Act on intrabar cross12078 (65%)
Act on closed-bar cross7878 (100%)
Illustrative: crossovers that survive to close (%)Illustrative: crossovers that survive to close (%): Intrabar 65 %; Closed bar 100 %.ILLUSTRATIVE: CROSSOVERS THAT SURVIVE TO CLOSE (%)Intrabar65 %Closed bar100 %
Earlier entries cost reliability. Original ChartsPod editorial graphic.

Rules

MACD signal rulesMACD signal rules: Signals on closed bars only; Alerts set to bar close; Backtest with closed-bar logic; If using intrabar, measure false rate; Same settings in alert and chart.MACD SIGNAL RULESSignals on closed bars onlyAlerts set to bar closeBacktest with closed-bar logicIf using intrabar, measure false rateSame settings in alert and chart
Historical backtests show only closed crossovers. Original ChartsPod editorial graphic.

Related: RSI in Crypto: Why the Value Changes Before Candle Close, TradingView Crypto Price Alerts: Crossing vs Once-per-Bar Close, ChartsPod Alerts: Bar Close vs Intrabar Triggering.

When early signals can make sense

Some traders accept intrabar crossovers to enter earlier, using tight invalidation if the bar closes without the crossover. That can be reasonable if measured: count how often intrabar crossovers survive to the close on your market and timeframe, and compare the average result of early entries with closed-bar entries after costs. If early entries win more on average despite false starts, the trade-off may be worth it; if not, wait for the close.

Whatever you choose, make the backtest match. Historical data shows only closed crossovers, so a backtest cannot evaluate an intrabar-entry rule unless you simulate intrabar values with lower-timeframe data.

Conclusion

Use closed-bar MACD crossovers for signals, and treat intrabar crossovers as provisional.

Set a bar-close alert for a MACD crossover.

Open BTC/USDT in ChartsPod

Compare MACD Crossover Before Candle Close across Binance, Bybit, OKX and Hyperliquid markets.

Open markets in ChartsPod

Questions readers ask

Why did my MACD signal disappear?

It was intrabar; the bar closed without the crossover.

Does MACD repaint?

Its live value changes until the bar closes; closed values don't change.

Should alerts use bar close?

For MACD crossovers, yes, unless you accept false signals.

Sources and methodology

Indicator definitions follow standard formulas and TradingView's documentation on VWAP, volume profile, repainting and non-standard charts; ChartsPod's indicator reference was checked on 17 October 2026. Examples use illustrative numbers.

  1. TradingView Pine Script: Repainting — live vs historical calculation.
  2. ChartsPod indicator reference — indicator calculations.

This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.

CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.