Group.

I have created several ATC's to build composite indexes of some of 
my WatchList. Here is the code I used.

/* AddToComposite statements are for Automatic Analysis -> Scan */
/* add Close price to our index OHLC fields */
AddToComposite(Open, "~CAN SLIM Select Index", "O" );
AddToComposite(High, "~CAN SLIM Select Index", "H" );
AddToComposite(Low, "~CAN SLIM Select Index", "L" );
AddToComposite(Close, "~CAN SLIM Select Index", "C" );
AddToComposite(Volume, "~CAN SLIM Select Index", "V" );
/* add one to open intest field (we use this field as a counter) */
AddToComposite( 1, "~CAN SLIM Select Index", "I" );
Buy = 0; // required by scan mode
/* this part is for Indicator Builder */
PlotForeign("~CAN SLIM Select Index", "~CAN SLIM Select Index", 
colorBlack, style=styleLine); 
Plot(Foreign("~CAN SLIM Select Index","C"),"~CAN SLIM Select 
Index",1,8);

It works fine, however I have to define a filter every time I run 
one of these against a particular Watchlist (In this example the 
Watchlist is caled CAN SLIM Select).

My question is.... Can I put a line of code in this AFL that will 
make it use a specific Watchlist without my having to define a filter
on the AA screen. I'm sure one of you programming Guru's can show me 
how to do this.

Your help is greatly appreciated.

Don Lindberg







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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 



Reply via email to