Blog / Strategy
Strategy

Derivative Oscillator Pullback

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 Derivative Oscillator Pullback is a trend-following pullback strategy built around Constance Brown's Derivative Oscillator, a momentum tool that refines the classic Relative Strength Index (RSI) into a cleaner, lower-lag signal. Rather than trading raw RSI zig-zags — which tend to be noisy and hard to time — this approach smooths the RSI twice and subtracts a moving-average signal line, producing a momentum histogram whose zero crossings mark the moment momentum flips direction. The strategy uses that histogram not to fade the market, but to time re-entries after a pullback within an existing trend.

At its core, the Derivative Oscillator is a "double-smoothed RSI minus a signal line." An RSI on its own reacts too quickly and whipsaws; a single moving average of RSI lags too much. Brown's insight was to apply an exponential moving average (EMA) of an EMA to the RSI, then subtract a simple moving average (SMA) of that smoothed series. The result is a near-zero-lag histogram that turns negative when an up-move stalls and positive when a down-move stalls — a compact read on whether momentum is pausing or resuming.

This strategy is designed for trending market conditions on major currency pairs and is best suited to traders who want to study how trend-following and pullback timing work together. It is a learning tool for understanding momentum smoothing, regime filters, and volatility-based risk placement — not a shortcut to results. If you are exploring how to buy dips in an uptrend (or sell bounces in a downtrend) using a disciplined, rules-based signal, this is a useful case study.

How It Works

The strategy combines a trend filter, a pullback requirement, and a momentum trigger. All logic is fully symmetric between long and short setups. Here is how the strategy signals a trade:

Putting the legs together, the strategy signals:

Stop-loss and take-profit logic is based on the Average True Range (ATR), a volatility measure, so risk automatically scales to any symbol or timeframe:

Derivative Oscillator Pullback MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
RsiPeriod 14 7 28 RSI base period feeding the oscillator chain.
Smooth1 5 2 15 First EMA smoothing applied to the RSI.
Smooth2 3 2 10 Second EMA smoothing (of the first) — forms the double-smoothed RSI.
SignalPeriod 9 3 20 SMA signal-line period subtracted to form the histogram.
TrendPeriod 100 30 250 Long price EMA that defines the tradable regime (trend direction).
PullbackLookback 6 2 20 The against-trend histogram dip must have occurred within this many recent bars.
MinPullbackDepth 0.20 0.00 3.00 Minimum histogram depth (in oscillator units) the pullback must reach. 0 disables the depth gate.
AtrPeriod 14 5 40 ATR period used for the stop and target distance.
AtrMult 2.00 0.50 6.00 Stop distance as a multiple of ATR.
RewardRatio 1.60 0.50 5.00 Take-profit distance as a multiple of the stop distance.
MaxSpreadPoints 30 0 200 Skip trades when the current spread (points) exceeds this value. 0 disables the filter.
Lots 0.10 0.01 1.00 Fixed trade volume in lots.
Magic 5127 0 9,999,999 Magic number that identifies this EA's positions.
Derivative Oscillator Pullback MT5 EA — MQL5 source code

Recommended Chart Settings

The Derivative Oscillator Pullback was designed with a trending major currency pair in mind, such as EURUSD or GBPUSD, on the M15 to H1 timeframes. This suits a trend-following, swing-style approach: the market spends long stretches trending, and the strategy's edge concept is timing the pause within a trend rather than chasing the initial breakout.

Because the stop and target are ATR-based, the strategy self-scales to the volatility of whatever symbol and timeframe you apply it to. That said, results will vary considerably across different instruments and market conditions. Always test on the specific symbol, timeframe, and broker feed you intend to study before drawing any conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy involves trade-offs. Here is a balanced view to help you study it critically.

Strengths of this approach:

Known limitations:

This strategy is best understood as an educational framework for studying momentum-based pullback timing, not as a finished system. Thorough forward testing on a demo account is essential before considering any live use.

Risk Management Tips

Sound risk management matters far more than any single indicator setting. Keep these general principles in mind as you study this strategy:

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