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

[amibroker] another range pattern



PureBytes Links

Trading Reference Links

this is also a nice one:

/*

NRxn: xx consecutive narrowest range bars of the past nn days  

Edward Pottasch, nov 2004

*/

// number of consecutive narrowest range bars
xx = 2;
// timespan in bars over which the narrowest range is calculated
nn = 5;
// range
rng = H - L;
// find narrowest range bars after nn days
tt = LLV( rng, nn) == rng;
// find xx consecutive narrowst range bars
tt = Sum(tt,xx) == xx; 

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]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/