Tomasz --
It seems to me that a fairly simple solution (from the users point of
view) is to allow InWatchList() to accept a "string" as well as a number.
Also would be nice if user only had to enter the first unique characters
in the the string. If I have only two watchlists called
"myfirstwatchlist" and "mysecondwatchlist" the I would get the first one
with InWatchList("myf").
-- Keith
Tomasz Janeczko wrote:
Hello,
>
> Is there an easier way to get it back other than taking AB down and
> editing index.txt ?
No.
> My real reason for writing, though, is related to the Analysis.Filter
> property of the automation interface. You've probably already thought
> of this - if the watchlist numbers can change, there is probably a
> need to set the filter by name so that automation scripts don't need
> to change.
Yes I was thinking about it to and there will be
CategoryGetIndex( name, category )
that will return index based on name provided.
(complementary function to already existing CategoryGetName)
As for OLE automation - I did not yet decide but something
similar will be implemented in the future.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "bruce1r" <[EMAIL PROTECTED] <mailto:brucer%40zwave.net>>
To: <[email protected] <mailto:amibroker%40yahoogroups.com>>
Sent: Thursday, April 05, 2007 4:54 PM
Subject: [amibroker] Re: AB vers 4.91
> TJ -
>
> Is there an easier way to get it back other than taking AB down and
> editing index.txt ?
>
> My real reason for writing, though, is related to the Analysis.Filter
> property of the automation interface. You've probably already thought
> of this - if the watchlist numbers can change, there is probably a
> need to set the filter by name so that automation scripts don't need
> to change. For example, say watchlist 64 is called TLS1, then
> something like -
>
> Analysis.FilterName( 0, "watchlist" ) = "TLS1";
>
> -- Bruce R.
>
> P.S. I'm in the middle of something that can really make use of these
> extended watchlists - great addition !
>
> --- In [email protected]
<mailto:amibroker%40yahoogroups.com>, "Tomasz Janeczko" <[EMAIL PROTECTED]>
wrote:
>>
>> Ara,
>>
>> Make sure it is really 11th watch list.
>> Watch lists are numbered in the order they appear in the tree.
>> If you delete watch list that is not the last one, then
> higher-numbered watch lists are re-numbered.
>>
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message -----
>> From: Ara Kaloustian
>> To: AB-Main
>> Sent: Thursday, April 05, 2007 7:20 AM
>> Subject: [amibroker] AB vers 4.91
>>
>>
>> Having problems with using
>>
>> List = CategoryGetSymbols(categoryWatchlist,11);
>>
>> The list returns a blank. The watchlist is populated and contents
> visible.
>>
>> Anyone having this problem?? Has there been a change in the way
> the watchlist is labeled??
>>
>> Ara
>>
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/ <http://www.amibroker.com/devlog/>
>
> For other support material please check also:
> http://www.amibroker.com/support.html
<http://www.amibroker.com/support.html>
>
> Yahoo! Groups Links
>
>
>
>
>