This is the latest John Ehlers indicator featured in the July 2018 edition of Traders’ Tip.
In “The Deviation-Scaled Moving Average” in this issue, author John Ehlers introduces a new adaptive moving average that has the ability to rapidly adapt to volatility in price movement. The author explains that due to its design, it has minimal lag yet is able to provide considerable smoothing.
Ehlers DSMA
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//Smooth with a Super Smoother
ifbarindex>Periodthen
a1=Exp(-1.414*3.14159/(.5*Period))
b1=2*a1*Cos(1.414*180/(.5*Period))
c2=b1
c3=-square(a1)
c1=1-c2-c3
//Produce Nominal zero mean with zeros in the transfer
//response at DC and Nyquist with no spectral distortion