Skip to content
Wildflower
Join free
The strategy library

Free Trading School · Level 3 · Course 3.2

Test it yourself: gap fill

Lesson 72 of 179 in The strategy libraryModule 13: Gap fill

Strategies · The strategy library

Test it yourself: gap fill

Wildflower Trading School · Lesson 3.2.13.5

Wildflower

This is where the gap fill stops being an idea and becomes something you've measured yourself. Before testing trades, you'll measure what the trades depend on: how often gaps fill the same day, and how far price goes against you first. By the end of this lesson, you'll know how to find each gap in TradingView's replay, what to write down, and what to count after 30 gaps. Level 4 teaches testing properly. This is a first look.

1 of 9

What you'll learn

  • Write the method first. Set the gap, the minimum size and a start date.
  • Replay from 9:30. Draw a line at yesterday's close, then step forward.
  • Track the worst point. Note how far price went against you before the fill.
  • Log every session. Close, open, gap, news, fill time and move against.
  • Compare with your stop. Count fills that went past your stop first.

Exercise

  1. Write down your method and a start date.
  2. Replay each session from 9:30 on TradingView or any other platform, log one row per session, and keep going until 30 gaps count.
  3. Then count the fills, the middle and largest move against you, the groups, and what your stop would have done.

Next: The idea behind a London breakout.

Quick check

  1. 1. Why choose the start date before looking at any charts?

  2. 2. A gap up opened at 5,030.00. The highest price before the fill was 5,033.00. What was the move against a sell at the open?

  3. 3. Why count how many fills went further against you than your stop?

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 “The idea behind a London breakout” is waiting next time.

Read the full notes

To test a gap fill yourself, replay 30 gaps from the 9:30 open, log whether each filled by 4:00 pm and how far price went against you first, then compare that with the stop you would use.

  • This test measures what a gap fill trade depends on: how often gaps fill the same day, and how far price goes against you first. Example method: MES1!, 5-minute, New York time; gap from the 4:00 pm close (the 3:55 ) to the 9:30 open; count gaps of 4 or more until you have 30; a start date chosen before you look.
  • On TradingView: click Replay, then Select bar and Select date in the replay bar, and go to 9:30 on your first date (). What you can replay can depend on your plan; without it, use Go to and cover the right of the screen (Drawing patterns without cheating). Other platforms have similar tools.
  • Point at yesterday's 3:55 candle to read its close, draw a horizontal ray there, then click Forward once to see the 9:30 open. Check the for news before the open.
  • Step on one candle at a time, tracking the highest price since the open (the lowest for a gap down). When a candle reaches the line, the gap is filled; note the time. The move against you first is the ; if the fill candle made a new extreme, count it.
  • Log every session: date, close, open, gap, news, filled by 4:00 pm, time, move against. After 30 gaps, count the fills, the middle and largest move against, the groups (size, news), and how many fills went further against you than your first. Thirty gaps is a small . More: What is backtesting?

Worked example

Made-up numbers

Fill one row

Made-up numbers · Mon 2 Mar · close 5,012.50 · open 5,021.75

  1. Gap up 9.25 points: over the minimum, so it counts
  2. Highest price before the fill: 5,023.75
  3. Low reaches 5,012.25 at 10:40: filled
  4. Against first: 5,023.75 − 5,021.75 = 2.00 points

One row of 30. Days with gaps too small to count get a short row too.

Your turn

Drill

Made-up numbers · gap up · open 5,031.50 · highest price before the fill 5,036.25

Trading is risky. You can lose money. This lesson explains how a strategy is built and tested. It isn't advice, and it doesn't say the strategy works.