Skip to content

Sources and verification

Nothing about AmiBroker behaviour, AFL syntax, backtest metric names or data-vendor capability appears in this course without having been checked against an official source. Where something could not be verified, the course says so rather than filling the gap with a confident guess.

Sources are used in this order of authority:

  1. AmiBroker User’s Guidehttps://www.amibroker.com/guide/
  2. AFL Function Reference — the per-function pages under /guide/afl/
  3. AmiBroker Knowledge Basehttps://www.amibroker.com/kb/
  4. Release notes and What’s New
  5. Official documentation from the relevant broker or market-data vendor

Forum posts, blogs and videos are useful for understanding why something works the way it does. They are never used to establish that it works that way, and they never override the User’s Guide.

The course is written against AmiBroker 7.00.1, released 22 December 2025. Most of the material applies unchanged to 6.x, and where behaviour is version-dependent the lesson says which version it is describing.

That claim has limits worth stating plainly:

  • AFL syntax, argument order, return types and documented behaviour were checked against the official reference for every function the course uses.
  • The formulas were written to that documentation and reviewed against it.
  • They have not been executed against a live AmiBroker installation as part of producing this site, because that requires a licensed Windows installation and a data set. Every example therefore tells you how to test it yourself, and the lessons ask you to verify results rather than trust them.

If you find something that does not behave as described, the official documentation wins, and the course is wrong. Please treat it that way.

Parts 17 to 25 describe software this course does not control. Data vendors change their products, their pricing and their entitlement rules regularly, and some official pages carry a “current as of” date that is already old. Those lessons:

  • state what could be verified and what could not;
  • note where the official page itself appears dated;
  • avoid quoting prices, which date immediately;
  • tell you to confirm with the vendor before committing money.

The index below is built from the pages themselves — each lesson records its sources in its own metadata, and this list is assembled from those records at build time. It cannot list a citation the course does not make, and it cannot miss one that it does.

Pages that make no checkable claim about AmiBroker — the conceptual lessons on market structure, probability and research method — carry no citations, which is why the page count below is smaller than the number of lessons.

322 distinct sources are cited across 223 of the course's 206 content pages. Pages that make no checkable claim about AmiBroker behaviour — conceptual lessons about market structure or research method — carry no citations, which is why the counts differ.

amibroker.com

AFL Function Reference — DEMAretrieved 2026-08-31

Sections: Convergence with an EMA-composed equivalent

AFL Function Reference — Equityretrieved 2026-08-31

Sections: Flags = 1; Reading portfolio equity via the ~~~EQUITY ticker

AFL Function Reference — fopenretrieved 2026-08-31

Sections: shared parameter (new in 5.80)

AFL Function Reference — MACDretrieved 2026-08-31
AFL Function Reference — SetOptionretrieved 2026-08-31

Sections: NoDefaultColumns; StaticVarAutoSave; CommissionMode, CommissionAmount, PriceBoundChecking; MaxOpenLong, MaxOpenShort, SeparateLongShortRank; ActivateStopsImmediately, HoldMinBars; UsePrevBarEquityForPosSizing, AccountMargin, MinPosValue, AllowPositionShrinking; PriceBoundChecking, CommissionMode; PriceBoundChecking; MinShares, MinPosValue, AllowPositionShrinking, DisableRuinStop; AllowPositionShrinking

AFL Function Reference — Signalretrieved 2026-08-31
AFL Function Reference — Statusretrieved 2026-08-31

Sections: lastbarinrange; firstbarinrange and lastbarinrange; Low-level graphics example using local declarations; "action" and the action constants; firstvisiblebar; action; timeshift; timeshift, lastbartimeleft; timeshift, lastbarend, lastbartimeleft, lastrtupdate; stocknum; rangefromdate / rangetodate

AmiBroker User's Guide — Backtest reportretrieved 2026-08-31

Sections: Total commissions paid; Known differences between old and new backtester; Risk Adjusted Return, Exposure; New backtester report; Max. system drawdown, Ulcer Index, known differences; Exposure %; Report statistics and known differences between old and new backtester; Report Explorer, stored formula and settings

AmiBroker User's Guide — New Analysis windowretrieved 2026-08-31

Sections: Apply to and Range; Exporting and Importing the Result List; Running a sequence of actions; Defining the Date/Time Range; #pragma sequence and Run Sequence; Auto repeat Scan/Explore; Viewing Reports / Running the Report Explorer; Displaying the 3D Optimization Chart; Running a Walk-Forward Test; Exporting and Importing the Result List; Export HTML/CSV; Range settings, export, auto-repeat; Apply to, filter settings

AmiBroker User's Guide — Portfolio-level backtestingretrieved 2026-08-31

Sections: Backtest modes; Resolving same-bar, same-symbol signal conflicts; Price arrays do not provide timing information; Setting up position size; HOLDMINBARS and EARLY EXIT FEES; AllowSameBarExit scenarios; Portfolio equity; Max. open positions, MaxOpenLong/MaxOpenShort, SeparateLongShortRank

AmiBroker User's Guide — What's newretrieved 2026-08-31

Sections: Highlights of versions 5.30 and 5.70; Highlights of version 6.00; Highlights of version 6.00; change log for 6.10.0

norgatedata.com

Norgate Data — AmiBroker database creationretrieved 2026-08-31

Sections: Date Padding

Sources for this lesson

1 verified · checked 2026-08-31

  1. 01AmiBroker User's Guideamibroker.com/guide2026-08-31

Every technical claim on this page was checked against the official AmiBroker documentation on the date shown. Where the course disagrees with folklore, the source is how you can tell which one to trust.