How to export chart image to a file. Was: How to run AFL formula by command line?

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 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