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." <[EMAIL PROTECTED]> wrote:
>
> Dear GP,
> 
> You're right! I should have noticed it myself.
> 
> Many thanks for your guidance.
> 
> gakkhar
> 
> ------- Forwarded message -------
> From: gp_sydney <[EMAIL PROTECTED]>
> 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