Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Directional Trend Index Blau_DTI - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Directional Trend Index Blau_DTI - indicator for MetaTrader 5

Author: Andrei N. Bolkonsky

The Directional Trend Index (DTI) indicator (based on composite high/low momentum ) is described by William Blau in the book "Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators to Technical Analysis" .

Directional Trend Index Blau_DTI - indicator for MetaTrader 5

William Blau's Directional Trend Index (DTI) Indicator

The formula for calculating the directional trend index is:

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


Attachment download

📎 blau_dti.mq5 (9.4 KB)

📎 williamblau.mqh (4.52 KB)

Source: MQL5 #384

Verification code Refresh