INDICATORS · SUPERTREND

Supertrend in Crypto: Why the Value Changes Before Candle Close

Supertrend flips between an upper and lower ATR band when price closes across it. Intrabar, the line can look flipped while the bar is still open.

Short answer

Supertrend uses bands at (high + low) ÷ 2 ± multiplier × ATR, with a ratchet: in an uptrend the lower band can only rise, in a downtrend the upper band can only fall. It flips when price closes beyond the active band. On the live bar, price crossing the band makes the indicator display a flip that disappears if price returns before the close; the live bar's high, low and ATR also move the band. Act on closed-bar flips.

Which part of Supertrend uses the live bar

ComponentUses current bar?Effect intrabar
Midpoint (H+L)/2YesMoves with extremes
ATRYesDrifts up
Active bandYesRatchets
FlipYes, until closeCan reverse

Because the band uses the live bar's high and low, a big wick can move the band itself while price is crossing it.

See Supertrend in Crypto on live data in the free ChartsPod terminal.

Open the ChartsPod terminal

How much it moves inside one bar

Supertrend during one bar (illustrative)Supertrend during one bar (illustrative): OPEN: Uptrend, band 59,200; MID: Price 59,100: shows flip; LATE: Price 59,500; CLOSE: No flip.OPENUptrend, band 59,200MIDPrice 59,100: shows flipLATEPrice 59,500CLOSENo flip
Only Supertrend's closing value is kept in history. Original ChartsPod editorial graphic.
Illustrative intrabar range of Supertrend vs its closed valueIllustrative intrabar range of Supertrend vs its closed value: Intrabar flips shown (example day) 5 ; Closed-bar flips 1 .ILLUSTRATIVE INTRABAR RANGE OF SUPERTREND VS ITS CLOSED VALUEIntrabar flips shown (exampleday)5Closed-bar flips1
How far Supertrend travels inside a bar versus between bars. Original ChartsPod editorial graphic.

Rules

Supertrend signal hygieneSupertrend signal hygiene: Signals on closed bars; Bar-close alerts; Backtest uses the same rule; Live value labelled provisional; Settings identical across chart and alerts.SUPERTREND SIGNAL HYGIENESignals on closed barsBar-close alertsBacktest uses the same ruleLive value labelled provisionalSettings identical across chart and alerts
Closed values are what history shows. Original ChartsPod editorial graphic.

Supertrend flips on closed bars match what history shows.

Test Supertrend in Crypto on a perpetual chart; no account is needed to chart.

Launch ChartsPod

Questions readers ask

Why did Supertrend flip and unflip?

Price crossed the band intrabar and returned.

Does the band ratchet?

Yes, in the trend's direction.

Closed bars?

Yes.

Sources and methodology

Indicator formulas are standard definitions; live-versus-closed behaviour follows TradingView's repainting documentation. Values in examples are illustrative.

  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.