Every moving average you've met trades smoothness for lag. John Ehlers, an engineer, borrowed filters from electronics that do better on both. This lesson covers six of them. The super smoother, the Butterworth and Gaussian filters, the decycler, the Laguerre filter and the instantaneous trendline. By the end, you'll know what their length means, how much they lag, and how Wildflower reads them.
1 of 9
What you'll learn
- Read a length as a swing. Know which swings a filter lets through.
- Compare the lag. See how far each line sits behind a steady climb.
- Weigh poles against lag. More poles is smoother, and later.
- Read the trendline's trigger. Know a cross means the trendline turned.
Exercise
- On the 5-minute practice chart in Wildflower, or any platform, find a steady climb.
- Add a 20-candle A moving average that gives the newest closes more weight, so it reacts sooner than a simple one of the same length.More in the glossary, and count how many points it sits below the close.
- Then, at the top, count how many 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 it takes to turn.
Practise this on Wildflower's free practice chart. It needs a free account.
Join waitlistQuick check
1. A 20-candle super smoother. Which swing comes through most?
2. What do more poles do to a Butterworth or Gaussian filter?
3. The trendline's trigger is below the trendline. What does that tell you?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
Six filters from John Ehlers smooth price with less lag than a moving average. Their length is the shortest swing, in candles, they let through. The super smoother, Butterworth and Gaussian filters, the decycler, the Laguerre filter and the instantaneous trendline are lines on price, read above, below or crossing, and rising, falling or turning.
- Six filters from John Ehlers, an engineer, smooth price with less An indicator built from past prices, so it changes after price has already moved.More in the glossary than a The average of the last few closing prices, worked out again on every candle and drawn as a line.More in the glossary (Why indicators lag). Their length is the shortest swing, in 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, they let through.
- A 20-candle John Ehlers’ smoothing filter for price. Its length is the shortest swing, in candles, it lets through, and it lags less than a moving average of the same length.More in the glossary lets through 97% of a 40-candle swing, 70% of a 20-candle swing and 24% of a 10-candle wiggle. A 20-candle A moving average that gives the newest closes more weight, so it reacts sooner than a simple one of the same length.More in the glossary lets through 54%, 30% and 16% (Exponential moving average).
- On a steady climb of 1 point a candle, a 20-candle simple or exponential average sits 9.5 points behind, a 20-candle super smoother 4.0.
- The A smoothing filter from electronics, used on price with 2 or 3 poles. More poles make it smoother and later to turn.More in the glossary takes 2 or 3 How many stages of smoothing a filter such as the Butterworth or Gaussian filter has. More poles cut quick wiggles harder, and add lag.More in the glossary: 4.5 points behind with 2, 6.4 with 3, which cuts a 10-candle wiggle to 11% instead of 22%. The A smoothing filter for price with 1 to 4 poles. More poles make it smoother and later to turn.More in the glossary takes 1 to 4: 2.7 behind with 1, 3.9 with 4. More poles is smoother, with more lag.
- The Ehlers’ line on price with its swings shorter than a length you choose taken out. It has one pole, so it behaves much like an exponential moving average.More in the glossary removes swings shorter than its length. It has one pole; a 60-candle decycler sits 9.5 behind, almost like a 20-candle exponential average.
- The A line on price from four smoothing stages of the candle’s middle, the same stages as the Laguerre RSI. Its damping, from 0 to 0.99, sets how smooth and slow it is.More in the glossary uses the four stages of the An RSI worked out between four stages of a smoothing filter, from 0 to 1. Its damping number sets how smooth and slow it is.More in the glossary (RSI variants) on the Halfway between a candle’s high and low: (high + low) ÷ 2. Some platforms call it hl2.More in the glossary. At damping 0 it weights the last four middles 1, 2, 2, 1: 5,000, 5,004, 5,008, 5,012 give 5,006. Damping 0.5 sits 5.5 behind, 0.8 sits 17.5.
- The Ehlers’ line on the middle of each candle, set by an alpha from 0.01 to 1. On a perfectly straight climb it sits on price. It has a trigger line.More in the glossary reads the median price, with alpha from 0.01 to 1. On a perfectly straight climb it sits on price. Its A second line drawn from an indicator’s own line, such as the line one or two candles before. When the two lines cross, the first line has turned.More in the glossary is 2 × the trendline − the trendline 2 candles ago: 5,020 and 5,014 give 5,026. The trigger is above the trendline whenever the trendline is higher than 2 candles ago.
- On the made-up chart, price topped on candle 41. The 20-candle exponential average was 8.8 points below the close and turned 10 candles later; the 20-candle super smoother was 3.8 below and turned 6 candles later.
- Wildflower asks all six the close above, below or crossing the line, and the line rising, falling or turning. All but the trendline can be a moving target. Each waits until its start has faded: 127 candles for a 20-candle super smoother.
Worked example
Made-up numbersThe instantaneous trendline's trigger
Made-up numbers · the trendline is at 5,020 · two candles ago it was at 5,014
- Double the trendline: 2 × 5,020 = 10,040
- Take away the trendline two candles ago: 10,040 − 5,014 = 5,026
The trigger is above the trendline, because the trendline is higher than two candles ago.
Your turn
DrillMade-up numbers · the instantaneous trendline is at 5,010 · two candles ago it was at 5,013
Trading is risky. You can lose money. This lesson explains how trading works. It isn't advice.