--- In amibroker@yahoogroups.com, "John Bollinger" <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'd like to change a calculation as I get within n periods of the end
> of an array in real time.
Many thanks to all who replied.
jab
John,
I'm not an afl expert, but think you will need to use a loop.
Ex:
Z=BarIndex()-LastValue(BarIndex())-n>0;
for (i=0; i wrote:
>
> Hello,
>
> I'd like to change a calculation as I get within n periods of the
end
> of an array in real time.
>
> if (BarIndex() <= LastValue(BarIndex) - n)
>