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

[amibroker] Going Long when ROC of Subsector is Positive - HELP



PureBytes Links

Trading Reference Links

Many people buy stocks only when their group (sector or industry)
shows some strength). I am interested in this approach and I would
appreciate any help (including a reference) in writing a formula to
accomplish this with subsectors in AB. By a subsector in AB I mean any
member of a sector listed in AB. For instance, "Energy-Alternatives"
is a subsector of the "Energy" sector.
I want AB to scan for stocks (satisfying some additional conditions)
only when the corresponding Subsectors have a positive ROC in a given
period.

Using the AddComposite function I have created the data (Closing
prices) for the Subsectors. Suppose that ~XX is a Subsector containing
stock X. I want X in the results only if ROC(Foreign("~XX", "C"), 50) > 0;

Thank you,

Jim

 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/