Hello fbsmithj For Explores you probably need to control Amibroker externally with either a program called Batman or your own jScripts. The results can be exported to files or Excel data sheets.
With either approach you can load a specific AFL and run it against specific watchlists. If you wrote a general AFL, you can switch from strategy to strategy, as well as watchlist to watch list. Here's an example of stepping through and clearing multiple watchlists (1-31 ) the first time the program is entered in a SCAN action. Batman is in the forum files section. Hope this helps Joe //----------------- Clear the watchlists from 1 to 31 to receive the component stocks for 29 Sectors plus undefined issues // But do this only once as you scan IndNum = IndustryID(0); if ( Status( "action" ) == 3 AND Status( "stocknum" ) == 0 ) // 3 is SCAN 4 is Explore running a scan and it's the first stock { // clear Watchlists used to store composite symbols of QP Sector Runs for (WL = 1; WL <=31; WL++) { ClearList = GetCategorySymbols(categoryWatchlist, WL); for( i = 0; ( symC = StrExtract(ClearList, i) ) != ""; i++ ) { CategoryRemoveSymbol( symC, categoryWatchlist, WL ); } } } else ----- Original Message ----- From: "fbsmithj" <[EMAIL PROTECTED]> To: <amibroker@yahoogroups.com> Sent: Tuesday, August 15, 2006 12:34 PM Subject: [amibroker] How to get the active WatchList number > Is it possible to get the active WatchList number from an AFL? - > alternatively, is it possible to set the active WatchList from an AFL? > I have different AFL strategies for different WatchLists and it is a > pain to have to manually change both active WL and corresponding AFL > for running Explores. > > > > > > > > > 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 > > > > > > > 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: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/