When everything fails, consult the manual.
It is BUILTIN AFL function:
CategorySetName()
And it works not only with watchlist but also with any other
category
Best regards,
Tomasz
Janeczko
amibroker.com
----- Original Message -----
Sent: Wednesday, May 13, 2009 12:49
PM
Subject: Re: [amibroker] Re: Change
Watchlist name in AFL ...
Thanks Richard. I know that I can modify the
TLS's but still hoped to find instructions in the AmiBroker Object Model
environment or even in plain AFL to do the job. Something like
ModWLName(6,"MyWatchList") ... I had the feeling that I was overlooking something but am getting the
impression that it's just not there ...
Regards, Ton.
----- Original Message -----
Sent: Wednesday, May 13, 2009 11:56
AM
Subject: Re: [amibroker] Re: Change
Watchlist name in AFL ...
I don't think it's possible using the Object Model.
However, you
could rename the .tls file in the Watchlist folder of your
Database/Workspace folder (ie C:\Program
Files\AmiBroker\DBName\Watchlist) - you might also want to
change the index.txt file too.
Note that any changes that you make
won't take effect until the next time the Workspace is opened, so be wary
of doing this whilst it's in operation.
Best regards,
Richard Dale.
Norgate Investor Services
- Premium quality Stock, Futures and Foreign Exchange Data for
markets in Australia, Asia, Canada, Europe, UK & USA -
www.premiumdata.net
--------
Original Message --------
Subject: [amibroker] Re: Change
Watchlist name in AFL ...
From: amsiev <ton.sieverding@scarlet.be>
To:
amibroker@xxxxxxxxxps.com
Date:
wed, 13 may 2009 09:10:47 -0000
--- In amibroker@xxxxxxxxxps.com, "amsiev"
<ton.sieverding@...> wrote:
> I know how to change a
Watchlist name. Say List01 -> MyWL1 etc. manually. But how can I
change a Watchlist name using the AmiBroker Object Model
?
>
CAN ANYBODY GIVE ME AN ANSWER ON THE ABOVE
???