The Strategy Builder for MetaTrader 5 Expert Advisors

Strategy Builder Professional builds and tests MetaTrader 5 Expert Advisors in your browser, with a strategy generator built in.

Write the rules yourself, or let the generator search for them. Every strategy is backtested on real data, checked from several angles and exported as native MQL5 code. Run one Expert Advisor, or a portfolio of them.

  • Rules you can read: indicators, market conditions, trade events and position management.
  • Robustness tests before you commit: Walk Forward, Monte Carlo and Multi Market.
  • Export a strategy or a whole portfolio as an Expert Advisor for MetaTrader 5.

Strategy Builder Professional

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
Fourth generation

What Strategy Builder Professional replaces

SBP is the fourth generation of our strategy software, after EA Studio, MQLGen and Forex Strategy Builder Professional. The generation engine underneath is the one we have been improving since 2005, and SBP is where new work happens from now on.

Your old work comes with you. Import an SBP or EA Studio JSON collection, along with the .mq5 Experts you exported from the earlier tools.

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

Built on experience, shaped by innovation

Twenty-five years of building software for traders, one product at a time.

25 years of experience

Built, tested, rebuilt

Since 2001 we have written analysis and backtesting software for traders. Every product went through the same loop: build it, test it, and change it after users told us what broke.

4 products, one foundation

The best of four products

SBP takes what worked in Strategy Builder, Expert Advisor Studio, Express Generator and MQLGen, and puts it in one workspace.

2 industry innovations

Two things we did first

2005 The first automated strategy generator for algorithmic trading.
2017 Portfolio Expert: one robot for multiple strategies.

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.

The result follows you as you build. Change a rule and the backtest is recalculated on real historical data; the statistics and the balance chart move with it. Forms such as Take Profit show the distance, the money and the account percentage before you accept the 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

Describe a good strategy and let the Generator go looking for it.

The Generator builds and backtests thousands of candidates on the market you picked. The best one stays on screen, and every accepted candidate drops into that market's Collection while the search keeps running.

  • Your goal - 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.
  • Ready to continue - send the best result to the Editor and take it through Monte Carlo, Walk Forward and Multi Market.

Two decades of strategy generation. We shipped the first automated strategy generator in 2005. This one runs on a faster, multithreaded engine, and it has twenty years of feedback behind it.

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

See what happens when the market stops behaving the way it did in the test.

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 - randomised data, spread and slippage. The spread never drops below what the broker really offers.
  • Strategy variations - randomised indicator parameters, the quickest way to catch a curve-fitted strategy.
  • 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 optimises 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

Compare candidates side by side instead of trusting a single backtest.

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.
  • Keep the best, not everything - the capacity limit trims weaker strategies, and correlation detection drops near-duplicates whose balance lines rise and fall 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.

Then put one to work. Open it in the Editor, add it to the Portfolio, or download it as a MetaTrader 5 Expert Advisor. You can export the whole collection as a file, and import EA Studio collections in the other direction.

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

Test on real market data from regulated brokers, or bring your own.

A backtest can only be as good as the data behind it. SBP loads real 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 our 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
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 thousands of candidates from a template and your acceptance criteria. Any candidate that passes on the full data, the in-sample part and the out-of-sample part goes into that market's collection, ready to validate or export.

Can I test an Expert Advisor before trading it live?

Yes. Every change in the Strategy Editor recalculates the backtest on real historical data, and Walk Forward, Monte Carlo and Multi Market then check whether the result survives different data, execution conditions and symbols. Only then do you export the EA.

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 costs nothing. A prepurchase reserves the licence at the beta discount, either lifetime at 50% off or one year at 33% off. The licence starts when the beta ends, and the 30 days money back guarantee still applies.

What Users Say About Our Earlier Software

I am happy with my approach (extremely low risk), and many of the strategies are excellent - FSB is a fantastic software, I can't thank you enough for creating it! I am currently active trading with more than 40 strategies for a few months, and am having very exciting success so far.

Adam Dorr

I have just started a free trial yesterday, 24 hours back and I have already loaded an EA into MT4 and a winning trade has also been generated. Amazing software and really fantastic support with Mr Popov so wiling to help.
I have also taken a free trial with another software and even after a week not able to understand anything
The whole experience is fantastic!

Pradeepgolfer

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é

Even the high priced software will have trouble matching this one. FSB Pro may already offer the most features of any of the similar software, no matter the price!!

David MacKay (BlazerBoy)

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

First of all, thanks mr. Popov for your development and passion doing this software, I would like to tell you that my family's life drastically changed financially because of your unique gifts programming something so special for us.

Alsilva86

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

Previous Products and Additional Tools

The earlier tools are still running for the customers who rely on them.