Repainting is a defect that is easy to hide. An indicator repaints when it changes something it already drew — a level moves, a signal appears on a bar that has closed, a zone that was there yesterday is not there today. A backtest can then look better than the tool ever traded, because the past has been edited to agree with what happened next.
You do not need source code to look for it. A few screenshots and a controlled comparison will show a discrepancy if there is one on the run you watch.
What repainting actually is
There are three distinct behaviours that get lumped under one word, and they are not equally bad.
Recalculation on the forming bar is normal and unavoidable. The current bar has no final high, low or close until it closes, so anything derived from it moves. This is not a defect. It becomes one only when a tool presents a live-bar value as though it were settled.
Retroactive placement is the real problem. The tool waits until a move has happened, then draws its marker back at the bar where the move started. On a historical chart this looks like prescience. In live trading the marker simply is not there when you need it — it appears afterwards, on a bar that has already gone. A tool that documents a confirmation delay and marks the bar where confirmation happened is not doing this; the problem is a marker moved back in time without saying so.
Silent deletion is the same offence in reverse: levels that failed are removed from history, so the chart only ever shows the ones that worked. Nothing on screen is false. The chart is still a lie, because the survivors are the only thing you are being shown.
The screenshot test
This takes a few minutes and catches retroactive placement on the run you watched. One clean run clears that run on that data; it does not vouch for every future bar.
- Open a chart on a timeframe that closes often — one minute is ideal.
- Screenshot the visible chart, including the last twenty bars.
- Wait for ten or fifteen bars to close.
- Screenshot again, and compare the region that both images cover.
Anything that is present in the second image but absent from the first, at a bar that had already closed when the first was taken, was placed retroactively. Anything present in the first and gone from the second was deleted. Either one is a discrepancy to explain: check the tool's documentation for a stated confirmation rule before calling it a defect.
Do this during an active session. Quiet markets generate few events, and a tool can look impeccable for an hour simply because nothing happened.
The reload test
The second test catches a subtler class of defect: state that depends on how much history was loaded rather than on the market.
Note what is on your chart. Now change the loaded history — from one month to three, or reload the chart entirely — and look again at the same date range you noted.
It should be identical. If levels appear, vanish or move because more bars were loaded, the tool is deriving its decisions from where its data happens to start. That is not a market signal. It is an artefact of your data window, and it can differ between machines that load different history. Some calculations genuinely need warm-up bars, so compare a range well after the start of both loads.
This one is worth doing carefully, because it is the failure that survives the screenshot test. A tool can be perfectly well behaved bar to bar and still produce a completely different chart for a customer who loads a different amount of history.
The replay test
If your platform has a bar replay, the third test is the strongest, provided the replay sees the same data, settings and confirmation times as the live chart did. Replay a session you have already seen live, and compare what the tool draws in replay against what it drew at the time.
Divergence between them is the whole question, stated exactly. A tool that draws one chart in replay and a different chart live, on the same inputs, is telling you that its historical behaviour is not its live behaviour — which is the only reason anyone cares about repainting in the first place.
What good looks like
A tool that does not repaint has a specific, dull property: watching it live is boring. Levels arrive late — after the bar that justified them has closed — and then they never move. There is no moment of a marker appearing at a beautiful entry three bars back. That moment looks good on a historical chart, and it is not available to anyone trading live.
Every level, block and signal decided on a bar that has already closed. A level you saw at 10:04 is at the same price at the close.
That is the standard we build to: decisions on closed bars, with any confirmation delay stated. Being late and correct is a product decision.
Test the tools you already own, ours included. A tool that fails was not necessarily built dishonestly; often nobody ran the second test.
A test like this demonstrates a discrepancy when there is one; it cannot prove that a tool will never repaint. Run it on the same build, data and settings you trade with, and repeat it when any of those change.