Last time, you met median filters, Reflex, Trendflex and the universal oscillator. This lesson has three more of John Ehlers' indicators. By the end, you'll know how each is built, and what this version does differently.
1 of 11
What you'll learn
- The bandpass line. Only the swings near your length, in price.
- The Voss line. Runs a few candles ahead of the bandpass, never of price.
- The angle. Where the market sits in a wave as long as your length.
- The market state. 1 or minus 1 when the angle barely moves, 0 when it does.
- This version. The angle holds still for up to twice your length.
Exercise
- On any chart, find a stretch where price swings up and down evenly.
- Count the candles from one top to the next, a few times.
- Then find a steady trend and see whether those swings are still there.
Practise this on Wildflower's free practice chart. It needs a free account.
Join waitlistQuick check
1. Does the Voss line read future candles?
2. With a length of 20, how far does the angle move each candle on a steady wave?
3. The angle moved 5 degrees since the last candle and is now minus 25. What is the market state?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
Two more of John Ehlers' tools. The Voss filter has a bandpass line that keeps only swings near your length, and a Voss line built to run a few candles ahead of it, without reading future candles. The correlation cycle angle shows where the market is in a wave as long as your length, and the market state reads 1 or minus 1 when the angle barely moves, and 0 when it does.
- Three more of John Ehlers' indicators, each written out from the code he published with it. They build on the swing finders in finding the market's swing.
- The A filter that keeps only the swings near one length, taking out both the slow drift and the fast wiggles. A smaller width keeps only swings very close to that length.More in the glossary takes the closes and keeps only the swings near your length, so both the slow drift and the fast wiggles are taken out. The width you choose, from 0.1 to 1, sets how near: a smaller width keeps only swings very close to your length. It is in price, so a level is typed in ticks.
- The John Ehlers’ line built from a bandpass and its own last values, so it runs a few candles ahead of that bandpass. It reads no future candles. It is in price, so its level is typed in ticks.More in the glossary is built from the bandpass and its own last values, so that it runs a few candles ahead of it. You choose how many candles ahead, from 1 to 10. With 1 ahead, it is 3 × the bandpass, less a third of the Voss line 3 candles ago, two thirds of it 2 candles ago and all of it 1 candle ago. With a bandpass of 4 and earlier Voss values of −3, 3 and 6, that's 12 − 7 = 5. It reads no future candles: it leads the bandpass, not price.
- On a made-up wave of 20 candles, with a length of 20, a width of 0.5 and 2 candles ahead, the bandpass swung 10 points either way, in step with the closes, and the Voss line swung to 11.6 and peaked 2 candles sooner.
- The Where the market sits in a wave as long as your length, from minus 180 to 180 degrees. In a swing it moves forward each candle. In a trend it gets stuck.More in the glossary checks how closely your last closes match a wave as long as your length, and the same wave a quarter turn on. From those two, it works out where in the wave the market is, from −180 to 180 degrees. On a steady wave it moves forward 360 ÷ length each candle, 18 degrees at 20, and wraps from 180 round to −180. The correlation trend matched closes against a straight line; this matches them against a wave.
- Ehlers' angle never moves back unless it wraps by 270 degrees or more. At 100, a new reading of 60 leaves it at 100. In a trend, it gets stuck. On a made-up climb of 2 points a candle, the angle stopped near 86 degrees.
- The 1 or minus 1 when the correlation cycle angle moved under 9 degrees since the last candle, which Ehlers reads as a trend up or down, and 0 otherwise.More in the glossary is 1 when the angle moved less than 9 degrees since the candle before and is 0 or above, −1 when it moved that little and is below 0, and 0 otherwise. From 40 to 45 degrees reads 1; from 40 to 58 reads 0; from −30 to −25 reads −1. Ehlers reads 1 and −1 as a trend, and 0 as a swinging market.
- His angle can stay stuck for as long as a trend lasts, so where it sits depends on when the chart started. Wildflower only lets it stay stuck for twice your length of candles, so a Bot that starts later reads the same angle. On the made-up climb, his stayed at 86 and Wildflower's eased back to 81, 40 candles after it stuck.
- The angle needs 3 × your length less 1 candle, 59 at 20, and the market state one more. The Voss filter feeds back on itself, so it waits until its start has faded to under a millionth, longer with a smaller width and more candles ahead: 260 candles at a length of 20, width 1 and 1 ahead; 457 at width 0.5 and 2 ahead; 1,903 at width 0.1 and 3 ahead. A condition exit reads 512 candles, so a Voss row that waits longer can't be an exit. Your strategy's copy draws all three on TradingView, NinjaTrader, MetaTrader 5, cTrader and Quantower.
Worked example
Made-up numbersThe Voss line, one candle at a time
Made-up numbers · 1 candle ahead
- With 1 candle ahead, the sum runs over 3 candles, and the bandpass is multiplied by 3
- The bandpass is 4, so that's 12
- The Voss line was −3, 3 and 6, three, two and one candles ago. A third, two thirds and all of them add up to −1 + 2 + 6 = 7
- The Voss line now is 12 − 7 = 5
The Voss line reads only the bandpass and its own past values, so it never reads a candle that hasn't closed.
Your turn
DrillMade-up numbers · 1 candle ahead
Trading is risky. You can lose money. This lesson explains how trading works. It isn't advice.