PureBytes Links
Trading Reference Links
|
variable=0;
for(i=1;i<BarCount;i++)
{
.....
variable = variable + change;
.....
}
--- In amibroker@xxxxxxxxxxxxxxx, Keith McCombs <kmccombs@xxx> wrote:
>
> See *Ref( ARRAY, /period/ ). *The close 10 bars previously would be
> Ref(C, -10).
>
> walkegra wrote:
> >
> > Does anyone know how to code the equivalent of Metastock's "PREV"
> > function in Amibroker?
> >
> > (PREV allows you to create self-referencing formulas. A self
> > referencing formula is one that is able to reference the "previous"
> > period's value of itself.)
> >
> >
>
|