September 1, 2006

In order to automatically change a property for many symbols – instead of manual action in Symbol -> Information dialog one can use OLE automation. For example – to unmark “Use only local database” option for all the symbols, it’s enough to run such SCAN:

The other example shows how to rename all the symbols and replace .TO suffix with -TC (this may be useful when we want to use the existing historical data with a new datasource which uses a different symbology).

– press APPLY– use: VIEW -> Refresh All to see the changes in the symbol tree.

CAVEAT: The commentary formula above iterates through ALL SYMBOLS in the database, therefore, if your database is big (has more than 100 symbols) it may be SLOW, and you may experience “not responding” message, but it is NORMAL. It does not mean that program has stopped working. It just means that it has not completed iteration yet. In that case just WAIT and don’t touch it.

This site uses cookies. By browsing this site you agree to our privacy & cookies policy
Amibroker.com is a software development company and does not provide any kind of investment or brokerage services in financial markets.