Gakkhar,

For 'n' bars:

Formula1 = IIf(Cum(1)>BarCount-n, Formula1, Null);

GP


--- In [email protected], "Vinay Gakkhar." <[EMAIL PROTECTED]> wrote:
>
> Dear GP,
> 
> If, instead of 1 bar, I want 2 or 3 bars, what change should I make
in the formula?
> 
> 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