Skip to content
Wildflower
Join free
The strategy library

Free Trading School · Level 3 · Course 3.2

Test it yourself: Keltner channel

Lesson 153 of 179 in The strategy libraryModule 28: Keltner channel

Strategies · The strategy library

Test it yourself: Keltner channel

Wildflower Trading School · Lesson 3.2.28.5

Wildflower

This is the hands-on lesson for the Keltner channel, and the last lesson of the strategy library. You'll replay the same 20 days with both rule sets, breakout and fade, and log every trade. By the end, you'll have one sheet that shows where each approach lost. TradingView is the example, and the screens are simple drawings, so yours will look a bit different. Other platforms have similar tools.

1 of 10

What you'll learn

  • Write both rule sets first. Add a number for when the middle line counts as flat.
  • Check every input. Match the Keltner settings in TradingView to your rule.
  • Run both on the same days. Replay 20 days in a row with both approaches.
  • Log each trade in R. Note whether the middle line was flat or sloping.
  • Sort the losses by slope. See where each approach lost.

Exercise

  1. Write both rule sheets and your definition of flat.
  2. Replay 20 trading days of 15-minute MES1!, logging every breakout and fade trade with its result in R and the middle line's slope.
  3. Then count where each approach lost.

Quick check

  1. 1. Why run both approaches on the same 20 days?

  2. 2. Most breakout losses came on flat days. What's the honest next step?

  3. 3. Which row records a trade under these rules?

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 “Build an opening range or London breakout” is waiting next time.

Read the full notes

To test a Keltner channel yourself, write breakout and fade rules plus a definition of a flat middle line, replay the same 20 trading days with both, log every trade with its result and slope, and count where each approach lost.

  • Write it first: MES1!, 15-minute, New York time, (20, 2, ATR 10), signals 9:30 am to 4 pm; both rule sets from Common rules: Keltner channel; flat means the middle line moved less than 3 points over the 10 candles before the signal.
  • On TradingView: click Replay, then Select bar and Select date; add Keltner Channels from Indicators and check every input (Length, Multiplier, Source, Use Exponential MA, Bands Style, ATR Length); click Forward one candle at a time. on each timeframe depends on your plan; other platforms have similar tools.
  • Log one row per trade, for both approaches: day, time, approach, entry, stop, exit, result in , and flat or sloping.
  • Run 20 trading days in a row, both approaches on every day, so they face the same market.
  • Sort the losses by slope to see where each approach lost. 20 days is a small before costs; Level 4 covers proper tests.

Worked example

Made-up numbers

Reading the finished sheet

Made-up numbers · 20 trading days · MES1! · 15-minute · before costs

  1. Breakout: 26 trades, 17 losses, 12 on flat days
  2. Fade: 34 trades, 15 losses, 11 on sloping days
  3. 12 ÷ 17 ≈ 71% · 11 ÷ 15 ≈ 73%

Each approach lost mostly on the kind of day that suits the other. That's an idea to test on new dates, not a result.

Your turn

Drill

Breakout: 17 losses · 12 of them on flat days

Read more

Opening bar replay, When a filter helps and when it overfits, and the trading guide Backtest sample size.

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.