Oisigma/Blog
Research & notes

How to Tell If an Indicator Repaints in Real Time

An indicator repaints when a value already shown for a closed bar later changes. The test is to record values on closed bars and check whether they are identical after more bars arrive. An indicator that moves only while the current bar is still forming is behaving like live price, not rewriting history.

What is the basic check?

Note the indicator's value, line position or marker on a recently closed bar. Wait for one or more new bars to close, then look at the same bar again. If anything about it has changed, history was rewritten. Reloading the chart and comparing is the same test run faster. A screenshot taken at the time is the cleanest record.

What else can be compared?

Three further comparisons catch most cases:

Comparison What a change suggests
Live view vs. later view of the same closed bar The indicator revises closed bars
Live view vs. bar-replay view Values depend on bars that had not yet closed
Markers that sit exactly at turning points on history only Possible look-ahead in the calculation

A change of settings recomputes the whole chart. That is a new calculation, not repainting.

Why does it matter?

A repainted history looks more accurate than the live indicator ever was, so any result measured on it flatters the tool. Repainting is separate from whether a tool is calibrated, which is a different test described in how to backtest a band indicator and how to compare band indicators.

How does the Behavioral Transform Model fit this check?

Closed bars on the Behavioral Transform Model do not change, and the band for each bar is built from information available at the prior close only. The live bar's marker can update until it closes. The repaint article has the details, and why Oisigma publishes its methodology explains why the construction is open to this kind of check.

What does a clean result not show?

Passing the repaint check does not show that an indicator is accurate, calibrated, or profitable. It only shows the history is honest. The paper validates calibration, not the profitability of any use.

Frequently asked questions

Is a repainting indicator always a problem?

Not by definition. Many indicators legitimately update on the live bar. The concern is closed-bar history being rewritten, especially when a backtest or screenshot was taken from the rewritten version.

‍

Can alerts repaint?

An alert evaluated while a bar is forming can fire on a value that later changes, while one evaluated at the bar close cannot. The alerts article describes the notification layer.

‍

Does a closed-bar-only indicator lag?

It uses completed data, so it cannot react before a bar closes. That is the trade for stable history; why closing prices matter covers it.

‍

Details are in the working paper. The 30-day free trial lets you run this check on your own charts: start free, cancel anytime.

‍

Now, your charts

Curious how this looks on your charts?

Try it free for 30 days and see the range update as new bars print, on whatever symbols and timeframes you actually trade.

Start your free trial
Complete checkout
Read the paper

30 days free, then $15/mo. Cancel anytime from your account.

Pick up where you left off.