The Strategy Builder for MetaTrader 5 Expert Advisors

Strategy Builder Professional is a browser-based workspace for creating and backtesting strategies, with an optional generator to explore candidates.

Build rules visually or let the Generator search within a template you define. Review the historical results, then export an Expert Advisor as MQL5 source or a compiled file for MetaTrader 5. Historical tests help you study a strategy; they do not predict future results.

  • Build entry, exit and position-management rules from visual controls.
  • Review backtests and explore results with Walk Forward, Monte Carlo and Multi Market.
  • Export a strategy or portfolio as an Expert Advisor for MetaTrader 5.

Strategy Builder Professional (SBP)

Strategy Builder Professional Strategy Editor with indicator rules, backtest statistics and a balance chart Strategy Builder Professional Strategy Editor with indicator rules, backtest statistics and a balance chart
Current development focus

Where Strategy Builder Professional fits

Strategy Builder Professional is the current focus of development, following EA Studio, MQLGen and Forex Strategy Builder Professional. It brings ideas from those tools into one workspace.

You can import compatible SBP and EA Studio JSON collections, as well as supported .mq5 Experts. Compatibility depends on the file, so check the product tour for details before moving a particular project.

Import collectionsSBP and EA Studio JSON collections
Import supported ExpertsPrevious compatible .mq5 exports
Keep legacy accessEA Studio maintenance support for existing customers through 2028

Software built and maintained over time

I have been building trading software for more than 20 years and maintain it myself, with user feedback helping guide improvements.

20+ years developing software

Built and maintained by one developer

I have worked on analysis and backtesting software since 2001. I build and maintain it myself, and use feedback from traders to decide what to improve.

4 products, one foundation

Ideas from four products

Strategy Builder Professional brings together ideas developed in Strategy Builder, Expert Advisor Studio, Express Generator and MQLGen.

2 project milestones

A couple of milestones

2005 The first version of the automated strategy generator.
2017 Portfolio Expert brought multiple strategies into one Expert Advisor.

Strategy Builder

Turn an idea into rules the backtester can read.

You decide where to enter and exit, when trading is allowed, and how open positions are managed. Every part of the strategy is a readable block, so you can see what it does without decoding it.

  • Technical indicators - entry and exit points by price or time. An indicator rule can allow or block a signal and pick its direction, and every active rule has to agree.
  • Market features and conditions - pick the days and hours you trade, skip entries when the spread is wide, and allow longs, shorts or both.
  • Market and trade events - react to the session close or the Friday close, to the time since the last entry or exit, or to a new signal that adds to, reduces, closes or reverses the position.
  • Trade management - position size, Stop Loss, Take Profit, trailing stop, break-even, limits on open positions and loss recovery.

Change a rule and the backtest recalculates on real historical data, with the statistics and balance chart updating alongside it. Forms such as Take Profit show the distance, amount and account percentage before you accept a value.

Read the Strategy Guide

Strategy Editor with the Take Profit form open next to the strategy features, entry rules and exit rules Strategy Editor with the Take Profit form open next to the strategy features, entry rules and exit rules

Strategy Generator

Set the rules and let the Generator search for candidates.

The Generator backtests candidate strategies on the market you choose. The top candidate remains visible, and candidates that meet your acceptance criteria are saved to that market's Collection as the search runs.

  • Search objective - net profit, return to drawdown, profit factor, R-squared, Sharpe ratio, system quality number, or a mix of them.
  • Your search space - the template decides which features, entry and exit points and indicator pools the search may use. Each parameter is fixed, drawn from a range, or picked from a list.
  • Your acceptance criteria - a candidate is accepted only if it passes your criteria on the full data, on the in-sample part and on the out-of-sample part.
  • Review a candidate - open it in the Editor and run Monte Carlo, Walk Forward and Multi Market.

The first version of the automated strategy generator was released in 2005. The current generator uses a multithreaded engine and reflects feedback gathered over time.

Read the Generator Guide

Generator page with the market and search settings, the best generated strategy, its balance chart and statistics Generator page with the market and search settings, the best generated strategy, its balance chart and statistics

Monte Carlo and Robustness Testing

Explore how results change when your assumptions vary.

A backtest tells you how a strategy performed. Monte Carlo asks what would have happened if the data, the parameters or the execution had been slightly different.

  • Market variations - randomized data, spread and slippage. The spread never drops below what the broker really offers.
  • Strategy variations - randomized indicator parameters, which can help reveal sensitivity to small changes.
  • Backtest start and execution problems - later start bars, skipped entries and exits, and trades closed early.
  • Combined test - turn on every variation at once. Each simulation is graded against your criteria, and confidence bands show the spread of the results.

The rest of the toolkit. Walk Forward optimizes on past windows and checks each one on the stretch that follows. Multi Market runs the same strategy across servers, symbols and periods. The Optimizer searches the parameter ranges for a better candidate, and Backtest quality compares intrabar interpolation methods.

Read the Monte Carlo Guide

Monte Carlo page with market, strategy and backtest start simulations, combined test chart and validation results Monte Carlo page with market, strategy and backtest start simulations, combined test chart and validation results

Strategy Collections

Review candidate strategies side by side.

A collection holds every strategy you have tested for one market, with its statistics and balance curve. The Generator, the Optimizer, Walk Forward and the Editor all write into it.

  • Sort and filter - rank by net profit, profit factor, drawdown, R-squared or anything else in the table, and hide the records that fail your filters.
  • A collection for every market - keep a separate list per server, symbol and period, and store copies in your account so they follow you to another device.
  • Manage collection size - the capacity limit removes lower-ranked strategies, and correlation detection can remove near-duplicates whose balance lines move together.
  • Validate on newer data - every strategy remembers the data it was built on. Recalculate the collection later and the new bars become an out-of-sample test.

Choose what to do next. Open a strategy in the Editor, add it to the Portfolio, or export it as a MetaTrader 5 Expert Advisor. You can also export the whole collection or import an EA Studio collection.

Read the Collection Guide

Collection page with local and server collections and strategy cards showing out-of-sample results, balance charts and statistics Collection page with local and server collections and strategy cards showing out-of-sample results, balance charts and statistics

Real Historical Data

Use included market history or import your own data.

The source, quality and date range of historical data affect a backtest. SBP provides history from regulated brokers for forex pairs, metals and cryptocurrencies, on timeframes from M1 to D1.

  • Full control of the data range - limit the data by length, bar count, start and end dates or trade start date, and set the timezone. The preview shows what you are about to keep.
  • Your symbol settings - override the digits, swap, commission and minimum spread to match your own account. The broker's values stay visible next to yours.
  • Import your MetaTrader 5 history - export bars or ticks from your broker's terminal with the included script, then drop the files into the app.
  • Know your data - check quality, completeness, spread and gap statistics before you test anything. The bars can be exported as CSV at any time.

Read the Data Guide

Data Horizon page with data range settings and a preview comparing the complete series with the selected data Data Horizon page with data range settings and a preview comparing the complete series with the selected data
Videos

See SBP in action

A first look at the beta from the developer, and an independent walkthrough from a partner channel.

The partner video is published and sponsored by the Algo Trading Space channel, and it contains that channel's own affiliate and community offers. SBP is the software it demonstrates; I do not endorse the brokers, funded accounts or programs it advertises.

MetaTrader Expert Advisor FAQ

Before you build your first Expert Advisor

Short answers on strategy builders, Expert Advisors and generators, for anyone about to pick one up.

What is a strategy builder?

A strategy builder is software that lets you put a trading strategy together without writing code. Strategy Builder Professional is one for MetaTrader 5: you assemble entry, exit and position-management rules, test them on historical data and export the result as an Expert Advisor.

What is a MetaTrader Expert Advisor?

An Expert Advisor (EA) is a program that runs inside MetaTrader and opens, manages and closes trades by itself. Because it follows fixed rules, you can test the same logic on historical data and then run it on a demo or a live account.

Can I build an Expert Advisor without programming?

Yes. Strategy Builder Professional is a visual Expert Advisor builder: you compose entry and exit rules from indicators, market conditions and trade events. What comes out is native MQL5, but you never write the code yourself.

How does an Expert Advisor generator work?

The Generator builds and backtests candidate strategies from a template and your acceptance criteria. Candidates that pass on the full data, in-sample data and out-of-sample data are added to that market's collection for further review.

Can I test an Expert Advisor before trading it live?

Yes. The Strategy Editor recalculates the backtest when you change a rule, and Walk Forward, Monte Carlo and Multi Market let you explore how results change under different assumptions. Historical tests cannot predict or guarantee live performance.

Does Strategy Builder Professional support MetaTrader 4?

Strategy Builder Professional targets MetaTrader 5 and exports native MQL5. On MetaTrader 4 you can keep using Expert Advisor Studio, which stays available to existing customers with support through 2028.

How much does Strategy Builder Professional cost?

The open beta is free. If you choose to prepurchase a license, the current options are lifetime or one year. The license starts when the beta ends, and you can request a refund within 30 days of payment.

What Users Say About Earlier Software

These comments refer to earlier products, not Strategy Builder Professional, and are not statements about trading performance.

I normally program and test an expert for about two months on MT4. I do this for 2 days with the Strategy Builder. It saves me a great amount of time.

Dylan Côté

I remember the beginning and early days of FSB and FST development. It has been a tremendous evolvement indeed. Latest FSB Pro is far beyond my expectations. Several years ago I couldn't even imagine that I can run such a great software in my computer.

Zenoni

I just want to congratulate you on your brilliant feature called "Strategy Generator". This is what separate your software from all your competitors

Cuong Truong

... backtest with MT4 is very slow. I very much more like lightning speed of FSB

Laurent Wiart

I am Hungarian, I work in Korea and your software save me a lot of work in back testing and trading. Very precisions work, flawless programming, I appreciate it, keep up.

Mr. Botond Molnar

What I really like in Forex Strategy Builder is the ability to see results immediately without the need to click the "Start" button in MetaTrader over and over again. But it's so fast that I always wonder whether the result is real or not...

fxDreema

Expert Advisor Studio IconExpert Advisor Studio

Expert Advisor Studio Strategy Editor with the market info, the long entry rules, the backtest output and the balance chart Expert Advisor Studio Strategy Editor with the market info, the long entry rules, the backtest output and the balance chart

Online generator and analyzer for Expert Advisors. Works with MetaTrader 4 and MetaTrader 5, on hedging and netting accounts.

EA Studio builds strategies around your own broker: real historical data, your trading rules, your account parameters. Acceptance criteria, validation and Stop Loss & Take Profit levels are a few fields to fill, not a script to write.

Out of Sample, Monte Carlo and Multi Market cover robustness testing, and the strategies you generate land in a collection you can filter and sort.

EA Studio remains available for existing customers, with maintenance support through 2028.

EA Studio for Existing Customers

CoinRang IconCoinRang

CoinRang with the chart bar, the screener and the prices of the favorite coins CoinRang with the chart bar, the screener and the prices of the favorite coins

Cryptocurrency prices for 500+ coins, indicator charts and a balance sheet.

We created CoinRang to make watching the crypto prices and charts easier and less intrusive. It opens straight into the charts and keeps the quotes of the coins you follow on one screen.

  • Chart bar - the charts of your favorite coins stay at the top of the screen, so you can follow the trend of several currencies at once.
  • Screener - the current price, the one-day and seven-day price changes, the market cap and a compact price chart.
  • Indicator chart - open the full chart from the "Chart" button, or quickly by clicking a record of the screener or a chart of the chart bar.
  • Balance sheet - track the value of your crypto coins. CoinRang recalculates the currently open or closed positions when you add new long or short orders.

Run CoinRang

Earlier Products and Additional Tools

Some earlier products remain available for existing users; availability varies by product.