[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modified moving average..



PureBytes Links

Trading Reference Links


Is it possible to calculate the MODIFIED moving average
(Perry Kaufman) within Metastock? I am told it can be done 
with TradeStation and CQG..

Here is the formula:-
MAV(t) = MAV(t-1) + [P(t)-MAV(t-1)]/n

Where:
MAV(t) is the current modified moving average
MAV(t-1) is the previous modified moving average value
P(t) is the current price (or value to be smoothed)
The starting point is calculated as a simple moving average..

When I try this in Metastock I get an error about a 
circular reference (due to referring to the prior
day's value of this formula).

Thanks in advance,
-Neal.