Blog / Strategy
Strategy

Reflex Oscillator Trend Shift

Disclaimer: This article is for educational and informational purposes only. It does not constitute financial or investment advice. Trading forex and CFDs carries significant risk of loss. Past performance of any strategy — including backtests — does not guarantee future results. Never trade with money you cannot afford to lose.

What Is This Strategy?

The Reflex Oscillator Trend Shift is a momentum-shift trading strategy built around John Ehlers' Reflex indicator, a near-zero-lag oscillator he introduced in Stocks & Commodities magazine (February 2020). Traditional oscillators such as RSI or MACD lag price because they average older data; Ehlers designed Reflex specifically to lead, so it can flag the moment momentum genuinely turns rather than confirming it several bars later. This makes the strategy a trend-confirmed momentum system — it looks for a decisive shift in momentum and only acts when the smoothed price trend agrees.

Under the hood, Reflex is built in two stages. First, a SuperSmoother filter (a two-pole, Butterworth-style low-pass filter set to half the cycle length) strips tick noise out of price with almost no lag, producing a clean smoothed line. Second, the indicator draws a straight "chord" from the current smoothed value to the smoothed value a set number of bars ago, then measures how far the actual smoothed path bulged away from that chord over the window. That bulge is normalized by its own running root-mean-square (RMS), so the output becomes a scale-free oscillator that swings around zero — roughly between −3 and +3 on typical forex data — regardless of whether you are trading a low-volatility currency pair, gold, or an index.

As a learning tool, this strategy is well suited to intermediate traders who already understand basic indicator concepts and want to study how digital signal processing ideas — filtering, chords, and normalization — can be applied to markets. It is designed for markets that develop directional moves out of noise, and it is best viewed as an educational example of a modern, self-normalizing oscillator rather than a guaranteed edge.

How It Works

The strategy processes one completed bar at a time on your chosen timeframe. On each newly closed bar it updates the SuperSmoother line, recomputes the Reflex oscillator, and checks whether a fresh trade signal has appeared. Here is the logic in plain English:

Reflex oscillator MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
ReflexLength 20 8 60 The Reflex/SuperSmoother cycle length — the dominant window the oscillator measures. Larger values smooth more and react slower.
Trigger 0.50 0.0 2.0 How far the Reflex oscillator must cross from zero to count as a decisive momentum shift. Higher values demand stronger moves.
SlopeLookback 3 1 10 Number of bars back used to measure the SuperSmoother slope for trend confirmation.
AtrPeriod 14 5 40 The lookback period for the ATR calculation used to size the protective stop.
AtrMult 2.0 1.0 5.0 Stop-loss distance as a multiple of ATR. Larger values give the trade more room but risk more per unit.
RewardRisk 2.0 1.0 5.0 Take-profit distance expressed as a reward:risk multiple of the stop distance.
Lots 0.10 0.01 1.0 Trade volume in lots. Should be set relative to your account size and risk tolerance.
Reflex oscillator MT5 EA — MQL5 source code

Recommended Chart Settings

The Reflex Oscillator Trend Shift is timeframe-agnostic — every calculation uses the chart's primary timeframe, so it runs on whatever chart you attach it to. A common starting point for study is a major forex pair such as EUR/USD on an intraday timeframe like the H1 (1-hour) chart, which gives the SuperSmoother filter enough clean bars to work with while still producing a reasonable number of signals. Because the Reflex oscillator self-normalizes by its own RMS, the strategy also adapts naturally to instruments with very different volatility profiles, such as metals or indices.

That said, no single setting is optimal everywhere. Results will vary considerably across symbols, timeframes, and market conditions, so treat any configuration as a baseline for your own testing rather than a recommendation.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy has strengths and weaknesses, and understanding both is part of trading responsibly.

Strengths of this approach:

Known limitations:

The strategy is best understood as an educational illustration of a modern signal-processing oscillator, not as a finished, all-weather system.

Risk Management Tips

Sound risk management matters far more than any single indicator setting. Consider these general principles:

Risk Warning

Trading foreign exchange, CFDs, and other leveraged financial instruments involves substantial risk of loss and is not suitable for all investors. The strategies and tools discussed on this page are provided for educational purposes only and do not constitute financial advice, investment recommendations, or solicitation to trade. Always consult a qualified financial adviser before making trading decisions. Past backtest performance is not indicative of future results.

Downloads

← Back to Blog