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

[amibroker] AA on multiple watchlists



PureBytes Links

Trading Reference Links

All,

I am trying to formulate an AA where I find strong sectors ( from my 
TC2000 data, symbols MG111 - MG999), and then use the strong sectors 
as a trigger for stocks from S&P 500 which pass my other AA formula. 
So, in effect, I scan a "Sector Indicators" Group with one formula, 
collect all the strong sectors, then scan the S&P 500 with another 
formula, and only generate a buy if the S&P symbol is from a currently 
strong sector as defined from the previous scan.

1) Scan "Apply To->Group->Sector Indicators" with AA formula to 
identify strong sectors

2) Collect the SectorID of every sector which is currently strong

3) Scan a differnt stock list, "Apply To->Watch List->S&P 500", with 
my signal generating AA formula, which is different from the strong 
sector formula.

4) For every buy signal generated from 3, filter the symbols sector ID 
against the list of strong sectors. If there is a match, execute the 
buy, otherwise discard the signal.

I don't know if this can be done in AB. I need to create a list from 
one scan and be able to refernce it in another. If I could run two 
indenpendent scans within one AA, then I could load the sector ID's 
into a static variable, but I would still need to change the watchlist 
between the two scans. 

Any ideas on how or if this can be accomplished?

TIA

Tom







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/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/