Exported using NT Version 7.0.1000.3
This is a generalized EMA, which allows you to use it with fractional periods. The minimum period required is 1.0.
This generalization is possible, as the integer period of an EMA is an artificial construct, which was adapted following the work of Jack K. Hutson, who compared simple and exponential moving averages. The generalized formula for an EMA is
EMA[0] = (1 - k) * EMA[1] + k * Price[0] , where 0 < k <= 1
The period n translates into k = 2/(n+1), so that n >= 1 is required not to violate the allowed range for k. Fractional values for n are possible.
The chart shows a fast EMA with a period of 12.7 and a slow EMA with a period of 38.3. The indicator which can be downloaded here, does not shade the region, a dual MA indicator will be released later.
Category NinjaTrader 7 Indicators
|
|
|