PureBytes Links
Trading Reference Links
|
I'm not quite sure that I understand the rules. From what I
understood, you might want to try this:
a:=L=LLV(L,20);
buy:=a AND Ref(BarsSince(a),-1)>=3;
b:=H=HHV(H,20);
sell:=b AND Ref(BarsSince(b),-1)>=3;
stbuy:=If(BarsSince(buy)<BarsSince(sell),1,0);
(stbuy>Ref(stbuy,-1))-((1-stbuy)>Ref(1-stbuy,-1))
Regards,
mc
--- In equismetastock@xxxxxxxxxxxxxxx, "James Briggs" <jobriggs2@xxx>
wrote:
>
> In Street Smarts(Connors & Raschke)there is a testing concept that Buys
> on a 20 Day low and Sells on a 20 Day high.
> BUY: 1. Today must make a 20 day low.
> 2. The previous 20 day low must have occurred at least four
> trading sessions earlier.
>
> SELL: reverse of Buy.
>
> I have tried using the If condition with LLV and HHV to get the Binary
> Wave with partial success but it's still not right. I've noticed that a
> lot of Buys only last a few days so I tried to add the OR function to
> get a Sell if there is a loss of x % over last n of days without
> success. Any help appreciated.
>
> Jim
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|