# marco999/amibroker architecture

> Architecture diagram of the GitHub repository marco999/amibroker, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/marco999/amibroker
- Repository: https://github.com/marco999/amibroker

## Overview

This repository is a collection of AmiBroker AFL formulas, organized around charting, indicators, trading systems, scans, and performance analysis. A typical use is to select a formula in AmiBroker and view a chart or run an analysis; the tree supports these capabilities, but the README and available excerpts do not document runtime wiring between them. The graph therefore shows the formula catalog and its domain areas without implying calls or data flow between scripts.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_charts["Charting"]
  node_basic_charts["Basic charts"]
  node_averages_bands["Averages and bands"]
end

subgraph group_indicators["Indicators"]
  node_standard_indicators["Standard indicators"]
  node_custom_indicators["Custom indicators"]
  node_drag_drop["Drag-drop formulas"]
end

subgraph group_trading["Trading Analysis"]
  node_systems["Trading systems"]
  node_custom_systems["Custom strategies"]
  node_scans["Scans and exploration"]
  node_equity["Equity analysis"]
  node_reports["Performance reports"]
  node_exploration["Exploration charts"]
end

subgraph group_shared["Shared Formulas"]
  node_includes["Reusable includes"]
  node_utilities["Formula utilities"]
end

node_user(("AmiBroker user"))
node_amibroker["AmiBroker"]

click node_basic_charts "https://github.com/marco999/amibroker/tree/master/Formulas/Basic%20Charts"
click node_averages_bands "https://github.com/marco999/amibroker/tree/master/Formulas"
click node_standard_indicators "https://github.com/marco999/amibroker/tree/master/Formulas/Indicators"
click node_custom_indicators "https://github.com/marco999/amibroker/tree/master/Formulas/Custom/06%20Indicators"
click node_drag_drop "https://github.com/marco999/amibroker/tree/master/Formulas/Drag-drop"
click node_systems "https://github.com/marco999/amibroker/tree/master/Formulas/Systems"
click node_custom_systems "https://github.com/marco999/amibroker/tree/master/Formulas/Custom/05%20Development"
click node_scans "https://github.com/marco999/amibroker/tree/master/Formulas/Custom/08%20Scans"
click node_equity "https://github.com/marco999/amibroker/tree/master/Formulas/Equity"
click node_reports "https://github.com/marco999/amibroker/tree/master/Formulas/Report%20Charts"
click node_exploration "https://github.com/marco999/amibroker/tree/master/Formulas/Exploration"
click node_includes "https://github.com/marco999/amibroker/tree/master/Formulas/Include"
click node_utilities "https://github.com/marco999/amibroker/tree/master/Formulas/Custom/07%20Utility"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_basic_charts,node_averages_bands,node_user toneBlue
class node_standard_indicators,node_custom_indicators,node_drag_drop toneAmber
class node_systems,node_custom_systems,node_scans,node_equity,node_reports,node_exploration toneMint
class node_includes,node_utilities toneRose
class node_amibroker toneIndigo
```

## Components

### Charting

- [Basic charts](https://github.com/marco999/amibroker/tree/master/Formulas/Basic%20Charts): `Formulas/Basic Charts`
- [Averages and bands](https://github.com/marco999/amibroker/tree/master/Formulas): `Formulas`

### Indicators

- [Standard indicators](https://github.com/marco999/amibroker/tree/master/Formulas/Indicators): `Formulas/Indicators`
- [Custom indicators](https://github.com/marco999/amibroker/tree/master/Formulas/Custom/06%20Indicators): `Formulas/Custom/06 Indicators`
- [Drag-drop formulas](https://github.com/marco999/amibroker/tree/master/Formulas/Drag-drop): `Formulas/Drag-drop`

### Trading Analysis

- [Trading systems](https://github.com/marco999/amibroker/tree/master/Formulas/Systems): `Formulas/Systems`
- [Custom strategies](https://github.com/marco999/amibroker/tree/master/Formulas/Custom/05%20Development): `Formulas/Custom/05 Development`
- [Scans and exploration](https://github.com/marco999/amibroker/tree/master/Formulas/Custom/08%20Scans): `Formulas/Custom/08 Scans`
- [Equity analysis](https://github.com/marco999/amibroker/tree/master/Formulas/Equity): `Formulas/Equity`
- [Performance reports](https://github.com/marco999/amibroker/tree/master/Formulas/Report%20Charts): `Formulas/Report Charts`
- [Exploration charts](https://github.com/marco999/amibroker/tree/master/Formulas/Exploration): `Formulas/Exploration`

### Shared Formulas

- [Reusable includes](https://github.com/marco999/amibroker/tree/master/Formulas/Include): `Formulas/Include`
- [Formula utilities](https://github.com/marco999/amibroker/tree/master/Formulas/Custom/07%20Utility): `Formulas/Custom/07 Utility`

### Other components

- **AmiBroker user**
- **AmiBroker**
