PureBytes Links
Trading Reference Links
|
> How can you input fractional values as MA periods?
Exponential averages don't need integer numbers. The formula is
factor = 2/(1 + period)
average =
((1 - factor)*(last bar's average)) + (factor*(this bar's price))
Some versions use period as the input and some have you input the factor
directly. Either one can be a fraction.
--
Dennis
|