It is described here:
https://www.amibroker.com/guide/objects.html
AFL file alone does not necessarily have the complete context and i'm assuming it is in the context of Analysis Window. An APX file would be more appropriate to describe it.
You can also export the results.
You can also run a Batch file from command line.
Search the forum, there are plenty of examples and discussions with the keyword OLE for eg.