You can use this to put the tickers in a certain watch group and then delete
them via the Assignments like Prashanth said.
Use this in Analysis, auto Analysis and then run explore. Then use Symbol
--> Organize Assignments --> Select Watch Group 63 and delete all symbols in
it.
/* Use to find various tickers that will then be added
to watch list */
AddTextColumn(FullName(),"Name",1.2,colorBlack);
//AddTextColumn(IndustryID(1), "Indistry");
//AddTextColumn(GroupID(1), "Group");
//AddTextColumn(MarketID(1), "Market");
Filter = 1;
if( Filter=StrFind(Name(),".X"))
{
CategoryAddSymbol( "", categoryWatchlist, 63 ); // adds to a watchlist
named 63
}
_____
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Prashanth
Sent: Monday, December 31, 2007 10:39 AM
To: [email protected]
Subject: Re: [amibroker] I give up! (how to delete a composite)
Herman,
If you want to delete atc's having a particular substring, the best option
in my opinion is to Export the ATC list to Excel, there using AutoFilter,
Filter for your choice of tickers to be deleted. Save the results in a
seperate csv and then import them into a watchlist and delelte using
Organize Assingments.
Hope this method helps you in achieving the desired result.
Cheers
Prashanth
----- Original Message -----
From: Herman <mailto:[EMAIL PROTECTED]>
To: AmiBroker <mailto:[email protected]> Users Group
Sent: Monday, December 31, 2007 8:30 PM
Subject: [amibroker] I give up! (how to delete a composite)
anyone knows where to find the code to delete (remove permanently from the
db) a composite? I had it at some point but lost it.
Also, can wild cards be used? If i have 100 composites and want to delete
them based on a substring, how to do that?
I spend two hours looking everywhere, lots of references to its need and how
to code it (relevant posts/comments go back several years!) but they are all
fragments that presume ole knowledge. Its a real pain to have to waste so
much time on finding such a simple function.
Anyone want to make my day and give me a complete working solution?
many thanks and a happy new year!
herman