Skip to content
Wildflower
Join free
Not fooling yourself

Free Trading School · Level 4 · Course 4.3

Repainting indicators and hindsight

Lesson 5 of 18 in Not fooling yourselfModule 1: Biases that flatter a test

Testing and making it your own · Not fooling yourself

Repainting indicators and hindsight

Wildflower Trading School · Lesson 4.3.1.5

Wildflower

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

  1. Add any indicator that marks and lows, or arrows, to a 5-minute MES1! chart on TradingView or any other platform.
  2. Start bar replay and step through ten marks.
  3. 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.

Next: What overfitting is.

Quick check

  1. 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. 2. Why can an arrow appear and then vanish?

  3. 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

Make a free account and we'll remember where you are, so “What overfitting is” is waiting next time.

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 that hasn't closed. Old signals then look perfect, so entries at the first price after a mark appears.

  • is when an indicator's marks or values change after they were first drawn. TradingView's 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 , $27.50 on one ) 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: makes turns look obvious, and memory keeps the winners. See Drawing patterns without cheating.
  • The check: in , 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 numbers

An arrow drawn back in time

Made-up numbers · 5-minute candles · = a low with two higher lows on each side

  1. The low, 4,996.00, forms on the 10:10 candle
  2. The second higher low closes at 10:25, and the arrow appears under the 10:10 candle
  3. First possible entry: the next open, 5,001.50
  4. 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

Drill

Made-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.