Skip to content
Wildflower
Join free
The strategy library

Free Trading School · Level 3 · Course 3.2

The idea of a trend filter

Lesson 126 of 179 in The strategy libraryModule 24: ADX trend filter

Strategies · The strategy library

The idea of a trend filter

Wildflower Trading School · Lesson 3.2.24.1

Wildflower

This lesson starts a new module of the strategy library: the ADX trend filter. It isn't a strategy on its own. It's a switch you put in front of a trend strategy, to decide when that strategy is allowed to trade. By the end of this lesson, you'll know why trend strategies need a switch like this, and what the ADX measures. You'll also see what it looks like when the switch is on and off.

1 of 6

What you'll learn

  • Use a trend filter. It's a switch that lets a trend strategy trade only in trends.
  • Read the ADX. It shows how steadily price moved one way, from 0 to 100.
  • Find direction elsewhere. The ADX rises in falls too. The +DI and -DI lines give direction.
  • Set a level. Trade only when the ADX is above it, such as 25.
  • Expect a slow start. The filter can miss the start of a trend.

Exercise

  1. Add the ADX (length 14) to a 15-minute MES1! chart.
  2. Over a week, note its readings on three mostly sideways days and three days that moved steadily one way.

Quick check

  1. 1. Price falls steadily all day. What does the ADX do?

  2. 2. What does a trend filter do?

  3. 3. Which lines show direction?

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 “Choosing an ADX level” is waiting next time.

Read the full notes

A trend filter is a switch in front of a trend strategy. With the ADX, the strategy may only trade when the ADX is above a level you choose, such as 25, and stands aside below it.

  • Trend strategies, such as the moving average crossover, get in sideways markets. A tries to switch them off there.
  • The (average directional index) measures how steadily price has been moving one way, from 0 to 100. It was introduced by J. Welles Wilder in 1978.
  • It rises in a steady climb and in a steady fall. It says nothing about direction; the lines do.
  • As a filter: the strategy may trade only when the ADX is above a level, such as 25. Below it, the market's treated as sideways.
  • In the example, the filter blocked five crosses in a sideways stretch, but also the cross at the start of the climb, because the ADX hadn't caught up.

Worked example

Made-up numbers

The switch, on a chart

Made-up numbers · 15-minute · 9 and 21 · ADX 14 · level 25

  1. Sideways stretch: the ADX sits around 15; crosses 1 to 5 are blocked
  2. The climb: the ADX passes 60; crosses 6 and 7 are allowed
  3. Cross 5, at the start of the climb, was blocked too

The filter stood aside in the chop, and missed the start of the trend.

Your turn

Drill

ADX filter level: 25 · four crosses with ADX readings of 15.4, 45.2, 19.6 and 35.1

Read more

When it struggles: moving average crossover, Trend, range or in between, and the trading guides ADX indicator and Market regimes.

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.