AmiBroker AFL Breakout Strategies, No Coding | BreakoutOS
Works with AmiBroker

Breakout strategies for AmiBroker.

Find the market with the right breakout structure, build a strategy without code, and backtest it in AmiBroker as an AFL formula. Every strategy's tested in BreakoutOS before it reaches your Analysis window.

Already have strategies? See the Scale tools ↓
Breakout Radar scoring NASDAQ and gold by session

The creators of BreakoutOS have been featured on

Stocks & Commodities Traders.com Futures Truth Magazine Interactive Brokers Quantocracy Trading Nut Better System Trader Adaptrade Index Futures Group System Trader Success Against All Odds Traders' Magazine Striker Securities Consistent Profits Podcast Systems OnTheRoad Nordic Autotrading Society Česká televize
How it works

From market to AFL in four steps.

The research happens in BreakoutOS. The finished strategy lands in AmiBroker as an AFL formula you can backtest in the Analysis window and apply to a chart.

01Breakout Radar
Breakout Radar scoring the E-mini NASDAQ and gold sessions

Pick a market

Breakout Radar scores each session of a market for breakout direction and how long breakouts typically last, so you start where the structure's there.

02Breakout Trading PRO
Breakout Trading PRO building and ranking breakout strategiesHypothetical backtest

Build the strategy

Breakout Trading PRO builds and tests breakout strategies for that market, point-and-click, using the Mr Breakouts Formula. Pick the one you want to take further.

03AFL export
BreakoutOS AFL export with the Copy button

Copy the AFL

The export writes the strategy as an AmiBroker AFL formula. The header lists the session and timezone settings to match.

04AmiBroker
The exported AFL in AmiBroker's AFL Editor

Backtest in AmiBroker

Paste it into the AFL Editor and save it. Then run a backtest from the Analysis window, like any formula you'd written yourself.

The proof

What you tested is what you trade.

One strategy, backtested in BreakoutOS, then exported and backtested again in AmiBroker. The AFL export reproduces the BreakoutOS results closely, so the system you run is the strategy you researched.

BreakoutOSNQ 60-min · Opening Gap
BreakoutOS backtest of an NQ 60-minute Opening Gap breakout strategy, 2011 to 2026Hypothetical backtest
AmiBrokerPortfolio Equity
AmiBroker Portfolio Equity chart for the exported AFL of the same strategyHypothetical backtest
Same strategy, both platformsNQ 60-min · Opening Gap · Jun 2011 to Jun 2026 · 1 contract · no commission or slippage
MeasureBreakoutOSAmiBroker
Trades409409
Win rate57.5%57.5%
Average trade+$287+$287
Net profit+$117,585+$117,585

The same 409 trades on both platforms, with the same entries, exits and net profit. AmiBroker's chart ends at $127,585 because it includes the $10,000 starting capital. Hypothetical backtest results on both sides, not live trading. See the Hypothetical Performance Disclosure at the foot of this page.

Same rules

The entry, the exit and the filters you tested in BreakoutOS, written out as AFL.

Same session times

The code header spells out the session and timezone the strategy was tested on, so the trades land on the same bars.

Differences you can trace

Small gaps can still come from your data source, your database's time settings or the backtester settings. There's a guide inside BreakoutOS for tracking them down.

Bring your own strategy

Already built strategies in AmiBroker?

Systems you've written in AFL yourself, or adapted from code you found? A nice-looking backtest doesn't prove much, so import them into BreakoutOS Scale and put them through four tools.

01 · Audit

Backtest Auditor

Scores your strategy against a thousand strategies with the same DNA, across nine checks.

02 · Improve

Indicator Matcher

Finds out which indicators work best for your strategy.

03 · Combine

MQ Portfolio Builder

Combines several strategies into one portfolio, so you see how they work together.

04 · Monitor

Strategy Health Monitor

Gives each strategy a traffic light, so you know when to keep going and when to pause.

Backtest Auditor report with the nine checks
Alongside AmiBroker

How BreakoutOS and AmiBroker work together.

BreakoutOS does the research and the testing. AmiBroker runs the formula on your own data. Here's how the two fit together, from picking a market to monitoring a portfolio.

Build strategies
Implement
Prove and manage
01

Choose the market

Breakout Radar

Score each market and session for breakout potential.

Build
02

Build the strategies

Breakout Trading PRO

Generate tested strategy candidates, without code.

Build
03

Implement in AmiBroker

AFL export

Paste the AFL into AmiBroker and backtest it in the Analysis window.

AmiBroker
04

Audit the backtest

Backtest Auditor

Nine checks against a thousand look-alike strategies.

Scale
05

Improve it

Indicator Matcher

Find the indicators that work best for it.

Scale
06

Combine strategies

MQ Portfolio Builder

Several strategies, one portfolio.

Scale
07

Monitor them

Strategy Health Monitor

A traffic light for every strategy.

Scale

Works across most major markets

Futures US Stocks International Stocks Forex Crypto

BreakoutOS builds and tests breakout strategies on all of them. Which ones you test in AmiBroker depends on your data source.

Common questions

AmiBroker questions.

No. BreakoutOS runs in your browser, and there's no plug-in to add to AmiBroker. When a strategy's ready, you copy the AFL, paste it into the AFL Editor and run it from the Analysis window.
No. You build strategies point-and-click in BreakoutOS, and the export writes the AFL for you. If you do know AFL, it's a formula you can read and change like any you wrote yourself.
Very closely. BreakoutOS has a built-in parity checker, and we've tested thousands of strategies on each platform: every one matched at least 95%, and most match 98-99%. Small differences come from holidays, shortened sessions and platform-specific edge cases, and every strategy builder runs into them. They can also come from your data source, your database's time settings or the backtester settings. The header of every export lists the settings to match, and there's a guide inside BreakoutOS for fixing discrepancies. Results on both sides are hypothetical backtests, not live trading.
Yes, as long as you can save it to a file. BreakoutOS tests on data you upload as ASCII or CSV, so you can test on the same bars your AmiBroker database holds. Testing on the same data is what makes BreakoutOS and AmiBroker line up.
Yes. In BreakoutOS Scale, the MQ Portfolio Builder combines several breakout strategies into one portfolio, so you see how they work together. All results are hypothetical.
A backtest shows how a set of rules would have traded past data. AmiBroker traders know how fast you can test thousands of variations, and that's the catch: test enough of them and some will look great by chance. The Backtest Auditor checks whether there's a real edge underneath, scoring your strategy against a thousand strategies with the same DNA across nine checks. All results are hypothetical.
Any market you've got price data for. BreakoutOS tests on data you upload as ASCII or CSV. AmiBroker traders often start with US stocks or stock index futures like the E-mini S&P 500 (ES) and E-mini Nasdaq-100 (NQ).
BreakoutOS comes with a few sample datasets for testing, including crypto and 60-minute data for NQ, ES, AAPL and EUR/USD. They're for trying things out. For strategies you plan to trade, use the data you run in AmiBroker. Data can differ between providers, so testing on the same data is what makes the two line up.
Build is for building new breakout strategies. It has Breakout Radar, Market Mapper, Breakout Explorer and Breakout Trading PRO, with AFL export on every strategy. Scale is for traders who already have systems. It adds the Backtest Auditor, Indicator Matcher, MQ Portfolio Builder and Strategy Health Monitor, and includes every Build tool.
Build and Scale are memberships. You'll find the current prices and plans on the BreakoutOS Build and BreakoutOS Scale pages. AmiBroker is licensed separately by its developer.
Get started

Build your first strategy for AmiBroker.

BreakoutOS Build has the four tools you need to go from a market to a strategy, with AFL export on every strategy you build.

  • Breakout Radar
  • Market Mapper
  • Breakout Explorer
  • Breakout Trading PRO
See BreakoutOS Build  →
Already have strategies?

Scale your trading with AmiBroker.

BreakoutOS Scale has the tools to audit, improve, combine and monitor the strategies you've already got, plus every Build tool.

  • Backtest Auditor
  • Indicator Matcher
  • MQ Portfolio Builder
  • Strategy Health Monitor
See BreakoutOS Scale  →

AmiBroker is a trademark of AmiBroker.com. BreakoutOS isn't affiliated with or endorsed by AmiBroker.com.