SETUP LABORATORY

SetLab 1.00 guide

How to use SetLab,
from install to the statistics of every setup

Everything you need to start, in the order you will use it: install, your first session, Replay, entering with a Setup card, managing a trade, statistics and troubleshooting. The same guide is inside the Expert Advisor, in its Guide tab.

01

Install and set up

SetLab is a single file: get SetLab_v1.00.ex5 from the download section of the home page. Then do these four steps once.

  1. Put the file in the Experts folder. Open the data folder from this menu:File > Open Data FolderPut the file in MQL5\Experts, then in the Navigator right-click Expert Advisors and choose Refresh.
  2. Allow SetLab’s address. Turn this option on and add https://trysetlab.com:Tools > Options > Experts > Allow WebRequest for listed URLIt is needed for your license and for the free trades; Replay itself works without it. The address is used only to verify your license.
  3. Make the chart history unlimited. Set Max bars in chart to Unlimited, so enough history stays on the chart:Tools > Options > Charts > Max bars in chart: Unlimited
  4. Drag the Expert Advisor onto a chart. Type the names of your setups (up to 10) in its Inputs; you can change them later with F7.
MetaTrader File menu with Open Data Folder selected
Step 1: File > Open Data Folder
SetLab_v1.00.ex5 in the MQL5 Experts folder
Step 1: the file in MQL5\Experts
MetaTrader Tools menu with Options selected
Step 2: Tools > Options
MetaTrader Options with Allow WebRequest on and trysetlab.com in the list
Step 2: Allow WebRequest with trysetlab.com
MetaTrader Options, Charts tab, with Max bars in chart set to Unlimited
Step 3: Max bars in chart set to Unlimited
SetLab Inputs tab with room for 10 setup names
Step 4: your setup names in Inputs

02

Your first session

A session is one practice run with its own symbols, start point and practice account. When you put the Expert Advisor on a chart, the Bootstrap window opens: set the balance, the leverage and the session type, then press Start new session. Whenever you come back, you continue where you left off.

  • Async Each chart replays on its own, with its own period and speed, so you can practise different periods independently.
  • Sync Several charts replay together: their 1-minute candles are always at the same moment, and Play / Next moves every chart forward by the same amount. To join, open SetLab on a chart of another symbol.
  • Prop A Sync session with prop-firm challenge rules (section 7).

One symbol can be in a session only once. Warmup is the number of days loaded before the start, so your indicators have data. You pick the start on the chart (Pick on chart) or let SetLab pick it (Blind replay, section 7). Sync, Prop and Blind Replay are unlocked with a license or the trial.

To download history, MetaTrader must be connected to your broker. If the data is already on your computer, it also works offline. Replay ends where your broker’s data ends.

SetLab Bootstrap window: license, session type, practice account, prop rules and replay start
The Bootstrap window: session type, practice account and start point

03

Replay, speed and keys

Play replays the market and Next moves one step; the candles ahead stay hidden. For the speed, click the speed chip: Auto picks a comfortable pace for the chart’s timeframe, and Manual lets you set it yourself.

Speed is in market minutes per second (for example 60 min/s) and is the same on every chart of a session. You can change the timeframe in the middle of a replay; your session and trades stay where they are.

SetLab replay speed panel with Auto and Manual modes at 60 min/s
The speed panel

Keys (click the chart first):

  • ] faster
  • [ slower
  • \ back to Auto
  • Esc close the speed panel or cancel an edit
  • Enter apply an edit
  • Ctrl+Alt+D compact or comfortable layout

Opening the Guide tab pauses Play; in a Sync session it pauses every chart of the session.

04

Entering with a Setup card

  1. When a setup forms, click its card on the rail at the right of the chart. Entry, SL and TP lines appear on the chart: drag them where you want.
  2. Size the trade by Risk % (of your balance) or directly in lots. The pill at the end of each line shows the live numbers, for example SL 120 pts – 1.21 lot or TP 2.00R.
  3. Press Buy or Sell. For a limit or stop order, the pending button turns the entry line on. To drop the setup, click the card again or press Cancel.
Entry and SL lines of a setup on a SetLab chart before entry
The lines of a setup before entry, with live pills

Point at a card on the rail to open its statistics card; the pin keeps it open. With several trades open, the pill of every line carries its setup’s short name.

05

Managing an open trade

In the Open Trades tab, use the menu (…) of a row:

  • Edit TP/SL Move the levels, then Apply (Enter) or Cancel (Esc).
  • Partial Close Close a percent of the trade; the panel shows what leaves and what stays. The button is disabled when the closed part would be below the symbol’s minimum lot.
  • Close Position Closes the whole trade.

Point at a trade line on the chart to see its full details. A position and its partial closes count as one trade in the statistics.

Closing part of a trade with Partial Close in SetLab
Partial Close: the panel shows the closed part and what stays

Removing SetLab from a chart, or closing that chart, closes the open trades of that chart at the current replay price and cancels its pending orders. Changing the timeframe or closing MetaTrader keeps everything.

06

Statistics: R, Edge score and Floor

R is a result divided by the risk you took at the start (entry to stop loss). +2R means you won twice your risk; -1R is a full stop loss. The result is also shown in dollars and percent.

  • Avg R · Total R The average R per trade, and the sum of all R.
  • Win rate The share of trades that closed above 0 R.
  • Profit factor Total won R divided by total lost R; above 1 means more was won than lost. It stays greyed out under 10 trades.
  • Edge score A number from 0 to 100: how much evidence your closed trades give that the setup really has a positive edge. It is not a chance of winning. Green (90 or more): strong evidence; amber: not conclusive yet; red (10 or less): no evidence. It appears after 10 closed trades; until then the card tells you how many more trades are needed.
  • Floor A cautious lower estimate of your average R per trade. Floor above 0 means that even a pessimistic reading says the setup makes money. It appears after 15 closed trades.
SetLab Statistics tab with Trades, Win rate, Avg R, Total R, Profit factor, Floor and Edge for each setup
The Statistics tab: every setup side by side (sample from one practice run)

Both numbers describe past trades only. Trades that overlap in time count as separate, so the real confidence is lower; and the more setups you try and keep the best one, the better its score looks than it really is.

Trade path: hold the mouse over a row in Closed Trades to see the Max drawdown (on a winner) or the Peak profit (on a loser). To review outside MetaTrader, use Stats > Export CSV; the file is saved in MQL5\Files\SetLab\Exports.

07

Prop Status and Blind Replay

Prop challenge practice

In a Prop session you set four limits: Max Drawdown, Daily Loss Limit, Max Floating Loss (open trades) and Profit Target. The Prop Status tab shows how much of each limit you have used. Watch means you are getting close; Critical means you are almost at the limit. When a limit is reached, new trades are blocked; after the Profit Target is reached, you can keep trading.

Prop Status tab with four limits and the Profit target reached message
Prop Status: practice, not a promise of passing a real challenge

‏Blind Replay

SetLab picks a random start between From and To (months ago), so you can’t choose it after seeing how the market moved. Untick the date and/or price axis for fewer hints; SetLab then never prints a time or a price in its own labels either. It reduces bias, but it can’t remove it completely.

Blind replay settings with a random start range and hidden date and price axes

08

Free, license and troubleshooting

  • Free Replay is always free. With Allow WebRequest you also get 20 free trades; after that Replay stays open, but placing trades needs a license.
  • License Also unlocks Sync, Prop and Blind Replay. Each license is for one computer, on every MetaTrader terminal of that computer. Start the 3-day trial on the Plans page.
  • Status badge The badge at the top of the chart shows your license status, for example Ends in 5 days, Offline or Update. Each build has an expiry date; new builds are posted in the download section and on t.me/TrySetLab.
Buttons not responding, or the chart is stuck

This comes from MetaTrader itself: it sometimes stops answering chart commands for a while, and it usually recovers by itself. To recover at once, switch the chart to another timeframe and back, or press Ctrl+E twice. Your session and trades are kept.

A trade was not placed

Usual reasons: not enough margin (lower the Risk % or the lots), a prop limit has been reached, or the account balance is zero. The exact reason is in the MetaTrader Experts log.

History does not load, or Replay ends early

To download history, MetaTrader must be connected to your broker; if the data is already on your computer, it also works offline. Set Max bars in chart to Unlimited (section 1). Replay ends where your broker’s data ends.

Free trades or the license do not work

Check that Allow WebRequest is on and https://trysetlab.com is in its list (section 1). The internet connection must be on as well.

Does changing the timeframe or closing MetaTrader delete anything?

No. Your session and trades come back next time. Only removing SetLab from a chart, or closing that chart, closes the open trades of that chart.

Still have a question? Ask on Telegram at t.me/Setlab_Support or email setlab.support@gmail.com. New builds and tips are posted on the channel.

Background reading: Manual backtesting on MT5: three ways and Does MT5 have bar replay?

Shopping Cart
Scroll to Top