This lesson works towards your own indicator strategy: a signal and a filter you chose from Studio's indicators, every number yours, checked trade by trade, and drawn on your own chart platform. Today is lines three and six: a Reflex filter, and the wait, as a filter and as an exit.
1 of 9
What you'll learn
- Reflex 20 needs 427 candles, about 36 hours of 5-minute candles.
- A filter row has to fit the 30 day warmup.
- An exit row has to fit 512 candles. Reflex can't from about length 42.
- Longer was slower and won less here. 10, 20, 40 took 15, 11 and 8.
Exercise
- Open your strategy in Strategies and press Change a rule. Open the Filter step and change Which indicator to Reflex (Ehlers), Its value above the stated level, level 0.
- Click into Length, press Help me choose, and run 10, 20 and 40 under Try a few.
- Write line 6 with your slowest row: 386, 427 or 509 for Reflex, 203 for an EMA 200.
- On the Stop management step, turn on Close the trade when your conditions hold and put a Reflex row under Conditions that close a long, with Its value below the stated level 0.
- Type 50 in that row's length and press Save. Studio refuses it and says why. Type 40 and it's accepted.
- Help article Ehlers' recursive median, Reflex, Trendflex and universal oscillator in Studio
- Help article Warmup: the history a strategy reads before it starts
- Help article Help me choose a setting
Quick check
1. Reflex 40 needs 509 candles. Can it be an exit?
2. Which Reflex length is too long for an exit?
3. As a filter, which Reflex lengths fit the 30 day warmup?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
John Ehlers' Reflex is a zero-lag swing line: above 0 in an upswing, below 0 in a downswing. Like his other filters it needs many candles to settle: 386 at length 10, 427 at 20 and 509 at 40. A filter row only has to fit the 30 day warmup. An exit is stricter: the condition exit, Close the trade when your conditions hold, reads only the last 512 closed candles, so Reflex can't be an exit from about length 42. In Wildflower, press Change a rule, open the Filter step, change Which indicator to Reflex (Ehlers), pick Its value above the stated level, 0, and try a few lengths.
What you're building. A lesson towards your own indicator strategy: a signal and a filter you chose from Studio's indicators, every number yours, checked trade by trade, and drawn on your own chart platform. Last lesson read the conditions a row offers. Today is lines 3 and 6 with Reflex, as a filter and as an exit. Next lesson sets a row's own candle size.
| My indicator rule |
|---|
| 1. The signal: … (which indicator, and what it must do) |
| 2. The signal's numbers: … candles, …-minute candles, the price it reads … |
| 3. The filter: … (which indicator, must hold or must not, buys, sells or both) |
| 4. The filter's level: … in its own unit |
| 5. Stop … ticks, target … times the stop, $… a trade, … to … New York |
| 6. The wait: my strategy needs … candles before it can trade |
| 7. Checked: … trades gone through, and on my platform: … |
Why. Sam is made up, and so are his numbers. A filter row reads the 30 days the Bot loads before it starts. The condition exit reads only the last 512 closed candles, so an exit row must settle inside 512. Reflex needs 386 at length 10, 427 at 20 and 509 at 40, and can't be an exit from about length 42.



| Reflex above 0 | No filter | 10 | 20 | 40 |
|---|---|---|---|---|
| Trades | 18 | 15 | 11 | 8 |
| Won | 9 | 7 | 5 | 3 |
| Profit before fees | $1,332 | $868 | $572 | $108 |
| Candles before it settles | 386 | 427 | 509 |
| Where the row is | History it can read | Reflex lengths that fit |
|---|---|---|
| Filter or signal | The 30 day warmup | All of 10, 20 and 40 |
| Condition exit | The last 512 closed candles | Up to about 41 |
The condition exit. It's Close the trade when your conditions hold, on the Stop management step. It closes the whole trade at market on the first candle where its rows all hold, and cancels your stop and target. Its rows go under Conditions that close a long, on the chart set in Candle length the conditions are read on.
How traders use Reflex. We can't tell you which to choose. These are the common uses. Swing turns, with Reflex crossing 0. Paired with Trendflex, published beside it, which stays on one side of 0 while a trend runs. Or Reflex falling below 0 to close a long, if the length fits the exit's 512 candles.
Worked example
Made-up numbersWorking out where Reflex fits
Sam is made up. His signal is the 5-minute EMA 200, which needs 203 candles. He tries Reflex on 5-minute candles.
- As a filter at length 20, Reflex needs 427 candles. His wait is the slowest row, so 427 candles, about 36 hours. The 30 day warmup covers it.
- As an exit at length 20, it needs 427 of the 512 candles the exit reads. That fits.
- At length 50 it would need more than 512, so Studio refuses it as an exit, while the same row still works as a filter.
Line 6. My strategy needs 427 candles before it can trade. Reflex 20 can also be an exit.
Trading is risky. You can lose money. This lesson shows how Wildflower works. It isn't advice.