No-code backtest for MT5 and TradingView strategies

Backtest your trading rules without code

What is the AlfaTactix no-code backtest?

AlfaTactix lets you backtest trading rules without writing code. You set the rules in a 7-step form and backtest them on the site: you don't need MetaTrader 5 or TradingView to backtest. Backtests run on data you upload. The backtest runs the same strategy document the code is generated from, MQL5 or Pine Script v6. Free includes 3 backtests a day, up to 30 days each, with no card.

The demo needs no signup and shows the builder; it runs no backtest. To backtest, create a free account.

How it works

Rules in a form, a backtest on your bars, then the code

One set of rules, built for MQL5 or Pine Script v6: you pick the platform in Step 1, and the backtest and the code come from that one strategy document.

  1. Build the rules in the form

    Set the entry rules, filters, exits and risk in the 7 steps of the Strategy Builder. In the paid plans, Tactix Studio can fill the form from your description; you see every change and save it yourself.

  2. Upload your bars and start the test

    Upload a file of bars you export from your own platform, pick the strategy and the period, and start the test. The page shows your place in line, then the percent done.

  3. Read the report

    The report names the data it used before any number, then shows the key numbers, the equity and drawdown chart and the trade list.

Then download the same rules as code

Save the strategy and download it as an MQL5 Expert Advisor for MetaTrader 5 or a Pine Script v6 strategy for TradingView, for the platform you chose in Step 1. The backtest runs the same strategy document the code is generated from. Then confirm it in the MetaTrader 5 Strategy Tester or the TradingView Strategy Tester.

What a report looks like

The equity and drawdown chart, on made-up prices

Signed-in users can try the backtest on a made-up sample before they upload anything. This figure is the chart of one such run, so you can see what a report shows.

Not real market pricesSample data is made up. It shows how a report works and says nothing about real markets.

Equity and drawdown

The Home page's example strategy (RSI(14) crosses above 30 or below 70) on 500 made-up bars of the sample: 7 trades. The values are left out on purpose: the figure shows what the chart is, not a result.

A backtest is not a forecast; past results do not predict future results.

Watch the backtest step in the 4-min walkthrough (from 3:14)Hypothetical backtest on example data. Past or backtested performance does not guarantee future results.

The facts

What the backtest is and what each plan allows

  • The backtest is open to every signed-in user, on every plan, Free included.
  • The backtest runs on the site: you don't need MetaTrader 5 or TradingView to backtest.
  • Backtests run on data you upload.
  • Each run covers up to 30 days on Free, 365 on Starter and 400 on Trader and Pro, on any timeframe down to one minute; the built-in sample run uses up to 50,000 bars.
  • The backtest runs the same strategy document the code is generated from.
The backtest in each plan
PlanFreeStarterTraderPro
Backtests a day32050150
Period per run, up to30 daysone year400 days400 days
Datasets152020
Storage20 MB128 MB512 MB512 MB

How close it is to MetaTrader 5 and TradingView

On our golden set of 31 test strategies, run on identical bars in a MetaTrader 5 custom symbol, 29 give the same signals as the MetaTrader 5 tester, and 29 give equal trades or trades whose every difference has a named cause; the other 2 are strategies MetaTrader 5 cannot run. Commission and slippage on MetaTrader 5 are not proven. Each platform is compared with the engine on its own bars, not the two platforms with each other.

A backtest is not a forecast; past results do not predict future results.

Your bars

How to export your bars from MetaTrader 5

Backtests run on data you upload. These steps show how to export your own bars from your own platform, in a format the upload reads.

From MetaTrader 5

  1. Open MetaTrader 5 on your computer. The phone app can't export history.
  2. Open the Symbols window: right-click the "Market Watch" window, choose "Symbols", then the "Bars" tab.
  3. Pick your symbol and the timeframe.
  4. Set the start and end dates, click "Request" and wait for the bars to load.
  5. Click "Export" and save the .csv file. MetaTrader 5 writes the columns <DATE>, <TIME>, <OPEN>, <HIGH>, <LOW>, <CLOSE>, <TICKVOL>, <VOL> and <SPREAD>, separated by tabs; the upload reads this file as it is.
  6. In AlfaTactix, open Backtest → My data and upload the file, one file per symbol. Your file is in your broker's server time: in the Check step, you tell us its offset.

From TradingView

The upload does not read TradingView's chart-data export yet.

Your platform's and your broker's terms apply to the data you export.

Honest limits

What the no-code backtest does not do

  • Backtests run on data you upload, on any timeframe down to one minute; how many days one run covers depends on your plan (Pricing).
  • On the Free plan you get 3 backtests a day, up to 30 days each; the paid plans allow more.
  • The public demo runs no backtest. To backtest, create a free account.
  • A strategy is built for one platform at a time, chosen in Step 1. MetaTrader 4 is not supported.
  • It makes no promise about results, and it was not tested with real money: only the MetaTrader 5 tester and TradingView backtests were run.
  • If you write code yourself, the MetaTrader 5 Strategy Tester and the TradingView Strategy Tester test your own code directly.

Plans

Start free. Upgrade when you need more tests.

Every plan, Free included, runs backtests on data you upload. Prices in EUR, the same in every country.

  • Free

    €0

    • 3 backtests a day, up to 30 days each
    • Your own data: 1 dataset, 20 MB
    • 1 code download a month
    • Tactix Studio: a recorded example
  • Starter

    €19/ month

    • 20 backtests a day, up to one year each
    • Your own data: 5 datasets, 128 MB
    • 20 code downloads a month
    • Tactix Studio: 20 turns a month, up to 10 a day
  • Trader

    €39/ month

    • 50 backtests a day, up to 400 days each
    • Your own data: 20 datasets, 512 MB
    • 100 code downloads a month
    • Tactix Studio: 60 turns a month, up to 15 a day
  • Pro

    €79/ month

    • 150 backtests a day, up to 400 days each
    • Your own data: 20 datasets, 512 MB
    • Code downloads with no monthly cap (fair use)
    • Tactix Studio: 150 turns a month, up to 25 a day

Questions about the no-code backtest

Can I backtest a trading strategy without coding?

Yes. In AlfaTactix you set the entry rules, filters, exits and risk in a 7-step form, then backtest the strategy on the site on data you upload. You write no code. The backtest runs the same strategy document the code is generated from, so you can then download the same rules as MQL5 or Pine Script v6.

Do I need MetaTrader 5 or TradingView to backtest?

No. The backtest runs on the site: you don't need MetaTrader 5 or TradingView to backtest. You need them later to run the code you download: the MQL5 Expert Advisor in MetaTrader 5, or the Pine Script v6 strategy on TradingView.

What data does the backtest use?

Backtests run on data you upload. Each run covers up to 30 days on Free, 365 on Starter and 400 on Trader and Pro, on any timeframe down to one minute; the built-in sample run uses up to 50,000 bars. The guide on this page shows how to export your own bars from MetaTrader 5.

Is the backtest free?

Yes, on the Free plan: 3 backtests a day, up to 30 days each, with no card. The paid plans cost €19, €39 or €79 a month and allow more backtests a day, longer periods and more datasets.

How close is the backtest to the MetaTrader 5 Strategy Tester?

On our golden set of 31 test strategies, run on identical bars in a MetaTrader 5 custom symbol, 29 give the same signals as the MetaTrader 5 tester, and 29 give equal trades or trades whose every difference has a named cause; the other 2 are strategies MetaTrader 5 cannot run. Commission and slippage on MetaTrader 5 are not proven. Each platform is compared with the engine on its own bars, not the two platforms with each other.

Does a good backtest mean the strategy will work live?

No. A backtest is not a forecast; past results do not predict future results. AlfaTactix makes no promise about results and gives no financial advice. Check the code in the MetaTrader 5 or TradingView Strategy Tester and on a demo account before you risk money.

Backtest your first strategy

Start on the Free plan, or walk the 7 steps in the demo first, with no signup.