+1 888 340 6572

# DTI

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

File Includes:
Function - DTI
Function - HMU
Function - LMD
Function - MDI
Function - TSI
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 > DTI

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:
r
s
u

EasyLanguage Code:
```{THIS USER FUNCITION DEALS WITH HLM = HMU - LMD. SEE FUNCTIONS HMU AND LMD}

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

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

VALUE2 = TXAVERAGE(ABSVALUE(HMU - LMD), S, R, U); {DENOMIATOR}

IF VALUE2 <> 0 THEN
DTI = VALUE1/ VALUE2

ELSE

DTI = 0;```