[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Cleanup Australian database.



PureBytes Links

Trading Reference Links

You could write a small piece of AFL for a scan and run it over all
symbols, adding all with 6 characters to a watchlist. Then go to the
Organise Symbols section and delete everything in the resulting watchlist.

For the scan, something like:

if (strlen(Name()) == 6)
    CategoryAddSymbol("", categoryWatchlist, 1); // For watchlist 1
Buy=0; // So scan will run
Sell=0;

Obviously choose an empty watchlist before running the scan.

An alternative would be to write a script similar to the cleanup
script. That would be a bit easier to use if you wanted to do it
regularly.

GP


--- In amibroker@xxxxxxxxxxxxxxx, "alan4171" <alan4171@xxx> wrote:
>
> I have converted my Metastock data to an Amibroker database.
> I want to remove all the warrants. i.e. all 6 letter codes.
> How do I do this automatically? It's obviously too tedious and time
> consuming to do it manually.
> Hopefully there is some built-in feature that I've missed !!
> Thanks.
> Alan
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/