Blog / Strategy
Strategy

Traders Dynamic Index 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 Traders Dynamic Index Shift is a momentum-shift trading system built on the Traders Dynamic Index (TDI), a compound oscillator designed by Dean Malone. It is a trend-and-momentum style approach, meaning it tries to enter when a fresh burst of directional momentum is beginning rather than when a market is quiet and directionless. What makes this particular expert advisor (EA) distinct is that every calculation is performed on the Relative Strength Index (RSI) series itself — not on raw price. The RSI is a momentum oscillator that measures the speed and size of recent price moves on a 0–100 scale. Here, the strategy smooths the RSI, measures the volatility of the RSI, and even looks for a crossover of one RSI-derived line over another. In short, it is an "indicator-of-an-indicator" system.

The TDI produces four lines, all derived from a single RSI stream: a fast signal line (often shown green), a slow signal line (often shown red), a base line or market baseline (MBL), and a pair of volatility bands. The trade trigger is a crossover between the fast and slow RSI-smoothing lines. The regime filter — the mechanism that decides whether conditions are worth trading at all — is the width of the volatility bands around the base line. When the RSI stream is calm, those bands pinch shut, which historically corresponds to low-conviction, choppy conditions the strategy is designed to sit out.

This EA is best understood as a learning tool for traders who want to study how oscillator smoothing, midline filters, and volatility gating can be combined to reduce false signals. It is intended for educational analysis of momentum-shift logic and is not a shortcut of any kind. It suits students of technical analysis who already understand basic RSI behavior and want to explore how layering conditions changes a system's selectivity.

How It Works

The strategy evaluates its rules once per closed bar on the chart's primary timeframe — it does not react to every tick, which helps avoid acting on incomplete price information. All four TDI lines are computed from the RSI series:

The strategy signals a long trade when all of the following line up on the just-closed bar:

The strategy signals a short trade on the mirror image: green crosses below red, green is below the midline, the base line is falling, and the bandwidth still meets the minimum threshold.

Exit, stop-loss, and take-profit logic are all handled by an ATR-based bracket attached at entry. The Average True Range (ATR) measures recent price volatility and lets the risk distance scale automatically to any symbol or timeframe:

Two additional gates protect entries: a spread filter skips signals when the current spread exceeds MaxSpreadPoints, and the fast period is always forced to be strictly faster than the slow period so the crossover remains meaningful.

Traders Dynamic Index MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
RsiPeriod 13 7 34 Base RSI length that feeds every TDI line.
FastSignal 2 1 9 Fast RSI moving average — the green trigger line.
SlowSignal 7 3 21 Slow RSI moving average — the red confirmation line.
BandPeriod 34 14 60 Base-line and band length on the RSI series (the MBL and band midpoint).
BandStdMult 1.6185 1.0 2.5 Standard-deviation multiple for the RSI volatility bands.
BandWidthMin 12.0 0.0 40.0 Minimum RSI band width required — screens out flat, low-conviction chop.
SignalLevel 50.0 40.0 60.0 Midline the green line must be beyond (bullish above, bearish below).
AtrPeriod 14 5 40 ATR length used for stop sizing.
AtrMultSl 1.5 0.5 4.0 Stop distance as a multiple of ATR.
RewardRatio 1.8 0.8 4.0 Take-profit distance as a multiple of the stop distance.
MaxSpreadPoints 30 1 200 Skip signals when the current spread (points) exceeds this.
Lots 0.10 0.01 1.00 Fixed lot size per trade.
Magic 5271 0 9,999,999 Magic number identifying this EA's positions.
Traders Dynamic Index MT5 EA — MQL5 source code

Recommended Chart Settings

This strategy was designed with a trending major currency pair in mind, such as EURUSD or GBPUSD, on the M15 to H1 timeframes, using a momentum trading style. These conditions tend to offer the kind of clean directional impulses the TDI crossover logic is built to detect, along with reasonable spreads that pass the spread filter. That said, every market behaves differently, and results will vary considerably across symbols, timeframes, brokers, and changing market conditions. Treat the recommended settings as a starting point for study and testing — not as a fixed prescription. Always evaluate behavior on a demo account before drawing any conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

The core strength of this approach is selectivity. A lone RSI green/red crossover fires constantly and gets chopped to pieces in flat markets. By demanding four independent conditions — the crossover, the correct side of the midline, an agreeing base-line slope, and expanding RSI volatility — on the same closed bar, the strategy filters out a large share of the false flips that make simple oscillator crosses unreliable. The ATR-based bracket is another sensible feature: it self-scales risk to each instrument and enforces a defined reward-to-risk ratio on every trade.

The limitations are equally important to understand. Because the system is deliberately choosy, it will stay out of many moves, and in strongly ranging or slowly grinding markets the bandwidth filter may keep it flat for long stretches. Requiring multiple conditions to align can also mean entries arrive after the first leg of a move has already occurred, since confirmation takes time. Like all crossover systems, it can suffer whipsaws when momentum stalls right after a signal, and a fixed take-profit ratio may cut winners short during extended trends. This EA is best viewed as a framework for understanding how filters interact — not as a finished, market-ready product.

Risk Management Tips

Sound risk management matters far more than any single entry rule. Consider these general principles 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