PureBytes Links
Trading Reference Links
|
Herman - you can appreciate that this comes from the never ending Infoselect database.
This may remove the ticker symbol "TickerToDelete" from the database entirely. I have not
tested this
Joe Landry
//Delete a single stock from the symbol list
{
AB = CreateObject("Broker.Application");
st = AB.Stocks;
st.Remove(TickerToDelete);
}
----- Original Message -----
From: Duke Jones, CMT
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, February 06, 2007 1:10 PM
Subject: Re: Re[2]: [amibroker] Deleting composites
Herman, if your just trying to limit the number you follow in a watchlist you can use the something like the following...
WL=63; //Watchlist number
if( LastValue( C ) < 0 )
{
CategoryRemoveSymbol( "", categoryWatchlist, WL );
}
When I build the composites I dump them into a group that I then can delete with ease using the method describe earlier.
{
CategoryAddSymbol( "", categoryGroup, 63 );
}
If you find another way to delete the composites please post the solution.
Regards,
Duke Jones, CMT
> -------Original Message-------
> From: Herman <psytek@xxxxxxxx>
> Subject: Re[2]: [amibroker] Deleting composites
> Sent: 07 Feb '07 00:51
>
> Thank you but i need to do this from afl...
>
>
> I am generating many temp composites and want to clear them automatically.
> I could "delete" them but I think that would mess up my master file.
>
>
> any idea?
>
>
> herman
>
>
> Tuesday, February 6, 2007, 1:35:58 PM, you wrote:
>
>
> >
>
> Go to Symbol/Organize, choose Groups, tab down to group 253, highlight all
> the composites in group and press the Delete button.
>
>
> --------------------
>
>
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf Of Herman
>
> Sent: Tuesday, February 06, 2007 8:28 AM
>
> To: _AmiBroker
>
> Subject: [amibroker] Deleting composites
>
>
> Hello,
>
>
> would anyone know how to delete ALL composites in Group 253 from afl?
>
>
> TIA,
>
> herman
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.28/672 - Release Date: 2/6/2007 10:22 AM
|