Blog / Strategy
Strategy

Triple Smoothed Momentum 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 Triple Smoothed Momentum Shift strategy is a trend-following, momentum-based system built around the TRIX indicator — the rate-of-change of a triple-smoothed exponential moving average (EMA) of price. Where a raw momentum oscillator reacts to every small wiggle in price, TRIX runs the closing price through three cascaded EMAs before measuring its slope. That triple smoothing strips out short-cycle noise and single-bar spikes, so what is left behind is a cleaner read on the underlying momentum of the trend rather than the surface chatter.

In plain terms, TRIX is the one-bar percentage change of that thrice-smoothed line. It reads positive while smoothed momentum is accelerating upward and negative while it is accelerating downward. The strategy watches how TRIX interacts with two references: its own signal line (an EMA of TRIX, used as the trigger) and the zero line (used as a regime gate). A trade is only considered when a fresh signal-line cross happens on the correct side of zero — an approach designed to filter out the counter-trend crosses that tend to fire in choppy, directionless conditions.

This system is best understood as a learning tool for traders who want to study how momentum smoothing and regime filtering work together. It is designed for liquid, trending instruments and is indicator-only with distinct long and short rules. It is not a shortcut of any kind — it is a structured example of a momentum/trend-following approach that you can study, backtest, and dissect to deepen your understanding of oscillator-based systems.

How It Works

The strategy acts once per newly-closed bar, feeding each closed price through the EMA cascade and then checking its entry and exit logic. Here is how the pieces fit together:

Entry conditions:

Stop-loss logic:

Take-profit logic:

Exit conditions:

The strategy uses three layers of exit:

Only one position per magic number is held at a time, so the strategy manages a single open trade before looking for the next signal.

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

Strategy Parameters

Parameter Default Min Max Description
TrixPeriod 15 5 40 EMA length used for each of the three smoothing passes that build TRIX. Larger values smooth more and react slower.
SignalPeriod 9 3 20 EMA length of the signal line drawn on TRIX — the crossover trigger.
AtrPeriod 14 5 30 ATR length used for the volatility-scaled stop.
AtrStopMult 2.0 0.5 5.0 Stop distance expressed as this many ATRs from entry.
RewardRatio 1.6 0.8 4.0 Take-profit distance as a multiple of the stop distance (reward : risk).
MaxSpreadPoints 30 1 200 Skip a signal if the current spread (in points) is wider than this.
ExitOnReversal 1 0 1 Close a live trade when momentum crosses back through its signal line (1 = on, 0 = off).
Lots 0.10 0.01 1.0 Trade size (position-sizing lever).
Magic 7314 0 9,999,999 Magic number used to identify this strategy's positions.
TRIX momentum MT5 EA — MQL5 source code

Recommended Chart Settings

The Triple Smoothed Momentum Shift strategy was designed for liquid, trending instruments such as EURUSD, GBPUSD, or XAUUSD (gold), running on the H1 (1-hour) timeframe. These markets tend to produce the sustained directional moves that a momentum/trend-following system is built to capture, and the H1 timeframe offers a balance between signal frequency and noise.

Because the strategy reads the primary timeframe dynamically, the same logic will run on whatever timeframe you attach it to — but the default behavior and parameter ranges were tuned with H1 in mind. Keep in mind that results will vary significantly across different symbols, timeframes, and market conditions. A momentum system that behaves well in a trending environment may behave very differently during range-bound or highly volatile periods. Always test any configuration on historical data and a demo account before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Like every technical approach, the Triple Smoothed Momentum Shift strategy has clear strengths and equally clear limitations. Understanding both is essential before you rely on it for any decision-making.

Strengths of this approach:

Known limitations:

This strategy is a structured, transparent example of a momentum system — not a finished solution. Treat it as a starting point for your own study and testing.

Risk Management Tips

Sound risk management matters more than any single indicator setting. Whatever strategy you study, these general principles apply:

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