Repainting
Repainting is when an indicator changes, moves or deletes a signal after it was shown — because it used the unclosed bar, future data or a higher timeframe without lookahead protection — so the historical chart looks better than the indicator performed live.

What it means
An indicator repaints when what it shows on historical bars differs from what it showed in real time. The usual causes: calculating on the developing bar so the signal appears and disappears as price moves; requesting higher-timeframe data with lookahead, which lets the current bar see the future; and pivot-based logic that plots at the pivot bar rather than at the bar where the pivot was confirmed.
Repainting makes backtests meaningless — the historical signals were never available when they seem to have been — and it is the most common way an indicator can look perfect on a screenshot and lose money in live trading. It is not always dishonest; many repainting scripts are simply careless.
The fix is confirmed-bar logic: evaluate signals only when a bar has closed, request higher-timeframe values with lookahead off, and plot pivot events at the confirmation bar. Every Quantum Algo script is built this way, which is why their historical signals match what they printed live.
How to identify it on a chart
- Use TradingView's bar replay and step forward; watch whether signals appear, move or vanish.
- Read the source: signals gated on `barstate.isconfirmed`, `request.security` with `lookahead_off`, pivots offset by the right-side length.
- Compare a screenshot taken live with the same chart a day later.
Worked example
A "buy/sell" script shows an arrow at every bottom in history. In bar replay, the arrow appears at 14:00, disappears at 14:20 when price dips, and reappears on a different candle at 15:00 — it repaints, and its track record is fiction.
See it on the chart, read it in depth
Frequently asked questions
Do all indicators repaint?
No. Indicators built on closed bars with lookahead off do not; only the values of the current unclosed bar update, which is expected behaviour.
Is the developing bar updating the same as repainting?
No. A value moving during the live bar and settling at close is normal; repainting is when a past, closed bar's signal changes.
How do I check a TradingView script for repainting?
Bar replay, then the source code for confirmed-bar gating and lookahead settings; our non-repaint guide gives the full checklist.
Do Quantum Algo indicators repaint?
No. Signals are evaluated on confirmed bars, HTF requests use lookahead off, and pivot-based drawings anchor to confirmed pivots.
Related terms
See Repainting on your TradingView chart
Zeno reads Smart Money structure across timeframes and prints the entry, stop and targets — with a public record of every posted trade. The free indicators draw the concepts this page defines.