Author: Andrey N. Bolkonsky
The Directional Trend Index (DTI) indicator (based on the Composite High/Low Momentum) is described by William Blau in the book "Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators for Technical Analysis".
Directional Trend Index (DTI)Indicator by William Blau
The Directional Trend Index is calculated by formula:
100 * EMA(EMA(EMA( HLM(q) ,r),s),u) 100 * HLM(q,r,s,u)
DTI(q,r,s,u) = ––––––––––––––––––––––––––––––––– = –––––––––––––––––––––––––––––
EMA(EMA(EMA( |HLM(q)| ,r),s),u) EMA(EMA(EMA( |HLM(q)| ,r),s),u)
if EMA(EMA(EMA(|HLM(q)|,r),s),u)=0, then DTI(price,q,r,s,u)=0
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/384
Composite High-Low Momentum Indicator by William Blau.Ergodic CSI-Oscillator Blau_Ergodic_CSI
Ergodic CSI-Oscillator by William Blau.