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

[amibroker] Re: AmiBroker 4.61.0 BETA released



PureBytes Links

Trading Reference Links

I am trying to code the distribution days outlined by O'Neil in his 
book, and I seem to remember it being discussed here some time ago, 
but could not find it with a search.

Anyway, what I am wondering, is how do you write the code for 3 
occurrences (or more) of your variable over the last 10 bars?

I have everything except for trying to code 3 distribution days over 
the previous 10 bars.  And I am wondering if there is a "count" 
function in Amibroker that I have overlooked from the 
documentation.  Any help is greatly appreciated!!


Distribution = IIf( (Close < Ref( Close, -1 ) AND V > Ref(V,-1) ), 
colorRed, colorBlue );

Plot( Volume , "Volume", Distribution , styleLeftAxisScale | 
styleHistogram | styleThick );




------------------------ 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/