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

Re: [amibroker] please help on simple AFL



PureBytes Links

Trading Reference Links

Hi Alex,

If you want the average of an indicator you need to decide on the
period you want to average over.

Lets say you want to buy when the 60 period Moving Average of the
Volume is greater OR equal to 90000.


Buy = MA( Volume, 60 ) >= 90000;


Regards,
William Peters
www.amitools.com




Friday, September 10, 2004, 1:37:12 PM, you wrote:

ah> I'm trying to write a code for scan when average volume is
ah> greater or equal to 90000 then buy. 
 
buy = volume>>=90000; 
 
ah> Is it correct?
 
ah> Thank you
ah> Alex



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