Thanks Mike. Perfect.
--- In [email protected], "Mike" <sfclimb...@...> wrote:
>
> Bruce provided a similar example last year:
>
> http://finance.groups.yahoo.com/group/amibroker/message/139299
>
> Mike
>
> --- In [email protected], "Rob" <sidhartha70@> wrote:
> >
> > Hi All,
> >
> > I'd like to code an adaptive standard deviation... I think I use the right
> > term.
> >
> > Lets pretend todays first interval is bar one, I'd like to calculate a
> > standard deviation for each bar based on the number of bars we've had so
> > far today.
> >
> > The StdDev() function clearly only takes a fixed period for it's
> > calculation. In this example the 'period' would increase by one each time
> > we get a new interval.
> >
> > Any ideas...?
> >
> > Am I going to have to use a loop and calculate it manually...?
> >
> > Thanks
> >
>