Home                           

 Try Investor/RT             

 Investor/RT Tour           

 Getting Started              

 What's New                  

 Testimonials                 



MASTER INDEX
  SEARCH
  CHARTS
  MAIN TOOLBAR
  SETTING PREFERENCES
  TECHNICAL INDICATORS
 
WHAT'S NEW
  ALARMS
  BACKTESTING

  CONFIRMING TRADES
  CUSTOM COLUMNS
  CUSTOM INDICATORS
  CUSTOM INSTRUMENTS
  CUSTOM PRICES
  DATA FEEDS
  DATABASE
  DOWNLOADING DATA
  FEED STATUS
  HEARTBEAT
  HELP
  MULTI-LINKING
  MULTI-PERIODICITY
 
INSTRUMENT SETUP
 
NASDAQ LEVEL II
 
NEWS TICKER
 
NEWS BROWSER
  OPTIMIZATION
  OPTIONS ANALYTICS

  PLACING TRADES
  PORTFOLIOS
  PRESETS
 
PRINTING
  QUICK QUOTES
  QUOTE PAGES
  REALIZATION
  RTL LANGUAGE
  SCANS
  SCHEDULES

  SCOPE
  SYSTEM STATUS
  TICKER TAPE
  TIME AND SALES

 
TRADING NOTES
  USER VARIABLES
  VERTICAL SCALE
MASTER INDEX
DICTIONARY
FEEDBACK

Investor/RT Tour ( more on Technical Indicators )
Trend Detection Index (TDI)
The Formula . . . 

. . .more on Formulas 

Mom = Price - Price[Period]
MomAbs = Abs(Mom)
MomSum = Sum(Mom, Period)
MomSumAbs = Abs(MomSum)
MomAbsSum = Sum(MomAbs, Period)
MomAbsSum2 = Sum(MomAbs, Period * 2)
TDI = MomSumAbs - (MomAbsSum2 - MomAbsSum)
 
The Presentation . . . 

. . . more on Charts 

TDI Chart

Above is a Daily Chart of Microsoft (MSFT).  The Trend Detection Index (TDI) is added to the lower window pane, using the preferences seen below.  The blue line represents the Trend Detection Index while the red line represents the Direction Indicator.

 
The Preferences . . . 

. . . more on Preferences 

  • Price - Price data used as input to the indicator.

  • Period - Period used in TDI formula, as seen in the formula section above.

  • Trend Detection Index - Check this box, and use this color control, if you would like to draw the TDI line.

  • Direction Indicator - Check this box, and use this color control, if you would like to draw the DI line.

 
The Description . . .
The Trend Detection Index (TDI) was introduced by M. H. Pee.  TDI is used to detect when a trend has begun and when it has come to an end. The TDI can be used as a stand-alone indicator or combined with others; it will perform well in detecting the beginning of trends.  TDI should be used in conjunction with protective stops as well as trailing stops. These stops are required to protect against large losses when the indicator generates a losing trade. The TDI can trade a diverse portfolio of markets profitably over many years, using the same parameters throughout.

To calculate the 20-day trend detection index, first find the value of the momentum indicator. After the market closes, calculate today's 20-day momentum by subtracting the close 20 days ago from that of today. Next, find the 20-day absolute momentum, which is defined as the absolute value of today's 20-day momentum. More details can be found in the formula section above.

The trend detection index will signal a trend if it shows a positive value and a consolidation if it shows a negative value. As a trend-follower, the position should be entered in the direction of the trend when the TDI is positive. To determine the current direction of the trend, the direction indicator can be used, which is defined as the sum of the 20-day momentum of the last 20 days. An uptrend is signaled by a positive direction indicator value, whereas a downtrend is signaled by a negative value. Basically, it comes down to this: Enter long tomorrow at the open if both the TDI and direction indicator are positive after today's close or enter short at the open if the TDI is positive and the direction indicator is negative.

TDI can be referenced in the Investor/RT RTL language using the token TDI.

Keyboard Adjustment
You can adjust the TDI period directly from the keyboard without having to open up the TDI preferences window.  Just select the TDI indicator in the chart (either by tabbing to the indicator or by clicking on it), and then simply hit the up arrow on they keyboard to increase the period by one, and the down arrow on the keyboard to decrease the period by 1.