--- In amibroker@yahoogroups.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