Docs menu

Quickstart

Run a free trial search, open a candidate in the Strategy Builder, and export it to MetaTrader 5 to check it in the Strategy Tester.

This page walks through one pass from a search to a file you can run in MetaTrader 5. The first part works without an account. The second and third parts need Pro.

  • The Strategy Miner searches combinations of Builder blocks on past price bars. The search runs in your browser.
  • 8 symbols are built in, on these timeframes: M5, M15, M30, H1, H4, D1.
  • This page describes how the software works. It is not investment advice, and past results do not guarantee future results.

Try a trial run (free)

Without Pro, Start mining runs the real generator in your browser at a smaller fixed size. It shows how each candidate performed and how many survive each check, but not what the candidates are.

  1. Open the Strategy Miner. Signing in is not needed for a trial run. The page has three sections: Setup on the left, Mining in the middle and the Treasure shelf on the right. On a phone they are three tabs at the bottom.

  2. In Setup, in step 1 (Choose a market) leave the symbol, Timeframe and Period at their defaults, or pick another symbol and timeframe. The symbol, Timeframe (H1, H4 or D1), the style and Direction apply to the trial run. The depth in step 3, the Period and the values under step 4, Fine-tune (Candidates to keep, Minimum trades) are fixed and show a small lock mark.

    The Strategy Miner without Pro. The Setup section shows the Trial run bar with a See Pro button, the Your setup chips (EURUSD H1 4 years, Let it choose, Light 1,000 trials) and the four steps, with a PRO mark on step 2 and step 4.
    Settings without Pro. The period and the depth are fixed.
  3. Click Start mining. The Mining section shows Trials tried, Raw finds and Elapsed, and Cancel stops the run. The trial run has a short time limit.

  4. Read the result. A Results screen flips the tiles one at a time, then they settle into the Treasure shelf.

    • The announcement says how many treasures passed the checks, out of how many raw finds.
    • Each tile on the shelf has 1 to 3 stars. The stars count how many checks it passed. Click a tile to see the profit factor, trades, win rate, maximum drawdown and a tick or cross for each check. The conditions are not shown without Pro.
    • The Checks table, folded above the tiles, lists for each check how many Passed and how many were Dropped. The checks include Search period (IS), Duplicates removed, Later period (OOS) and Other symbols.
    • If nothing survives, the result says so. Click Dig again, or pick another symbol or timeframe.
    The result of a run without Pro: the Treasure shelf with tiles that show stars, a profit factor and a trade count, and the Checks table with a Passed and a Dropped count for each check.
    Trial result. The counts change from run to run.

A rule that fits past data often fits it by chance. The result is an approximate backtest, not a definitive result.

Open a candidate in the Builder (Pro)

Pro shows the candidates, keeps them, and lets you open them in the Strategy Builder. Pro is a one-time purchase ($899); see Pricing.

  1. Sign in with your Pro account. A PRO badge appears in the header of the Miner and the Upgrade button goes away.

  2. Choose your settings and click Start mining. The fields that are fixed in a trial run can be changed in Pro.

  3. When the run ends, the strategies that passed go onto the Treasure shelf and are saved to your Vault automatically. A line such as “Saved 4 to your vault (stored on your account).” confirms it. The number is how many survived, up to Candidates to keep. The vault keeps up to 10,000 strategies per account.

  4. Open the Vault page, /strategy-miner/vault. In the Vault table, tick the checkbox at the start of one row. The bar above the table shows 1 selected.

    The Vault table with one row ticked. The bar above the table reads 1 selected, and the Open in Builder button is active.
    One strategy selected in the Vault (Pro).
  5. Click Open in Builder. It is available when exactly one strategy is selected. You can also open a tile on the shelf and use its Open in Builder button, or click the strategy’s number (such as #12) to open its detail card, which has its own Open in Builder button.

The Strategy Builder opens with the strategy laid out as a flow of blocks on the canvas. You can change blocks and settings there like in any other flow.

The Strategy Builder canvas with a strategy opened as connected blocks: a Start block, indicator blocks, condition blocks and an order block.
A candidate opened in the Builder as a flow of blocks.

Export to MT5 and check it in the Strategy Tester (Pro)

The Builder can export to 5 targets. This page uses MetaTrader 5.

  1. In the Builder toolbar, choose MT5 (MQL5) among the export buttons. The Builder remembers your choice in this browser.

    The Builder toolbar. The export buttons MT5 (MQL5), MT4 (MQL4), TradingView (Pine), cTrader (C#) and Python are on the left, with MT5 (MQL5) selected. The Download .mq5 button is on the right.
    Choose MT5 (MQL5), then click Download .mq5.
  2. Click Download .mq5. The Builder saves Strategy_Builder.mq5 and shows a dialog with the steps below. If a block cannot be exported to the chosen target, the Builder says so instead of leaving it out.

    The dialog that opens after the download. It lists three steps: open the .mq5 file in MetaEditor, press F7 to compile it, and put the .ex5 in the MQL5/Experts folder.
    The steps dialog after Download .mq5.
  3. Open the .mq5 file in MetaEditor (in MetaTrader 5, press F4).

  4. Press F7 to compile it into an .ex5.

  5. Put the .ex5 in the MQL5/Experts folder (in MetaEditor or MetaTrader 5, File > Open Data Folder). If you compiled a file that is already inside MQL5/Experts, the .ex5 is already there.

  6. Open the Strategy Tester in MetaTrader 5 (View > Strategy Tester, or Ctrl+R). Select the compiled EA, the same symbol and timeframe as the strategy was checked under, and a date range.

At the top of the .mq5 file, a comment block headed VALIDATION SETTINGS lists what the strategy was checked under, including the symbol, the timeframe and the period on the line that starts with Checked under:. The line Match with the platform tester: not verified is there on purpose.

Expect the Strategy Tester numbers to differ from the numbers in the Miner. The Miner works on its own price bars with an approximate backtest. MetaTrader 5 uses your broker’s price history and trading conditions.

Next steps