Thanks for the reference. I've now been able to translate my
Metastock code into Amibroker language.
--- In amibroker@yahoogroups.com, "wavemechanic" <[EMAIL PROTECTED]> wrote:
>
> http://finance.groups.yahoo.com/group/amibroker/message/80361
>
> - Original Message -
> From: "walkegra
--- In amibroker@yahoogroups.com, "walkegra" <[EMAIL PROTECTED]> 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 "pr
variable=0;
for(i=1;i 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 formula