[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: 3 or more consecutive High



PureBytes Links

Trading Reference Links


Giuseppe; 

An easier way:

conOK= barssince(H<=Ref( H, -1))>3;    


--- In amibroker@xxxxxxxxxxxxxxx, "ami_trader" <ami_trader@xxxx> 
wrote:
> 
> Thank you but it return me H_consecutive == 3 I need H_consecutive 
> >=3
> 
> consec3OK= Sum( C<Ref( C, -1) , >=3) >=3
> 
> ---
> Giuseppe
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "hairy_mug" <WSCHWARZ@xxxx> wrote:
> > 
> > 
> > consec3OK= Sum( C<Ref( C, -1) , 3) ==3 ;
> > 
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "ami_trader" <ami_trader@xxxx> 
> > wrote:
> > > 
> > > How do I code 3 or more consecutive High ?
> > > 
> > > H>Ref(H,-1) && Ref(H,-1)>Ref(H,-2) && Ref(H,-2)>Ref(H,-3) etc...
> > > 
> > > ---
> > > Giuseppe





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/