Traders Dynamic Index (TDI): Settings, Signals and Setup in MT4 and MT5

The Traders Dynamic Index (TDI indicator) is an oscillator built by Dean Malone from three tools: the RSI, moving averages of the RSI and volatility bands drawn around it. In one window below the chart it shows the direction of the trend, the strength of the move and volatility. MT4 and MT5 do not include it, so you add it as a custom indicator file.
TL;DR
- Default settings: RSI 13 on the close, a 2-period green price line, a 7-period red signal line and 34-period bands with the yellow market base line in the middle, plus levels 32, 50 and 68.
- To use it in MetaTrader 4 or 5, copy the file into the MQL4 or MQL5 Indicators folder and restart the terminal. The MetaTrader apps for phones cannot run it.
- Take crossings in the direction of the yellow line, place the stop behind the nearest swing high or low and close on the opposite signal.
This guide covers the five lines of the TDI and their default settings, the installation in MT4 and MT5, five trading signals with a stop and an invalidation for each, and a short plan for testing them.
What Is the Traders Dynamic Index?
The Traders Dynamic Index is an oscillator that combines the RSI, the Moving Average and Bollinger Bands in one window. Dean Malone designed it for assessing the market state and finding trade signals; the MetaTrader 4 version in the MQL5 Code Base is credited to him.
The RSI shows whether the current move is overheated. Moving averages smooth the RSI line, and the bands around it show how wide the RSI swings, which tells you about volatility and the strength of the trend. Because it joins the three, many traders use the TDI as a trading system of its own.
TDI Components and Default Settings
The TDI is drawn in a window below the price chart and consists of five lines and three levels. The table gives the defaults of the MT4 and MT5 version documented by EarnForex; the file used in this article has the same values.
| Line | Colour | What it shows | Default setting |
|---|---|---|---|
| RSI price line, the fast line | Green | The RSI smoothed by a short moving average; its crossings with the red line give short-term signals | RSI 13 on the close, 2-period simple moving average |
| Trade signal line, the slow line | Red | The RSI smoothed over a longer period | 7-period simple moving average |
| Market base line | Yellow | The average RSI over the band period; the middle of the bands and the trend filter | 34 periods |
| Upper and lower volatility bands | Blue | Bollinger Bands applied to the RSI: the trading channel of the indicator | 34 periods, 1.6185 standard deviations |
| Levels 32, 50 and 68 | Dotted lines | Oversold below 32, the central axis at 50, overbought above 68 | Fixed at 32, 50 and 68 on a 0 to 100 scale |
The green and red RSI lines show the strength and volatility of the market. The two blue bands form the trading channel, and the yellow line is called the middle, or main, line. Versions differ in details: the file in this article has no input for the standard deviation, the TrendSpider guide gives an RSI period of 13 or 14 and reads the price line against 70 and 30, and TradingView scripts change colours and add alerts. Check the Inputs tab of the copy you install.

How to Read the TDI: Levels 32, 50 and 68
The central axis of the indicator is level 50. When the yellow line is above 50, buyers control the trend; below 50, sellers do. The area above 68 is the overbought zone and the area below 32 is the oversold zone, as in the classical RSI, which is explained in more detail in the guide to overbought and oversold areas.
Yellow line above 50 favours buyers; beyond 32 and 68 a turn is forming
Readings of the yellow market base line on the 0 to 100 RSI scale, default TDI levels
- 0 to 32Oversold zoneA cross of level 32 downwards means a local low is forming; a later break of 32 upwards signals a reversal or the beginning of an upward correction.
- 32 to 50Sellers in controlWith the yellow line below 50, sellers control the trend.
- 50 to 68Buyers in controlWith the yellow line above 50, buyers control the trend.
- 68 to 100Overbought zoneA rise of the yellow line above 68 means a local high is forming; a later break of 68 downwards signals a reversal or the beginning of a downward correction.
Source: default TDI levels. Data as of 27 November 2026.
Levels 68 and 32 help to define market reversals. If the yellow line crosses level 32 downwards, a local low is forming in the market. A later break of level 32 upwards signals a reversal or the beginning of an upward correction. If the yellow line rises above 68, a local high is forming, and a break of this level downwards signals a reversal or the beginning of a downward correction.
The bands add the volatility reading. Wide blue bands come with a strong trend and high volatility; narrow bands mark a quiet market in which the green and red lines cross often and give weaker signals. A steep green line shows a sharp short-term move.
Trade on the Go With RoboForex MobileTrader
Follow the charts you analyse with the TDI and manage your orders from your phone, on Android and iOS.
How to Install the TDI Indicator in MT4 and MT5
The TDI is not a built-in indicator in either platform. The MetaTrader 4 help lists 29 built-in indicators, and the MetaTrader 5 list of oscillators does not include it either. You add it as a custom indicator: an .mq4 or .ex4 file for MetaTrader 4, an .mq5 or .ex5 file for MetaTrader 5.
- Download the file: the version for MetaTrader 4 attached to this article (link below), or the MetaTrader 5 version from the MQL5 Code Base.
- In the terminal, open the File menu and choose Open Data Folder.
- Go to MQL4, then Indicators (MetaTrader 4), or MQL5, then Indicators (MetaTrader 5), and copy the file there.
- Restart the terminal, or right-click Indicators in the Navigator window and choose Refresh.
- Drag Traders Dynamic Index from the Navigator window onto the chart, or use the Insert menu, Indicators, Custom.
- Check the values on the Inputs tab and press OK.
Download the Traders Dynamic Index for MetaTrader 4 (ZIP)
The MetaTrader 4 and MetaTrader 5 apps for Android and iOS run only the built-in indicators, so the TDI file cannot be added there. Read the TDI in the desktop terminal and use the phone to follow the chart and manage orders.
TDI input parameters
In the settings window of the file used here, you can change the following inputs.
| Input | Default | What it sets |
|---|---|---|
| RSI_Period | 13 | Period of the RSI used for all lines |
| RSI_Price | 0, Close | Price for the RSI: 0 Close, 1 Open, 2 High, 3 Low, 4 Median price (H+L)/2, 5 Typical price (H+L+C)/3, 6 Weighted close (H+L+C+C)/4 |
| Volatility_Band | 34 | Period of the bands and the yellow market base line |
| RSI_Price_Line | 2 | Period of the green line |
| RSI_Price_Type | 0, Simple | Averaging method of the green line: 0 Simple, 1 Exponential, 2 Smoothed, 3 Linear Weighted |
| Trade_Signal_Line | 7 | Period of the red signal line |
| Trade_Signal_Type | 0, Simple | Averaging method of the red line, same codes as RSI_Price_Type |
| UseAlerts | false | Sound alert when the red and yellow lines cross |

Should You Change the Default TDI Settings?
Start with the defaults: the TDI works well with them, and most published descriptions of its signals assume them. EarnForex gives working ranges of 8 to 25 for the RSI period and 20 to 40 for the band period, and advises leaving the 1.6185 deviation unchanged.
A shorter RSI period makes the green line faster and gives more crossings, many of them short-lived. A longer period gives fewer and later signals. Change one input at a time, test it on history and compare the number of signals and the result with the default set before you keep the change.
TDI Trading Signals
Apart from market analysis, the TDI gives five trading signals. Each setup below is an educational example: the signal describes the state of the indicator and the price can move against it. Every setup has a stop and an invalidation, the condition that cancels the idea before the stop is reached.
| Signal | Buy | Sell | Strength | Invalidation |
|---|---|---|---|---|
| 1. Green line crosses the red line | Green crosses red upwards | Green crosses red downwards | Short-term, frequent; stronger in the overbought and oversold zones | Green crosses back through red within a few bars |
| 2. Red line crosses the yellow line | Red crosses yellow upwards | Red crosses yellow downwards | Longer-term, fewer false signals than signal 1 | Red returns to the other side of yellow |
| 3. Yellow line crosses level 50 | Yellow crosses 50 upwards | Yellow crosses 50 downwards | Long-term, rare on higher timeframes | Yellow closes back across 50 |
| 4. Yellow line leaves the overbought or oversold zone | Yellow rises back above 32 | Yellow falls back below 68 | The strongest long-term signal of the TDI | Yellow returns into the zone it left |
| 5. Divergence between price and the green line | Price makes a lower low, green makes a higher low | Price makes a higher high, green makes a lower high | Early warning of a reversal; wait for signal 1 or 2 | Price breaks the low or high that formed the divergence |
Signal 1: the green line crosses the red line
The crossing of the green and red lines gives signals for short-term trading. They cross rather often, so the stronger signals are the crossings in the overbought and oversold zones.
If the fast green line crosses the red signal line from below, it is a signal to buy; if it crosses the red line from above, it is a signal to sell. Place the Stop Loss behind the nearest local high or low. Take the profit at the channel borders, the blue lines, or at the opposite crossing of the green and red lines. The idea is cancelled if the green line crosses back through the red one before the price moves, even if the stop has not been hit.

Signal 2: the red line crosses the yellow line
The crossing of the red and yellow lines gives a more reliable, longer-term signal.
When the red signal line crosses the yellow one from below, buyers are taking control and it is a signal to buy. If the red line crosses the yellow one from above, the market turns bearish and it is a signal to sell. Place the stop behind the local high or low and take the profit at the next important support or resistance level. If the red line returns to the other side of the yellow line, the signal is cancelled.

Signal 3: the yellow line crosses level 50
Another trading signal appears when the yellow line crosses level 50. It is a rarer long-term signal, especially on higher timeframes.
If the yellow line crosses 50 from below, it is a signal to buy; if it crosses the level from above, it is a signal to sell. The signal works better together with a break of a support or resistance level or line, or the completion of a price pattern. Place the stop behind the last swing high or low; a close of the yellow line back across 50 cancels the trade.

Signal 4: the yellow line leaves the overbought or oversold zone
An exit from the overbought or oversold zone is the strongest long-term signal. If the yellow line leaves the overbought zone and crosses level 68 from above, it is a signal to sell. When the yellow line leaves the oversold zone and crosses level 32 from below, it is a signal to buy. Put the stop behind the local extreme and take the profit when the opposite long-term signal appears. A return of the yellow line into the zone it has just left cancels the idea.

Signal 5: divergence between price and the green line
A divergence appears when price and the green line move in opposite directions. Price makes a lower low while the green line makes a higher low: selling is weakening, and a rise may follow. Price makes a higher high while the green line makes a lower high: buying is weakening. A divergence gives no entry by itself; wait for signal 1 or 2 in the same direction. A new price low below the one that formed a bullish divergence, or a new high above a bearish one, cancels it. More on reading these patterns in the guide to divergence and convergence.
Start Trading Now
Install the TDI in MetaTrader 4 or MetaTrader 5 and practise the five signals on your own charts.
How to Build a Trading Plan Around the TDI
The TDI is made of moving averages of the RSI, so it follows price with a delay. In a sideways market the green and red lines cross again and again, and most of those crossings lead nowhere. A plan that filters signals by the yellow line and by the price chart removes many of them:
- On a higher timeframe, note whether the yellow line is above or below 50 and trade only in that direction.
- On your working timeframe, wait for signal 1 or 2 in the same direction, preferably near 32 for buys and near 68 for sells.
- Confirm the signal on the price chart: a support or resistance level, a chart pattern or a Price Action setup.
- Place the stop behind the nearest swing high or low and size the position so that the loss at the stop stays within your risk limit for one trade.
- Close at the opposite signal or at the blue band, and write down the result to compare later.
Run the plan on a demo account first. A series of recorded trades shows whether the filters suit the instrument and timeframe you trade, before real money is at risk. The TDI works in MetaTrader 4 and MetaTrader 5, both available at RoboForex.
Bottom Line
The Traders Dynamic Index puts the RSI, moving averages and Bollinger Bands into one window: the green and red lines time the entry, the yellow line and levels 32, 50 and 68 set the direction, and the blue bands show volatility. It needs a custom indicator file in MT4 and MT5, and the defaults of 13, 2, 7 and 34 are a sound starting point. Combine the signals with classical technical analysis, set the stop and the invalidation before you enter, and test the plan on a demo account first.
FAQ
What are the default settings of the TDI indicator?
RSI period 13 on the close price, a 2-period simple moving average for the green price line, a 7-period simple moving average for the red signal line, and 34 periods for the yellow market base line and the blue volatility bands, with 1.6185 standard deviations in versions that show that input. The levels are 32, 50 and 68.
Is the TDI built into MT4 or MT5?
No. The TDI is not among the built-in indicators of MetaTrader 4 or MetaTrader 5. Download the indicator file, copy it into the MQL4 or MQL5 Indicators folder through File and Open Data Folder, restart the terminal and add it to the chart from the Navigator window.
Can I use the TDI on the MT5 mobile app?
No. The MetaTrader apps for Android and iOS run only built-in indicators, so the TDI file cannot be installed there. Use the TDI in the desktop terminal and follow the chart and your orders on the phone.
What do the colours of the TDI lines mean?
Green is the fast RSI price line, red is the slower trade signal line, yellow is the market base line in the middle of the bands, and the two blue lines are the volatility bands. Crossings of green and red time short-term trades; the yellow line shows the trend.
Is the TDI a leading or a lagging indicator?
It lags: all its lines are moving averages of the RSI, so they react after price. Divergence between price and the green line gives the earliest warning, and it still needs a crossing to confirm the entry.
- RSI Indicator: Description and Trading: the oscillator at the core of the TDI, with its own signals.
- Bollinger Bands Indicator: how the bands that form the TDI channel are calculated on price.
- How to Trade Overbought and Oversold Areas: more ways to trade the zones above 68 and below 32.
Any information provided in articles on this website is based solely on the personal opinions of the authors. These articles should not be construed as trading recommendations or a call to action. The authors and RoboForex accept no responsibility for the results of any trades made on the basis of these recommendations and reviews. Past performance is not indicative of future results. Trading stocks and CFDs involves a high risk of capital loss.