Blog / Strategy
Strategy

Wave Trend Cross Reversion

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 Wave Trend Cross Reversion strategy is a mean-reversion trading system built around the WaveTrend oscillator, a momentum indicator popularized by the TradingView author "LazyBear." A mean-reversion approach assumes that when price stretches too far from its recent average, it tends to snap back — and the WaveTrend oscillator is used here to measure how stretched, or "exhausted," momentum has become. Rather than relying on a stock indicator library, this strategy hand-builds WaveTrend from raw price bars using a chain of exponential moving averages (EMAs) and a mean-absolute-deviation normalization, which makes it mathematically distinct from more familiar oscillators such as RSI, CCI, or Stochastic.

The oscillator swings above and below a zero line. When it pushes into deeply positive territory, buying pressure may be overextended (overbought); when it plunges into deeply negative territory, selling may be exhausted (oversold). The tradable event is a cross of two WaveTrend lines while price is inside one of these extreme zones — the classic WaveTrend "dot." In plain terms, the strategy looks for moments where a strong move appears to be running out of steam and momentum begins to turn the other way.

This system is designed for liquid, intraday reversion markets — think forex majors like EURUSD or an index such as US500 — on intermediate timeframes (roughly M5 to H1). It is best understood as a learning tool for traders who want to study oscillator construction, extreme-zone signals, and ATR-based risk brackets. It is not a shortcut of any kind, and this article frames it strictly as a strategy analysis rather than a profit opportunity.

How It Works

The strategy updates its calculations once per closed primary-timeframe bar, so signals are evaluated on completed candles rather than flickering mid-bar. The WaveTrend oscillator is rebuilt step by step as follows:

Once the oscillator lines are settled and warmed up, the strategy watches for crosses inside the extreme zones:

The two rules are fully symmetric, with distinct long and short logic. Trade management works like this:

WaveTrend cross reversion MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
ChannelLength 10 5 21 EMA length for the channel centre line (esa) and its mean-absolute-deviation (d). Shorter values react faster; longer values smooth more.
AverageLength 21 8 40 EMA length that smooths the channel index into the main WaveTrend line (wt1).
SignalLength 4 2 8 SMA length of wt1 that forms the signal line (wt2) used for cross detection.
ExtremeLevel 53.0 30.0 80.0 The absolute WaveTrend reading required at the cross for a signal to count. Higher values demand more extreme exhaustion.
AtrPeriod 14 7 30 Lookback length for the ATR used to size stops and targets.
AtrStopMult 2.0 1.0 4.0 Stop-loss distance as a multiple of ATR.
AtrTargetMult 3.0 1.0 6.0 Take-profit distance as a multiple of ATR.
MaxSpreadPoints 60 5 300 Maximum allowed spread (in points) for opening a new position.
Lots 0.10 0.01 1.0 Fixed order volume in lots.
Magic 8821 0 9,999,999 Unique identifier so the EA can track only its own positions.
WaveTrend cross reversion MT5 EA — MQL5 source code

Recommended Chart Settings

The Wave Trend Cross Reversion strategy was designed for liquid intraday reversion markets, such as forex majors (for example, EURUSD) or a major index (for example, US500), on intermediate timeframes from M5 to H1. The timeframe is never hardcoded — the EA runs on whatever chart timeframe you attach it to, using that timeframe for all its bar and ATR calculations.

Because mean-reversion behavior differs from one instrument and session to another, results will vary across different market conditions. Ranging or choppy markets tend to suit reversion logic, while strong sustained trends can work against it. Always test any combination of symbol and timeframe thoroughly on historical data and on a demo account before considering live use.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy has strengths and limitations, and an honest assessment matters more than optimism.

Strengths of this approach:

Known limitations:

This EA is a study tool for understanding oscillator-based reversion, not a finished trading system. Treat it as a starting point for research and experimentation.

Risk Management Tips

Sound risk management is what separates disciplined study from reckless speculation. 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