PureBytes Links
Trading Reference Links
|
correct it should have been ==3 as there were only 3 bars considered,
but the result would have been the same.
You can use (I do)
Cond = sum(H>ref(H,-1), 5) >=3;
On Wed, 16 Mar 2005 23:13:58 -0000, ami_trader <ami_trader@xxxxxxxxx> wrote:
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> > you might find similarity to some of the responses above
> >
> > cond = sum(H>ref(h,-1),3)==3; // 3 consecutive higher highs
>
> Thanks Graham but I need >=3 not ==. I think sum function doesn't
> permit >=3.
>
> ---
> Giuseppe
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ 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/
|