Thank you Tomasz,
I had some help and it is working now.
herman
Monday, December 31, 2007, 6:40:58 PM, you wrote:
|
> |
Hello,
atcFlagDeleteValues passed in flags parameter of AddToComposite deletes all DATA from the composite. http://www.amibroker.com/guide/afl/afl_view.php?addtocomposite
If you want to delete symbols you need to use OLE interface
AB = CreateObject("Broker.Application"):
AB.Stocks.Remove("~YOUR_COMPOSITE"); // this one-liner removes the composite.
http://www.amibroker.com/guide/objects.html
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: Herman To: Prashanth Sent: Monday, December 31, 2007 4:48 PM Subject: Re: [amibroker] I give up! (how to delete a composite) Thanks guys, good solutions but they are work-arounds that take too much time. I need to delete ATCs in real time under afl control. Its easy to create composites but there seem to be no functions to clean up the mess afterwards (from afl). Its got to be out there somewhere. I am pretty sure we discussed this before and that a solution was offered. Things like that always get lost on the lists, that is why I like the KB/UKB much better; at least there you can find complete solutions. Lists as a substitute for Help/kb files only leads to frustration and wasting time. On that happy note :-) anyone else knows the solution? herman
For tips on developing Real-Time Auto-Trading systems visit: http://www.amibroker.org/userkb/ Monday, December 31, 2007, 10:39:23 AM, you wrote:
|