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

[amibroker] Triple Moving Average formula question ??



PureBytes Links

Trading Reference Links

I am trying to write a indicator formula similiar to the "Sun and 
Cloud" formula appearance in the AFL formulas area with the following 
characteristics and am stuck, any ideas ???

1 - If the 20 day (or week) MA breaks above the 35 day (or week) MA 
AND the price is above the 50 MA  = yellow fill-in (like on sun and 
cloud indicator) or yellow up arrow to be generated.

2 - If the 20 day (or week) EMA breaks above the 50 day (or week) EMA 
= green fill-in (like sun and cloud indicator) or green up arrow AND 
the price is above the 50 day (or week) EMA.  (this is a confirmed 
buy signal)

3 - If the 20 day (or week) EMA breaks BELOW the 35 day (or week) EMA 
and the price is below the 50 MA = yellow fill-in or yellow down 
arrow.

4 - If the 20 day (or week) EMA breaks below the 50 day (or week) EMA 
and price is below the 50 MA = red fill-in or red down arrow. 
(confirmed sell signal)

Any help would be much 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/