Milosz
June 21, 2018, 10:27am
9
You can do it via OLE - AmiBroker's Automation Object Model. You can find many examples of using OLE on the forum.
https://www.amibroker.com/guide/objects.html
You don't need any external creators to make APX file! It's very simple - just configure all parameters in Analysis Window according to your requirements and click "File/Save As... ProjectName.apx".
You should store ANALYSIS PROJECT (.APX file) via File->Save As instead of just using AFL file. Analysis project contains everything: formula, settings and Apply To/ Range settings. That way you don't need to do anything. Just load analysis project and everything is set up and ready to run.
You might also find this example interesting:
https://forum.amibroker.com/t/export-chart-image-for-each-symbol-in-watchlist-via-explore-or-script-help/6519/2?u=milosz
https://www.amibroker.com/guide/h_newanalysis.html
2 Likes