Setting up your bot

You bought the bot — now it's yours to configure. This page explains every input, in plain English: how the lot size is worked out, and how to set your own stop loss and take profit.

The bot runs on your machine, in your own MetaTrader, on your own broker account. Web5 never holds your funds, never has access to your account, and never places a trade for you. You install it, you set the inputs, you switch it on and off, and you can close any position yourself at any time.

On this page

  1. Installing the bot
  2. Opening the Inputs tab
  3. Lot size — Auto or Fixed
  4. Stop loss and take profit
  5. Points vs pips — read this before typing a number
  6. Guards that stop the bot loading
  7. Filters that make it trade less
  8. Saving your settings
  9. TradingView version
  10. If it isn't trading

1. Installing the bot

MetaTrader 5

  1. In MT5: File → Open Data Folder.
  2. Go into MQL5\Experts and copy your .ex5 file there.
  3. Back in MT5, right-click Expert Advisors in the Navigator and choose Refresh.
  4. Drag the bot onto the chart you want it on.
  5. Tick Allow Algo Trading in the dialog, then press the Algo Trading button in the toolbar so it turns green.

MetaTrader 4

  1. In MT4: File → Open Data Folder.
  2. Go into MQL4\Experts and copy your .ex4 file there.
  3. Right-click Expert Advisors in the Navigator → Refresh.
  4. Drag the bot onto your chart and tick Allow live trading.
  5. Press AutoTrading in the toolbar so it turns green.
A smiley face in the chart corner is not enough. If the AutoTrading button is off, the bot will find its signals and every order will be rejected. In the Experts log you'll see auto trading disabled by client. That is the single most common reason a correctly installed bot never opens anything.

2. Opening the Inputs tab

When you drag the bot onto a chart, a dialog opens. Click the Inputs tab — that is where every setting on this page lives. You can reopen it at any time: right-click the chart → Expert Advisors → Properties, or just press F7.

Each setting has a plain-English label. You only ever change the Value column. After you press OK the bot restarts with your new settings.

3. Lot size — Auto or Fixed

The first thing most people want to change is trade size. There are two modes and one switch that chooses between them.

SettingWhat it does
Auto Lot Size
InpAutoLot
On (default). The bot works out the lot itself before every trade.
Off. The bot trades the flat lot you type below.
Risk %
InpRiskPercent
Used when Auto Lot is on. This is the most a single trade can lose between entry and stop loss, as a percentage of your account equity. The default is 2%.
Fixed lot size
InpFixedLots
Used only when Auto Lot is off. A flat lot on every trade, whatever the stop distance.
Show panel
InpShowPanel
Prints a live panel in the top-left of your chart showing the exact lot the next trade will use, and what it risks.

Why Auto is usually the better choice

With Auto Lot on, a trade with a tight stop gets a bigger lot and a trade with a wide stop gets a smaller one — so every trade risks the same amount of money, and the size grows and shrinks with your balance automatically. A flat lot does the opposite: your risk swings around with whatever the stop distance happens to be that day.

The panel tells you the real number

A lot means something completely different on each market — 0.10 lots of US30 and 0.10 lots of EURUSD are nowhere near the same risk. Because of that, the bot prints the actual figure for the chart you are on:

W5_YenKiller_MT5
USDJPY  PERIOD_H1
Lot sizing : AUTO - 2.00% of equity per trade
Equity     : 10000.00 USD
NEXT TRADE : 2.61 lots   (stop 355 points, risk 200.00 USD)

Watch that line before you switch anything on. If the lot looks too big for your comfort, lower Risk % — at 1% you get half the size, at 0.5% a quarter.

The fixed-lot starting values

If you turn Auto Lot off, the number already in the box is a sensible starting point for that bot's own market. Each one was measured by running the bot's own sizing formula over real price data on a $10,000 account:

BotMarketFixed lot ≈ its default risk on $10k
YenKillerUSDJPY H12.61
FrancGuardUSDCHF H11.44
EuroPulseEURUSD H11.39
CableSniperGBPUSD H11.08
MultiForexits 5 FX pairs, H10.27
GoldStrikeXAUUSD H10.05
SilverBulletXAGUSD H40.02
SPX500 / SP500MomentumUS500 H43.98 / 3.32
NasdaqNinjaUSTEC M154.37
DowRunnerUS30 H40.43
These are a starting point, not a recommendation. They were measured on one broker's data with a $10,000 balance. Your broker's contract sizes, symbol names and spreads differ, and so does your balance. The on-chart panel is always the number that applies to you — trust it over the table.

4. Stop loss and take profit

Every trade is sent to your broker with a stop loss and a take profit already attached. No position is ever opened unprotected. There are two ways to size them.

Mode A — ATR (the default)

The stop and target are measured from ATR, which is simply how far the market has been moving lately. In a fast market the stop widens; in a quiet one it tightens. That is what the TradingView version does, so the two match.

SettingMeaning
InpAtrSlStop loss = this many × ATR. 1.5 means one and a half times the recent average range.
InpAtrTpTake profit = this many × ATR.
InpAtrLenHow many bars the ATR is measured over. Usually 14. Leave it alone unless you know why you're changing it.

Raising InpAtrSl gives the trade more room and fewer stop-outs, but each loss is bigger. With Auto Lot on, a wider stop automatically reduces the lot, so your money risk stays the same — only the shape of the trade changes.

Three bots don't have an ATR take-profit, because they aim at a moving target instead: YenKiller and FrancGuard exit at the Bollinger midline, and MultiForex exits at twice its grid size. On those you'll see InpAtrSl but no InpAtrTp — that's by design, not a missing setting.

Mode B — Fixed distances

If you'd rather set exact distances yourself:

  1. Set InpUseFixedStops to true.
  2. Set InpSlPoints — stop loss distance in points.
  3. Set InpTpPoints — take profit distance in points.

The defaults are 300 and 600, which is a 1:2 reward-to-risk shape. ATR settings are ignored entirely in this mode.

5. Points vs pips — read this first

Those boxes are in POINTS, not pips. This is where people get it wrong by a factor of ten. On a 5-digit broker, 1 pip = 10 points. Typing 30 when you meant 30 pips gives you a 3-pip stop.
MarketPrice looks like1 pip =30 pips =
EURUSD, GBPUSD, USDCHF, AUDUSD1.0945610 points300
USDJPY and other JPY pairs154.72610 points300
XAUUSD (gold)2410.251 point = $0.01$3.00 = 300

6. Guards that stop the bot loading

Two settings protect you from attaching a bot somewhere it cannot work. If either is triggered the bot refuses to start and says why in the Experts tab.

SettingWhat it prevents
InpEnforceSymbol Running on the wrong market. GoldStrike on EURUSD would still place trades — with stops sized for gold. Silence would be the dangerous outcome, so it refuses instead.
InpEnforceTimeframe Running on too low a timeframe. On a 1-minute chart an ATR stop can shrink to a couple of pips — about the width of the spread — and the bot churns. Each bot states its designed range, e.g. M15 – H1.

If your broker names a symbol unusually (say EURUSD.r or GOLD) the symbol check normally still recognises it, because it matches on part of the name. Only set these to false if you have checked and you know the chart is right.

7. Filters that make it trade less

SettingMeaning
InpOneAtATimeOnly one open position at a time from this bot. On by default.
InpMaxSpreadPtsSkip the entry if the spread is wider than this. Protects you around news and at rollover. 0 switches the check off.
InpMinBarsNeeds this much history on the chart before trading. If a fresh chart does nothing, scroll back to load bars.
InpMaxMarginPctA single trade may not use more than this share of your free margin.
InpSlippagePtsHow much price movement you'll accept between clicking and filling.
InpMagicThe bot's ID number, so several bots can share one terminal without touching each other's trades. If you run the same bot on two charts, change it on one of them.
InpMtfEnableHigher-timeframe agreement filter. Off on most bots.
Every extra filter step roughly halves the number of trades. Switching several on at once can take a bot from dozens of trades to almost none, and it looks broken when it is only being throttled. Turn them on one at a time, and give each one enough trades to judge.

8. Saving your settings

Once you have the inputs how you want them, press Save at the bottom of the Inputs tab and give the file a name. That writes a .set file you can Load onto any other chart — and it means a reinstall never costs you your setup.

Worth doing before you change anything, so you always have the original to go back to.

9. The TradingView version

The Pine version of each bot has the same three lot settings, in a group called Lot Size in the Inputs tab: Auto Lot Size, Position size % of equity and Fixed lot size. Stop and target use the same ATR multipliers as the MetaTrader build, so the chart you test on and the bot you run behave the same way.

One difference worth knowing: on TradingView, Auto Lot sizes the position as a percentage of equity, whereas in MetaTrader the Risk % is the most you can lose to the stop. Same number, different meaning — the labels in each version say which is which.

10. If it isn't trading

What you seeWhat it means
auto trading disabled by clientThe AutoTrading button is off. Press it.
WRONG INSTRUMENTThe bot is on a market it wasn't built for. Move it.
TIMEFRAME TOO LOWMove it up to the range named in the message.
entry skipped — spreadSpread was too wide at that moment. Normal around news.
disagrees with the signalA higher-timeframe filter blocked it. Expected if you turned those on.
Nothing at all in the logOften just a quiet week — see below.

A quiet week is normal

These bots act on closed bars only — they never act mid-bar, because a signal that appears mid-bar can vanish before the bar closes, and a bot that traded those would behave nothing like its backtest. On a higher timeframe there simply aren't many bars. A strategy taking a couple of trades a month will have plenty of empty weeks, and that is the strategy working as designed, not a fault.

Before deciding something is broken, open the Experts tab in the Toolbox. If the bot is skipping entries it will tell you why, in words.

Test on a demo account first. Run any bot, and any settings you have changed, on a demo for long enough to see it trade before you risk real money. Any performance figures you have seen from us are backtested and hypothetical — they are not an audited live account, they benefit from hindsight, and they cannot reproduce real spread and slippage. Trading carries a substantial risk of loss.
Still stuck? Ask in the Discord — post what the Experts tab says, the chart symbol and timeframe, and a screenshot of your Inputs tab. That's almost always enough to spot it straight away. We will never DM you first, and we will never ask for your broker login or password.