How Amibroker works?

I want to understand how Amibroker works with any AFL. What its workflow is like.
I'm not a computer scientist, much less a programmer, but I'd like to learn. I'm a visual person, and I want to create some kind of Process and Workflow Diagram.

I'm more or less clear that Amibroker performs a SEQUENTIAL READ from top to bottom of the code lines and then performs a PARALLEL EXECUTION on each bar of the history (or something like that).
I want to understand when and how it detects functions, constants, dynamic and static variables, parameters... When and how it generates the TRADE TREE (or something like that I've read), etc.
I want to understand when and how it CONFIGURES THE BACKTEST ENVIRONMENT (SetOption, SetBacktestMode, equity, positions, etc.).

Where can I find this information? I'm looking in the Ami User Guide, Know Base 2, but I can't find what I'm looking for.
Please see if you can help me.

1 Like

This is what I achieved with GPT but I want much more detail:

GPT description is pretty good already.

1 Like

Thank you very much, Mr. Tomasz.

Could you tell me where I can get more details on this aspect of the workflow?

Users Guide provides all information about all functions.

1 Like