Gakkhar,

Sorry, just realised BarIndex is not a new function - I got confused
by the red star in the help. And according to the help, it may not be
accurate if QuickAFL is on, in which case you might need:

bi = BarIndex();
Formula1 = IIf(bi-bi[0]==BarCount-1, Formula1, Null);

GP


--- In [email protected], "gp_sydney" <[EMAIL PROTECTED]> wrote:
>
> Gakkhar,
> 
> Just noticed there's a new function BarIndex() that is supposedly
> faster than Cum():
> 
> Formula1 = IIf(BarIndex()==BarCount-1, Formula1, Null);
> 
> GP
> 
> 
> --- In [email protected], "Vinay Gakkhar." <vgakkhar@> wrote:
> >
> > Dear GP,
> > 
> > You're right! I should have noticed it myself.
> > 
> > Many thanks for your guidance.
> > 
> > gakkhar
> > 
> > ------- Forwarded message -------
> > From: gp_sydney <gp.investment@>
> > To: [email protected]
> > Cc:
> > Subject: [amibroker] Re: PLOTTING OUTPUT
> > Date: Tue, 19 Jun 2007 04:03:44 +0530
> > 
> > Gakkhar,
> > 
> > My statement:
> > 
> > > Formula1 = IIf(Cum(1)==BarCount, Formula1, Null);
> > 
> > Your statement:
> > 
> > > formula1 = IIf(Cum(0)==BarCount, formula1, Null);
> > 
> > Spot the difference...
> > 
> > GP
> >
>


Reply via email to