What Is a Repainting Indicator? How to Spot One on MT4 and MT5
EABuild Team · · 9 min read

On this page
- What a repainting indicator does on an MT4 or MT5 chart
- Why some MetaTrader indicators repaint
- How to spot a repainting indicator by watching a live chart
- Signs on the chart that deserve a closer look
- What a repainting indicator means for your choice of tool
- Setting up the repainting test on an MT4 demo chart
- Testing a signal indicator on a demo account this week
A repainting indicator is one that changes values or signals it has already drawn on the chart, so the history you see later is not what you saw at the time. This post explains why that happens in MetaTrader 4 and 5, which behaviours are normal and which are a warning, and how to test any indicator on a live chart.
What a repainting indicator does on an MT4 or MT5 chart
Every indicator recalculates as new price ticks arrive. The bar that is still forming (the current candle) always changes, and an indicator that moves with it is behaving normally. Repainting means something more: a value or arrow on a bar that has already closed is moved, redrawn or removed after the fact.
The effect is that the chart history looks cleaner than the live signals were. An arrow that appeared and vanished during the session is gone from the history, and the arrows that remain all sit at tidy turning points. If you judge the tool by scrolling back through the chart, you are judging a version of events that never existed in real time.
Repainting is not the same as lag
A lagging indicator reacts late but keeps what it printed. A repainting indicator may look quick in hindsight because it edits earlier data. The two problems are different, and a tool can have one, both or neither.
Why it matters when you trade from signals
An indicator does not place trades, so you act on what it shows. If an arrow you saw at 10:05 is gone at 10:30, you traded on information the chart later denied. If you study only the cleaned-up history, you also get a false picture of how the signals behaved when you could have acted on them.
Why some MetaTrader indicators repaint
Repainting usually comes from the way the calculation is built, not from a bug. Knowing the common causes helps you recognise them on screen.
Waiting for a future bar to confirm a point
Some indicators mark a swing high or low only once later bars have confirmed it. The standard Fractals indicator works this way: a fractal needs bars on both sides, so it appears a couple of bars after the turning point. That is delayed but honest, because once drawn it stays. Other tools mark a swing straight away, then move or delete the mark if price keeps going. That version repaints.
Swing and zigzag logic that revises the last leg
Zigzag-style indicators connect highs and lows with straight lines. The most recent line is provisional: it stretches until price reverses by enough to start a new leg, and the last point can move to a new extreme. Any tool that builds on swing points inherits this behaviour unless it waits for confirmation.
Signals that depend on the open candle
If a signal is calculated on the current candle and the candle has not closed, the condition can be true at one moment and false the next. The arrow appears, then disappears before the bar ends. Looking back, only the signals that happened to survive to the close are left.
Using data the indicator could not have had
The most serious case is a calculation that refers to bars ahead of the one being drawn. On a historical chart all those bars exist, so the indicator looks very accurate when you scroll back. On a live chart those bars do not exist yet, and the signals change or never appear. This is why a perfect-looking history is a reason to check, not a reason to trust.
How to spot a repainting indicator by watching a live chart
You cannot read the answer from a screenshot or from the history of a chart. You have to watch the indicator work forward in time. The steps below suit both platforms and use only tools every terminal has.
- Open a demo account chart on the symbol and timeframe you plan to use, and attach the indicator with its default inputs.
- Choose a lower timeframe if you want results sooner. On M5 you see a new closed bar every five minutes, so a morning is enough for many samples.
- Every time a signal appears, take a screenshot of the chart and note the time and the bar it sits on. Take a screenshot with your operating system tool or the platform's Save as Picture command.
- Let several bars close, then compare the live chart with each screenshot. Check whether the signal is still on the same bar, at the same price, with the same direction.
- Switch to another timeframe and back, or close and reopen the chart. The indicator recalculates its history. If earlier signals move or disappear after the reload, the history has been redrawn.
- Repeat across more than one session, including a period of fast movement. A tool can look steady in a quiet market and change under pressure.
What to write down
Keep a short note for each signal: the time, the bar, the price and whether it survived. After a few dozen entries the pattern is plain. Signals that stay where they were drawn are what you want. Signals that shift or vanish tell you not to rely on the history.
Signs on the chart that deserve a closer look
Some clues show up before you run any test. None of them proves repainting, but each is a reason to test before relying on the tool.
- The history shows arrows at almost every turning point and rarely in the wrong place.
- An alert sounds, but the arrow is missing when you look at the chart a few minutes later.
- The last swing line or level keeps moving while price is still active.
- Signals look different after you change the timeframe, restart the terminal or load more history.
- Promotional images show only past charts and never a recording of the indicator running forward.
The opposite is also worth noting. A tool that prints signals late, after a bar has closed and the condition is final, may look less impressive in hindsight, but its history is the history you would have traded on.
What a repainting indicator means for your choice of tool
Repainting does not make an indicator useless, but it changes how you should use it. A swing-marking tool that revises its last leg can still help you see structure, as long as you do not treat each new point as a finished signal. What it cannot do is serve as the basis for judging how signals would have performed, because the history was edited.
For a signal indicator, the practical questions are simple. Does the signal appear on a closed bar or on the open one? Is it still there when the bar closes? Does it survive a timeframe switch? These questions matter more than how neat the chart looks. If you want a broader view of what indicators can and cannot tell you, the MetaTrader indicators guide compares the main families and their limits.
Two MT4 indicators to run through the same test
The shop lists two MetaTrader 4 chart indicators that you can put through the steps above. Their listings describe what the signals are designed around, and say nothing about whether the indicator repaints, so run the live test on both before you rely on either.
PipFinite Trend PRO Indicator for MT4 is listed for the H1 timeframe, with signal types given as trend, news trading and breakout. The package is one compiled indicator file, and the listing gives MetaTrader 4 build 1471 or higher. Signals near economic releases arrive when spreads can widen, so include a news period in your watching.
Scalper Inside PRO Indicator for MT4 is listed for US30 on M5, with a scalping signal type, also as one compiled file. M5 is a convenient timeframe for this test because bars close every five minutes, but remember that scalping depends on spread and execution, which differ between brokers.
Both are digital downloads and are also included in the membership, which gives access to every product in the catalogue. Neither listing states results, so your own testing is the only evidence you will have.
Setting up the repainting test on an MT4 demo chart
If this is your first time loading an indicator, put the compiled file in the platform's Indicators folder before you start. In MetaTrader 4, choose File, then Open Data Folder, open MQL4 and then Indicators, and copy the file there. Refresh the Navigator panel and drag the indicator onto the chart. Our guide to installing an EA or indicator on MT4 covers the steps in more detail, and you can find out more about the MetaTrader 4 platform.
Use a demo account so that the test costs nothing, and leave the default inputs alone for the first session. Changing inputs mid-test makes it hard to tell whether a signal moved because of repainting or because of your edit. Once you know how the default version behaves, change one input at a time and repeat the comparison.
MetaTrader 5 works the same way, apart from the folder name: indicators go in MQL5 and then Indicators. A compiled MT4 file does not load in MT5, so check the platform stated in the listing before you download.
Testing a signal indicator on a demo account this week
Pick one indicator you are curious about and one symbol. Attach it to a demo chart, take a screenshot of every signal for a few sessions, and compare each against the chart after the bars have closed. Write down which signals stayed and which moved.
If the signals hold, you have learned something real about how the tool behaves, and you can decide how it fits your own entry and exit rules. If they change, you have saved yourself from relying on a history that looked better than it was. You can browse listings by platform, symbol and timeframe in the indicator catalogue and put your choice through the same test.
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.
Tags: MetaTrader Indicators, Technical Analysis, Strategy Testing
