Fred:
 
Your code really shows what AFL can do. I wish we had fopendir() so you don't have to restrict the file names to be ETF#.tls.
As a workaround, we can list all files in the code.I also found it doesn't really need the working watchlist!
You can just loop through the tickers from the file and call foreign() and Atc()!
So two-third of the code can be removed. Just for fun, I have attached an updated version. No JScript needed!
 
- Mark H.
 
----- Original Message -----
Sent: Saturday, September 16, 2006 5:16 AM
Subject: [amibroker] Re: Loading Symbols via AFL--was: I need a little help with an ATC

Attached is an all AFL version that I don’t think is overly complex and requires no interaction during a run.

There are a couple of requirements for file naming but nothing overly restrictive ( See Internal Notes )

It should be run as an Explore on the Current Ticker.  It is irrelevant what ticker that is except possibly in terms of how much data history it has.

The AA Window would show the following info …

Ticker  Date/Time Completed Completed  

~ETF2   9/15/2006 ~ETF1       ~ETF2    

DbgView would show the following info …

Removing Tickers from W/L 63

   ~ETF1

   ~ETF2

Removing Tickers from W/L 62

   $COMPX

   $RUT.X

   $SPX.X

Loading Tickers from C:/Work/ETF1.tls

   $RUT.X

   $SPX.X

   $COMPX

Processing Tickers & Adding to Composite ~ETF1

   $COMPX

   $RUT.X

   $SPX.X

Removing Tickers from W/L 62

   $COMPX

   $RUT.X

   $SPX.X

Loading Tickers from C:/Work/ETF2.tls

   $RUT.X

   $SPX.X

   $COMPX

Processing Tickers & Adding to Composite ~ETF2

   $COMPX

   $RUT.X

   $SPX.X

<<...>>



I am using the free version of SPAMfighter for private users.
It has removed 8504 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!

__._,_.___

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






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Attachment: WLBuildProcess2.afl
Description: Binary data

Reply via email to