Ordering Watchlists in Symbols menu

Hello all,

Is there a way to alphabetically order the list of watchlists in the Symbols window? I can't seem to find any way to do this or any thread online. I put number prefixes on my personal watchlists hoping they float to the top, but alas it shows like the picture below.

Any tips to make my life 1% easier? :slight_smile:

symbols

Thanks!
Mike

1 Like

Easiest Method:

Step 1: Close all running instances of AmiBroker;
Step 2: Locate index.txt file located in AmiBroker -> Your Database -> WatchLists folder from Windows Explorer;
Step 3: Open index.txt in MS Excel;
Step 4: Sort the list (A to Z or Z to A) alphabetically or numerically in Excel;
Step 5: Save that .txt file from Excel itself;
Step 6: Re-open AmiBroker and the your WatchList is now sorted.

A little craftier: Code a jScript or a VB. May be for a later day!

2 Likes

@rocketPower Manually you can move watchlists,

Symbol ---> Categories ---> Watchlists ---> Move Up or Move Down
image

Credit to @Milosz who had already posted that awhile ago

4 Likes

Awesome thanks everyone! There a 'hack' and an 'official' solution, very cool!

Regards
Mike

By the way, this doesn't change their watchlist ID number, right?

Thanks!
Mike

If you move list which had WL number 0 before down to position 5 then it will have new watchlist number 4.

But you can get watchlist number by watchlist name also.

4 Likes

Thanks I'll keep that in mind to use watchlist names and not numbers when I select one in code.

Regards
Mike