Watch how to download trading robots for free
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
votes: 21
2021.11.17 16:53
DMH.mq4 (11.77 KB) view

In the December 2021 issue of TASC article “The DMH: An Improved Directional Movement Indicator”, John Ehlers explores a method of modernizing directional movement with Hann windowing. Directional movement has been a mainstay in technical analysis and has been an examined concept by traders for decades. When the original directional movement indicator was created by J. Welles Wilder, technology did not easily allow for complex calculations. Ehlers proposes it is time for an upgrade. While the DMH indicator defaults to using Wilder’s 14 bars, Ehlers suggests the length should be at the discretion of the trader or can be determined by optimization if the DMH is used in a strategy.


  • in this version compared to the original additional color changes added :
    • color change on slope change
    • color change on zero line cross
    • and no color change (as in the original)
  • Use it as Ehlers recommends it or use color changes for possible signals
  • some experimenting with DMH period recommended before using it
Trailing Step Function Trailing Step Function

This Is Just A Normal Trailing Step Function.

Trailing Function Trailing Function

This Is a Normal Trailing Function For All Open Order In MT4.

Limit channels Limit channels

ATR based limit channels - metatrader 4 version

Show Orders History On Chart Show Orders History On Chart

Show Orders History On Chart