After a restart of my computer all my Amibroker windows are black and show the information:
"formula file cannot be found". Another restart doesnt help. My paths are correct. Is there a possliblity to repair that?

Sometimes I have the same problem when I have several AmiBroker instances running with different databases and add a new chart to one of the instances.
After restarting AmiBroker, I get exactly this message.
This can occur if broker.newcharts file that stores ChartID relationship with formula name doesn’t have proper reference to formula. This can happen if you run multiple instances of AmiBroker at once for the same folder and you add / remove charts in both instances. Then when you exit the instance changes are saved, but when you exit second or subsequent instances changes are saved too but they overwrite what was saved by other instance. Last save wins. When changes you made in different instances are different this leads to inevitable mismatch. The solution is either to run single instance, run with different “start in” folders or don’t modify setups in both running instances at the same time.
Please note that AmiBroker automatically creates broker.newcharts.bak file that contains backup of previous content of the file and you can use it to restore it in case of problems.
The other reason for this message might be abrupt termination of the program for example during power failure or forced shutdown when application is not given time to finish writing. Again bak file can be used to restore.
Even simpler “fix” to the problem is just inserting formula again as explained in the manual How to use 'drag and drop' charting interface
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.