New: the Top 10 Non-Repainting MT4 Indicator Pack is free to download

98 free indicators for MetaTrader 4 & 5

Forex Articles

What Is a Repainting Indicator? Repainting vs Non-Repainting in MT4

What a repainting indicator is, why indicators repaint (future bars, ZigZag, MTF), how to test any MT4 indicator, and where to find non-repainting downloads.

A repainting indicator is one that changes the values or signals it already showed on closed bars after new price data arrives. An arrow that appeared on yesterday’s candle can move or disappear today. A non-repainting indicator keeps every closed bar’s value fixed; only the bar still forming can change.

Repainting matters because it makes an indicator look far better on a historical chart than it performs live. The past signals you see were drawn with information that was not available at the time. This guide explains what causes repainting, how to test any MT4 indicator for it, and how the indicators on this site are labeled.

What Is a Repainting Indicator?

Every indicator recalculates the current bar on each tick. That is normal: the candle is still forming, so its close, high and low keep moving, and any value built from them moves too. This is not repainting.

Repainting is when a bar that has already closed gets a different value or signal later. In practice it shows up as:

  • Buy and sell arrows that shift to a different candle, or vanish, after more bars print.
  • Swing points or trendlines that relocate to a new high or low.
  • Line or histogram colors that change on bars that closed hours ago.
  • A chart that looks different after you restart MT4 than it did while you watched it live.

There is also a milder version worth knowing about: signals that appear on the forming candle and then disappear before it closes. Closed-bar signals stay put, but if you act on the live candle you can act on a signal that never existed once the bar finished.

What Causes an Indicator to Repaint?

1. Referencing Future Bars

In MQL4, bars are usually indexed so that 0 is the current bar and higher numbers are older bars. If the code that calculates bar 10 reads bar 9 or bar 8, it is using bars that came after bar 10. On a historical chart that data exists, so the line looks smooth and well timed. Live, bar 10’s value cannot be final until those later bars close, so it keeps changing. Centered moving averages and some smoothed bands work this way.

2. Recalculating Closed Bars From Scratch

Some indicators rebuild their whole history on every tick using values that themselves keep updating. If a setting such as an average range is recalculated with the newest data and then applied back across old bars, past values shift. The NRTR indicator is an example: it recalculates its entire trailing line from scratch on each tick using a moving average-range value, so earlier dot positions can change once new bars form.

3. ZigZag and Fractal Confirmation

Swing-based tools cannot know a high is a swing high until price moves away from it. The newest ZigZag point keeps following price to new extremes until a reversal confirms it, and then it can jump to a different bar. This is built into how ZigZag works, and it is why ZigZag is best used to read structure after the fact.

On this site, the Auto Trend Lines & Channels indicator, the Gann Swings indicator and the Wolfe Waves Scanner all repaint for this reason: the most recent swing points can move until a reversal is confirmed.

Fractals are different in an important way. A standard fractal needs confirmed bars on both sides of the swing before it is drawn. An indicator can wait for that confirmation and never change a plotted value afterward. It will be late, but it will not repaint. The Supply and Demand indicator works this way: its zones come from fractal swing points, but they only plot once the fractal is confirmed, so its verdict is non-repainting.

4. Multi-Timeframe Lookups

Multi-timeframe (MTF) indicators show a higher timeframe’s value on a lower timeframe chart. While the higher timeframe bar is still open, every lower timeframe bar inside it keeps updating. On an M15 chart showing H4 data, up to 16 bars can change together until the H4 bar closes. The CCI MTF Oscillator and the 4 Time Frame Heiken Ashi indicator are marked as repainting for this kind of reason.

5. Signals on the Forming Candle

Some indicators test their signal conditions on the live candle with no wait for the close. Signals on closed candles are stable, but a live signal can appear and vanish. The Engulfing Pattern indicator and Bollinger Squeeze Advanced are labeled as repainting for this reason. The simple fix as a trader is to act only on signals from closed bars.

Repainting vs Non-Repainting: A Side-by-Side View

Repainting Non-repainting
Closed-bar values Can change later Fixed once the bar closes
Historical chart Can look better than live results Shows what you would have seen live
Backtesting signals Unreliable Usable
Typical examples ZigZag-style swings, MTF lookups, future-bar smoothing Standard moving averages, RSI, closed-bar pattern scanners
Best use Reading structure and context Entry and exit signals

Keep in mind that a non-repainting label is about honesty, not quality. A non-repainting indicator can still lag, give false signals in a range, or simply not suit your strategy. The label only tells you that what you see on past bars is what the indicator would have shown at the time, which makes your own testing meaningful.

A repainting indicator is not useless. ZigZag-style tools are good for marking market structure after the fact. The problem comes only when you treat their historical signals as tradable, or backtest them as if you could have taken those entries.

How to Test If an MT4 Indicator Repaints

Watch It Live

  1. Attach the indicator to a fast chart, such as M1 or M5, so new bars close quickly.
  2. Take a screenshot (right-click the chart and choose Save As Picture) or note the values of a few recent closed bars in the Data Window (Ctrl+D).
  3. Wait for 20 or 30 new bars, then compare. If any closed bar’s value, color or arrow changed, the indicator repaints.
  4. For extra certainty, remove and re-attach the indicator (or restart MT4) and compare again. A chart redrawn from history that differs from what you saw live is a clear sign.

Use the Strategy Tester in Visual Mode

The Strategy Tester (Ctrl+R) lets you replay history bar by bar, which is much faster than waiting live. Run a visual-mode test on the symbol and timeframe you trade with the indicator on the tester chart. In MT4 you can run any Expert Advisor, such as the bundled Moving Average example, in visual mode and drag the indicator onto the visual chart; in MT5 you can select an indicator directly in the tester. Pause, note where signals appear, step forward and see if they move. Then compare the finished tester chart with a normal chart of the same period.

Read the Code

If you have the .mq4 file, open it in MetaEditor. Warning signs include loops that read i-1 or i-2 (newer bars) when calculating bar i, objects deleted and redrawn across the whole chart on each new bar, calls to a higher timeframe without waiting for that bar to close, and signal checks on bar 0.

How mt4indicators.com Labels Repaint Status

Indicator pages on this site state a repaint verdict based on reading the source code, not on the indicator’s name or marketing. The check looks for the causes above: future-bar references, full-history recalculation, swing points that move, multi-timeframe lookups and signals on the forming candle. Each page explains the reason behind its verdict, including when only the current bar changes.

Tools that only display information, such as a spread readout or session boxes, have no signals to repaint, and their pages say so instead of forcing a label. Where a check is not finished, the page shows the status as pending rather than guessing. You can browse only the indicators verified as non-repainting in the non-repainting MT4 and MT5 indicators archive. Examples include the Pin Bar indicator, which only tests fully closed candles, and the FRAMA indicator, which uses only the current and older bars.

For a shortlist of non-repainting tools grouped by job, see our best MT4 indicators guide, or download ten of them together in the free non-repainting MT4 indicator pack.

Bottom Line

Judge an indicator by what it showed in real time, not by how clean its history looks. Check closed bars, test in visual mode, and act only on closed-bar signals. Whatever an indicator’s label, trading on margin carries a high level of risk, so demo-test any new tool before using it with real money.

Frequently asked questions

What does repainting mean in forex indicators?

Repainting means an indicator changes values or signals on bars that have already closed once new price data arrives. Arrows can move or vanish and lines can redraw. It makes the indicator look more accurate on past charts than it is in live trading.

How do I know if an MT4 indicator repaints?

Attach it to an M1 or M5 chart, record the values of recent closed bars with a screenshot or the Data Window, and compare after 20 or 30 new bars. If any closed bar changed, it repaints. You can test faster by replaying history in the Strategy Tester's visual mode.

Is a non-repainting indicator better?

For entry and exit signals and for backtesting, yes, because what you see on history is what you would have seen live. Repainting tools such as ZigZag can still be useful for reading market structure, as long as you do not treat their past signals as tradable.

Does the ZigZag indicator repaint?

Yes, on its most recent leg. The last ZigZag point keeps following price to new highs or lows until a reversal confirms the swing, so it can move to a different bar. Earlier, confirmed swing points normally stay fixed.

Do multi-timeframe indicators repaint?

Usually, yes, while the higher timeframe bar is open. Every lower timeframe bar inside that higher timeframe bar keeps updating until it closes, so recent values change. Wait for the higher timeframe bar to close before acting on a signal.

Where can I find non-repainting MT4 indicators?

This site's non-repainting archive lists every MT4 and MT5 indicator whose source code was checked and found not to repaint. Each download page also explains the reason behind its verdict.

Risk warning. Indicators and strategies are analysis tools, not guarantees. Forex trading on margin carries a high risk of loss. Test any strategy on a demo account before trading real money.

In this guide
    Free packTop 10 Non-Repainting Indicator Pack