Trading Guide

What Is a Non-Repainting Indicator and Why It Matters

Alpha Algo Trading · Updated 28 November 2026 · 5 min read

Short answer

A non-repainting indicator is one whose signals, once confirmed on a closed candle, never move, change or disappear later. A repainting indicator rewrites its past signals as new price data arrives, so its history looks far better than anything you could actually have traded in real time. If you judge an indicator by its chart history, it must be non-repainting — otherwise you are judging a picture of hindsight.

What "repainting" actually means

Every indicator on TradingView is a calculation run on price data. Repainting happens when that calculation produces a different answer for a past bar than it did while that bar was live. On the chart, it looks like a buy arrow that appeared at the exact bottom of a move, even though, in real time, no arrow was there — or an arrow that appeared, then vanished when price turned against it.

Repainting is not always dishonest. Some tools are designed to redraw (for example, zig-zag lines and some pivot tools that need future bars to confirm a swing). The problem starts when a repainting tool is sold or used as a source of entry signals, because its history cannot be traded.

The three most common causes of repainting

1. Signals calculated on the live, unclosed candle

While a candle is still forming, its close is just the current price. An indicator that fires on the live bar can show a signal at 10:14 and remove it at 10:15 when the candle closes differently. This is the most common form, and it is why serious traders act only on closed-candle signals.

2. Looking into the future

Some scripts use functions that reference bars to the right of the current one, or confirm a swing high only after several later bars have printed — and then draw the signal back on the original bar. The arrow is placed at the perfect point, but it could only be drawn after the fact.

3. Higher-timeframe data requested incorrectly

Multi-timeframe indicators pull data from a higher timeframe (for example a 4-hour trend shown on a 15-minute chart). If that request is not written carefully, the indicator uses the 4-hour candle's final value on every 15-minute bar inside it — information that did not exist yet in real time.

Why non-repainting matters for your trading

  • Honest backtests. Scrolling back through a repainting indicator shows a near-perfect record. A non-repainting one shows the wins and the losses you really would have seen.
  • Reliable alerts. TradingView alerts fire in real time. If the indicator repaints, an alert can fire for a signal that later disappears from the chart, leaving you in a trade with no setup behind it.
  • Consistent rules. You can only build a trading plan on signals that behave the same way in the past as they do live.
  • Psychology. Watching signals appear and disappear destroys confidence and leads to second-guessing and over-trading.

How to test any indicator for repainting on TradingView

You do not need to read the code to check. Use these practical tests:

  1. Bar Replay. Open the chart, click Replay, pick a date in the past and play the bars forward one at a time. Note every signal at the moment it prints. When you reach the present, compare your notes with the chart. Any signal that moved or vanished is repainting.
  2. Live screenshot test. On a 1-minute or 5-minute chart, take a screenshot after each signal. Compare the screenshots with the same area of the chart an hour later.
  3. Alert log check. Create alerts for the indicator, let them run for a few sessions, then compare the alert log timestamps with the signals still on the chart.
  4. Refresh test. Reload the chart. Signals that shift position after a refresh are calculated from data that changed.

Even a non-repainting indicator updates on the candle that is still forming. That is normal. The rule is simple: treat a signal as confirmed only after its candle has closed.

How the AAT Indicator handles repainting

The Alpha Algo Trading (AAT) Indicator is built so that buy, sell and exit signals confirm on candle close. Once a candle has closed with a signal, that signal stays where it is. The engine also includes anti-repaint logic designed specifically to avoid signals that appear and then disappear.

Like every indicator, the most recent forming candle can still update until it closes. We recommend acting only on confirmed, closed-candle signals — and we encourage you to verify this yourself with Bar Replay. You can read more about the signal logic on How It Works.

Non-repainting is necessary, not sufficient

A non-repainting indicator tells you the truth about its past. It does not guarantee that the past will repeat. You still need position sizing, a stop-loss on every trade and the discipline to skip low-quality setups. Our guide on ATR stop-loss and multiple take-profit targets covers the risk side in detail.

If you want to try a non-repainting indicator built around these principles, see the AAT Indicator plans.

Frequently Asked Questions

Q.Do all indicators repaint?

No. Most standard indicators such as moving averages, RSI and MACD do not repaint once a candle closes; they only change while the current candle is forming. Repainting usually comes from tools that confirm signals using future bars or incorrectly requested higher-timeframe data.

Q.Is an indicator that changes on the live candle repainting?

Not in the harmful sense. Values on the forming candle always change because price is still moving. An indicator is repainting when it changes signals on candles that have already closed.

Q.How can I check whether an indicator repaints?

Use TradingView's Bar Replay to play the chart forward bar by bar and note every signal as it appears, then compare with the finished chart. Comparing screenshots or the alert log with the chart works too.

Q.Does a non-repainting indicator guarantee profits?

No. Non-repainting means the signal history is honest; it does not mean every signal wins. Trading always involves risk, and you should use a stop-loss and proper position sizing.

Q.Does the AAT Indicator repaint?

AAT Indicator signals are designed to confirm on candle close and do not change after that candle has closed. The live, forming candle can update until it closes, so act only on confirmed signals.

Ready to try it on your own charts?

The AAT Indicator gives non-repainting signals, a 6-EMA trend ribbon, multi-timeframe trend, ATR stop-loss and up to six targets on TradingView.

More guides