What Is a Repainting Indicator? A 60-Second Test
A repainting indicator is one that changes its past signals after the fact, so an arrow or line that looks perfectly placed today may not have been there when that bar was actually forming. In plain terms, it redraws history. That matters because the clean, winning-looking chart you see now never happened in real time, and you would never have gotten those entries live. Repainting usually comes from indicators that peek at future data, wait for a bar to close before locking in, or pull higher-timeframe values that keep updating. It is one of the most common reasons a backtest looks amazing and then falls apart with real money. The fastest way to catch it: watch a signal form on the current, unclosed bar, then check whether it stays put after the bar closes.
A repainting indicator redraws its own past signals, so the backtest you saw never happened. How to catch one before you trade it.
Key points
- Repainting means the indicator quietly moves or deletes its own past signals, so the chart you see today is not the chart you would have actually traded live.
- It usually happens when an indicator peeks at future bars, only confirms a signal after a bar closes, or reads a higher timeframe that keeps updating until that candle finishes.
- The danger is simple: a repainting indicator makes every backtest look better than reality, because the losing entries got erased after they happened.
- The 60-second test is to pull up a live market, watch a signal appear on the current forming bar, then let that bar close and see if the signal is still in the exact same spot.
- Not all redrawing is cheating, since updating the current live bar is normal and honest; the real problem is only when a signal on an already-closed candle changes.
- The way to know your strategy holds up without the repainting trick is to run it through an honest backtest that only uses closed-bar data, like Agenticks Backtest Review.
Frequently asked questions
How do I know if a TradingView indicator repaints?
Add it to a live chart during market hours and watch a signal form on the current, still-moving bar. Then wait for that bar to close and check whether the signal stayed in the same place or jumped, vanished, or moved to a different candle. If it moved after the bar closed, it repaints. You can also compare a chart you just reloaded against one you left running to spot signals that quietly shifted.
Do all indicators repaint?
No. Many indicators only ever update the current, unfinished bar and never touch closed bars, which is completely normal. A moving average that wiggles as the live price moves is fine. Repainting specifically means a signal on an already-closed candle changes after the fact. That is the part that fools you, because closed bars are supposed to be locked history.
Why does repainting make a backtest a lie?
Because the backtest is scored on the redrawn history, not on what you actually could have traded. The indicator quietly erased its bad calls and kept its good ones, so the results look flawless. Live, you would have acted on signals that later disappeared. That gap is why a strategy that looks perfect on the chart can lose money the moment real cash is on the line.
What causes an indicator to repaint?
A few common things. Using future bar data inside the calculation. Confirming a signal only after the bar closes but plotting it back in time as if it appeared earlier. Pulling higher-timeframe data in a way that keeps updating until that candle finishes. And code that recalculates the whole history on every price tick instead of locking each closed bar.
How can I check if my strategy actually holds up without the repainting trick?
Run it through a backtest that only ever uses closed-bar data, then read the honest numbers instead of trusting the chart. In Agenticks you can open Backtest Review to see the equity curve, drawdown, and out-of-sample results computed on bars that were already locked, so a pretty repainting chart cannot flatter the outcome. If the real numbers still hold up there, you have something worth testing further.
Related on Agenticks
This content is for educational purposes only and does not constitute financial advice. Trading involves risk, including possible loss of capital.