Capstone Overview and Requirements
The brief
Section titled “The brief”Build a working research environment in AmiBroker, use it to investigate one trading idea of your own, and write a report that answers thirteen specific questions about what you found.
The report is the deliverable. Everything else — the dashboard, the exploration, the scanner, the charts, the backtest — exists to make the report possible and to make its claims checkable.
What you are building
Section titled “What you are building”The workflow the nine components implement
- Component 1 — Market dashboardWhat kind of market is this? A state, written down, before you look at anything specific.
- Component 2 — Stock explorationOne row per symbol: liquidity, trend, momentum, volatility, relative volume, relative strength, rank.
- Component 3 — ScannerWhich symbols met a documented setup on the last completed bar.
- Component 4 — Multi-timeframe chartOne candidate across three horizons, with a measured proof of no look-ahead.
- Component 5 — Real-time or replay workspaceWatching a decision point arrive. Alert → human review → decision.
- Component 6 — The strategyThe full specification, written before any test is run.
- Components 7 and 8 — Backtest and robustnessPortfolio backtest, execution audit, sensitivity, out-of-sample, walk-forward.
- Component 9 — The research reportThirteen questions, answered honestly, with evidence attached.
Deliverables checklist
Section titled “Deliverables checklist”Nine components, and for each one a file plus a written note. Tick these off as you go.
| # | Component | You produce |
|---|---|---|
| 1 | Market dashboard | An .afl chart formula, plus a note recording the universe your breadth composites were built from |
| 2 | Stock exploration | An .afl exploration, plus one saved output table with the date it was run |
| 3 | Scanner | An .afl scan, plus a written specification of universe, liquidity, regime, setup and trigger |
| 4 | Multi-timeframe chart | An .afl chart formula, plus the look-ahead proof exploration’s output |
| 5 | Workspace | Either the real-time or the replay formula, plus a decision log with at least twenty entries |
| 6 | Strategy | An .afl file whose header states hypothesis, universe, entry, exit, stop, sizing, constraints and costs |
| 7 | Backtest | The backtest report, the trade list, three hand-checked trades, and the execution audit output |
| 8 | Robustness | The parameter surface, the out-of-sample result, the walk-forward result |
| 9 | Report | The thirteen answers, with evidence attached to each |
Plus one thing that is not a component and matters more than several of them: a research log listing every specification you evaluated, including the ones you abandoned.
Assessment criteria
Section titled “Assessment criteria”You are marking your own work, so the criteria have to be ones you cannot fool yourself about.
1. Could somebody else reproduce your result? Given your files, your universe definition, your date range and your settings, would they get the same number? If any of those four is missing, the answer is no.
2. Is every number attached to its assumptions? Universe, period, costs, fill assumption, data source, sizing model. A figure without those six is not evidence.
3. Did you validate the machinery before reading the result? Three hand-checked trades. The look-ahead proof. The execution audit. If you read the performance summary first, you have marked your own homework in the wrong order.
4. Did you write the specification before running the test? And is the file you shipped the one the specification describes?
5. Can you say how many specifications you tried? The number, from the log. Not “a few”.
6. Is the conclusion proportionate to the evidence? This is the hard one. A single backtest over one universe in one period supports a much smaller claim than most people make from it.
7. Does the report say what would change your mind? If no result would have, the study was decorative.
The Level A path, in full
Section titled “The Level A path, in full”Every component works without a paid data subscription. Here is exactly what changes.
| Component | Level A (free EOD data) | Level B/C (broker or vendor feed) |
|---|---|---|
| 1 Dashboard | Unchanged. Daily bars, breadth composites built from your own EOD universe | Unchanged |
| 2 Exploration | Unchanged | Unchanged |
| 3 Scanner | Unchanged | Unchanged |
| 4 MTF chart | Weekly context over daily bars | Optionally intraday context over minute bars |
| 5 Workspace | Bar Replay drives the chart. GetPlaybackDateTime() labels the session |
A live feed drives the chart; GetRTData() adds a quote panel |
| 6 Strategy | Unchanged | Unchanged |
| 7–8 Backtest | Unchanged | Unchanged |
| 9 Report | Unchanged | Unchanged |
How long this should take
Section titled “How long this should take”| Component | Time on task |
|---|---|
| 1 Market dashboard | 60 min |
| 2 Stock exploration | 60 min |
| 3 Scanner | 55 min |
| 4 Multi-timeframe chart | 55 min |
| 5 Workspace | 55 min |
| 6 Strategy | 60 min |
| 7–8 Backtest and robustness | 70 min |
| 9 Research report | 60 min |
| Total | about 7 hours 45 minutes |
Those figures assume a database already in place and the specification in Component 6 taken as written. Designing your own hypothesis, building a defensible universe and actually thinking about the results will take considerably longer — and that time is the point of the exercise, not overhead on it.
How to submit it to yourself
Section titled “How to submit it to yourself”There is no marker. That is a problem, and the fix is to make the work reviewable by a version of you who has forgotten it.
Put everything in one folder, dated. Formulas, exported tables, backtest reports, the research log, the report.
Save your Analysis configurations as .APX files. The settings that live in dialogs — Apply To,
Range, periodicity, report options — are exactly the half of a result you will fail to remember, and
an .APX is self-contained.
Write the report first, in outline, before you have the answers. The thirteen questions are known in advance. Writing the questions down and leaving the answers blank makes it obvious which evidence you still need — and stops the report becoming a description of whatever you happened to find.
Then put it away for two weeks and read it again. Everything unclear on second reading was unclear the first time; you just knew what you meant. That second read is the closest thing to peer review you have.
Nine components, one report, thirteen questions. The report is the deliverable and a negative result is a pass. Every component works on free end-of-day data, with Bar Replay standing in for a live feed in Component 5 — the only place the Professional edition matters. You mark your own work against seven criteria, of which the two that matter most are whether somebody else could reproduce your result and whether your conclusion is proportionate to your evidence. And the research log, started before Component 1 and dated, is what makes the sixth criterion answerable at all.
Check your understanding
Sources for this lesson
6 verified · checked 2026-08-31
- 01AmiBroker User's Guide — How to get quotes from various markets§ Real-time data tableamibroker.com/guide/h_quotes.html2026-08-31
- 02AFL Function Reference — GetRTData§ available ONLY in PROFESSIONAL editionamibroker.com/guide/afl/getrtdata.html2026-08-31
- 03AmiBroker User's Guide — Portfolio-level backtestingamibroker.com/guide/h_portfolio.html2026-08-31
- 04AmiBroker User's Guide — Walk-forward testingamibroker.com/guide/h_walkforward.html2026-08-31
- 05AmiBroker User's Guide — Bar Replay windowamibroker.com/guide/w_barreplay.html2026-08-31
- 06AFL Function Reference — GetPlaybackDateTimeamibroker.com/guide/afl/getplaybackdatetime.html2026-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.