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

[amibroker] Simple formula question



PureBytes Links

Trading Reference Links

I am trying to write a simple formula for the following and have some 
of it written but am stuck near the end - 

"Buy only if the 15 day MA crosses above the 35 day MA and the 
crossover occurs below the 150 day moving average" 

here is what I have - "Buy=cover=cross(graph8,graph9)________"

graph 8 and 9 are the 15 and 35 day MA. 

How can I write out the end "and the crossover occurs below the 150 
day MA" ?

Any help appreciated ??

cheers - jmb 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/