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

RE: moving average (I screwed up)



PureBytes Links

Trading Reference Links

sorry for that previous garbage, I screwed up

this is what it should be:


(DAY1+DAY2+DAY3+DAY4) - (Average DAY1 THRU DAY3) /3 (divide by 3 if a 3 bar
average)

next day
(day1+day2+day3+day4+day5) - (average day1 thru day4) /3

next day
(day1+...+day6) - (average of day1 thru day5) /3

and so on

thanks

Paul

> -----Original Message-----
> From: owner-metastock@xxxxxxxxxxxxx
> [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Fred Naef
> Sent: Saturday, July 25, 1998 10:32 AM
> To: metastock@xxxxxxxxxxxxx
> Subject: Re: moving average
>
>
> Paul wrote:
> >
> > hello,
> >
> > I need an average that is similar to a simple average but instead of
> > subtracting the earliest bar (when adding new one) I would
> subtract average
> > of ,say 5 latest bars (in case of a 5 bar average). thanks
> > Paul
> Paul:
>
> Don't really get your point, but I suggest you look at exponential
> moving averages or weighted averages: they are a closer fit than
> Simple moving averages.
>
>