Re: [amibroker] Switch Watchlist inside a single AFL

 

I use

index   =  CategoryFind( ''your list name'', category )
CategoryGetSymbols( category, index, mode = 0 ) ;


   for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ )
   {

etc

This will switch watchlists but you have to extract the symbols and run code inside loop.
}


On 3/28/2016 8:20 PM, reefbreak_sd@yahoo.com [amibroker] wrote:
 

I am searching for a way to switch to another Watchlist inside a single AFL.


In Analysis mode setup pick a formula then a WatchList in Filter -> Include -> Watchlist -> SP500

Now execute some code using the SP500 watchlist  -  then:

In the execution stream of the AFL switch to another Watch list -> SP100

Then execute some more code with the SP100 watchlist.

Then exit.


Is this possible?


ReefBreak


__._,_.___

Posted by: Ara Kaloustian <ara1.kaloustian@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon