PureBytes Links
Trading Reference Links
|
Suree,
actually I found that I did not program the pattern as intended. The "official" pattern takes the narrowest range in the last nn days. I calculated the narrowest consecutive range in the last nn days. The number of signal points obviously decreases but you can see (at least if I look at Nasdaq 100 stocks) that it signals crucial price point very often. Like with the squares (code I posted earlier) you could add your long and short breakout levels (+ stop loss levels) on days following a signal.
So the code only finds possible entry points.
rgds, Ed
----- Original Message -----
From: suree namsiripongpan
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, November 17, 2004 6:42 PM
Subject: Re: [amibroker] range pattern
Hello, Ed
What is the implication of range pattern ? I got some
circle some break up some break down ?? More clue
please.
--- ed nl <ed2000nl@xxxxxxx> wrote:
> /*
>
> IDNRn: an inside day with the narrowest range of the
> past nn days
>
> Edward Pottasch, nov 2004
>
> */
>
> // number of days
> nn = 3;
> // range
> rng = H - L;
> // consecutive narrowing range
> cons = barssince( rng >= ref(rng,-1) );
> // find the pattern IDNRn
> tt = cons == nn AND Inside();
>
> Plot(C,"",colorGreen,64);
> PlotShapes(shapeCircle * tt,colorWhite, layer = 0,
> yposition = (H+L)/2, offset = 0 );
>
> [Non-text portions of this message have been
> removed]
>
>
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
b.. To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|