Some indicators look almost magical on a finished chart: an arrow under every low, a signal before every turn. By the end of this lesson, you'll know what repainting is, and why some indicators draw their marks back in time or change them before a candle closes. You'll see how much that can flatter an old signal, and how to check any indicator yourself with bar replay.
1 of 7
What you'll learn
- Spot a repainting indicator. Its marks change after they are first drawn.
- Check where marks get drawn. An arrow can show up late but be drawn under the low.
- Wait for the candle to close. Signals from a forming candle can appear, then vanish.
- Keep hindsight in check. Turns look obvious later, and memory keeps the winners.
- Test from the first price after the mark. Use bar replay to see when each mark appears.
Exercise
- Add any indicator that marks A peak on the chart: a candle whose high is above the highs of the candles on both sides of it.More in the glossary and lows, or arrows, to a 5-minute MES1! chart on TradingView or any other platform.
- Start bar replay and step through ten marks.
- For each, write the candle it's drawn on, the candle it first appeared on, and the gap in ticks to the first possible entry.
Quick check
1. A swing-low arrow is drawn under a low but needs two higher lows after it. When can you first act on it?
2. Why can an arrow appear and then vanish?
3. In a test, where should an entry from a repainting mark go?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
A repainting indicator changes its marks after first drawing them, either by drawing them back in time or by using a One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary that hasn't closed. Old signals then look perfect, so Running a strategy’s exact rules over past prices to see which trades they would have taken.More in the glossary entries at the first price after a mark appears.
- When an indicator’s mark or value changes after it was first drawn, from reading a candle that hadn’t closed yet.More in the glossary is when an indicator's marks or values change after they were first drawn. TradingView's TradingView’s own programming language, used to write the indicators and strategies that run on its charts.More in the glossary guide describes it as a script behaving differently on past candles from how it behaves live.
- Marks drawn back in time: a made-up swing-low arrow needs two higher lows after the low, so it appears two candles late but is drawn under the low. The first possible entry, 5,001.50, is 5.5 points (22 The smallest step a price can move. On many stock index futures that’s 0.25 of a point.More in the glossary, $27.50 on one A small futures contract on the S&P 500, traded at CME Group. Each point is worth $5, and its smallest step of 0.25 is worth $1.25.More in the glossary) above the arrow at 4,996.00.
- Signals from a candle still forming: its high, low and close can change until it closes, so an arrow can appear and then vanish. A finished chart never shows the signals that vanished.
- Your eyes repaint too: Feeling that something was clear all along once you know how it turned out. On charts, it makes patterns look easier to spot than they were at the time.More in the glossary makes turns look obvious, and memory keeps the winners. See Drawing patterns without cheating.
- The check: in A chart feature that hides the candles after a point you choose, then shows them again one at a time, so you can practise on past prices without seeing ahead.More in the glossary, note when each mark first appears and the candle it's drawn on; read the script's description; test entries at the first price after the mark appears.
Worked example
Made-up numbersAn arrow drawn back in time
Made-up numbers · 5-minute candles · A dip on the chart: a candle whose low is below the lows of the candles on both sides of it.More in the glossary = a low with two higher lows on each side
- The low, 4,996.00, forms on the 10:10 candle
- The second higher low closes at 10:25, and the arrow appears under the 10:10 candle
- First possible entry: the next open, 5,001.50
- 5,001.50 − 4,996.00 = 5.5 points = 22 ticks = $27.50 on one Micro S&P 500
On a finished chart every arrow hides this gap. An honest test enters at 5,001.50, not 4,996.00.
Your turn
DrillMade-up numbers · swing-low arrow drawn at 4,990.00 · it appears after a candle closes at 4,996.25 · the next candle opens at 4,996.25
Trading is risky. You can lose money. Test results are hypothetical, and a good test doesn't mean future profits. This lesson explains how testing works. It isn't advice.