Thanks! You are a genius!  ;-)

2008/2/26, tuzo_wilson <[EMAIL PROTECTED]>:
>
>   --- In [email protected] <amibroker%40yahoogroups.com>, "Louis
> Pr�fontaine" <[EMAIL PROTECTED]>
> wrote:
>
> > I want number 3 but I must absolutely use array but I don't know how
> to do
> > it.
>
> Graham has given the answer on the other thread: assign to an array
> outside of the loop and then access by index within the loop.
>
> e.g.
>
> CloseEMA = EMA(C,50);
>
> for(;;)
> {
> // ...
> if (Close[i] <= CloseEMA[i - 1])
> {
> ///...
> }
> }
>
> Tuzo
>
>  
>

Reply via email to