+1 888 340 6572

# TSI

Article/Author: Origin: http://www.traders2traders.com. Coded by: Ernie Bonugli, Jim Johnson Author: William Blau

File Includes:
Function - TSI
Function - DTI
Function - HMU
Function - LMD
Function - MDI
Function - TVI
Function - DXAverage
Function - TXAverage
Indicator - *DTI Signal
Indicator - DTI
Indicator - Ergotic_CSI
Indicator - Ergotic_MACD
Indicator - Ergotic_MDI
Indicator - Ergotic_TSI
Indicator - Ergotic_TSI-2
Indicator - Ergotic_TVI

Category: Functions > TSI

Description:

Это одна из техник, описанных в книге William Blau "Momentum, Direction and Divergence" (1995). Если Вы хотите узнать больше, мы советуем прочитать его книгу. His book focuses on three key aspects of trading: momentum, direction and divergence. Blau, who was an electrical engineer before becoming a trader, thoroughly examines the relationship between price and momentum in step-by-step examples. From this grounding, he then looks at the deficiencies in other oscillators and introduces some innovative techniques, including a fresh twist on Stochastics. On directional issues, he analyzes the intricacies of ADX and offers a unique approach to help define trending and non-trending periods.

Inputs:
Price
r
s
u

EasyLanguage Code:
```{FORMAT: TSI(PRICE,R,S,U)
WHERE: R = LENGTH OF FIRST EMA SMOOTHING OF 1 DAY MOMENTUM,
S = LENGTH OF SECOND EMA SMOOTHING OF 1 DAY SMOOTING,
U = LENGTH OF THIRD EMA SMOOTING OF 1 DAYMOMENTUM.}

INPUTS:    PRICE(NUMERICSERIES), R(NUMERICSIMPLE), S(NUMERICSIMPLE),
U(NUMERICSIMPLE);

VALUE1= 100*TXAVERAGE(PRICE-PRICE,R,S,U) ;  { NUMERATOR }

VALUE2=TXAVERAGE(ABSVALUE(PRICE-PRICE),R,S,U) ;   { DENOMINATOR }

IF VALUE2 <> 0 THEN TSI = VALUE1 / VALUE2

ELSE TSI = 0```