Sunday, June 19, 2011

HA Diff Tracks the CCI


Heikin-Ashi is Japanese for 'average bar.'
HA Diff (3) >0.1 is equivalent to a CCI > 100. The CCI itself is a momentum indicator utilizing a measurement of the deviation of typical price from its moving average, normalised to fit on a scale of roughly -250 to +250.
CCI (20) = (Typical Price - 20-period SMA of TP) / (.015 x Mean Deviation)
Typical Price (TP) = (High + Low + Close)/3
Constant = .015
There are four steps to calculating the Mean Deviation. First, subtract
the most recent 20-period average of the typical price from each period's
typical price. Second, take the absolute values of these numbers. Third, sum the absolute values. Fourth, divide by the total number of periods (20).

No comments:

Post a Comment