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.
MQL5\Experts and copy your .ex5 file there.MQL4\Experts and copy your .ex4 file there.auto trading disabled by client. That is the single most common reason a
correctly installed bot never opens anything.
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.
The first thing most people want to change is trade size. There are two modes and one switch that chooses between them.
| Setting | What it does |
|---|---|
Auto Lot SizeInpAutoLot |
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 sizeInpFixedLots |
Used only when Auto Lot is off. A flat lot on every trade, whatever the stop distance. |
Show panelInpShowPanel |
Prints a live panel in the top-left of your chart showing the exact lot the next trade will use, and what it risks. |
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.
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.
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:
| Bot | Market | Fixed lot ≈ its default risk on $10k |
|---|---|---|
| YenKiller | USDJPY H1 | 2.61 |
| FrancGuard | USDCHF H1 | 1.44 |
| EuroPulse | EURUSD H1 | 1.39 |
| CableSniper | GBPUSD H1 | 1.08 |
| MultiForex | its 5 FX pairs, H1 | 0.27 |
| GoldStrike | XAUUSD H1 | 0.05 |
| SilverBullet | XAGUSD H4 | 0.02 |
| SPX500 / SP500Momentum | US500 H4 | 3.98 / 3.32 |
| NasdaqNinja | USTEC M15 | 4.37 |
| DowRunner | US30 H4 | 0.43 |
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.
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.
| Setting | Meaning |
|---|---|
InpAtrSl | Stop loss = this many × ATR. 1.5 means one and a half times the recent average range. |
InpAtrTp | Take profit = this many × ATR. |
InpAtrLen | How 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.
InpAtrSl but no
InpAtrTp — that's by design, not a missing setting.
If you'd rather set exact distances yourself:
InpUseFixedStops to true.InpSlPoints — stop loss distance in points.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.
30 when you meant
30 pips gives you a 3-pip stop.
| Market | Price looks like | 1 pip = | 30 pips = |
|---|---|---|---|
| EURUSD, GBPUSD, USDCHF, AUDUSD | 1.09456 | 10 points | 300 |
| USDJPY and other JPY pairs | 154.726 | 10 points | 300 |
| XAUUSD (gold) | 2410.25 | 1 point = $0.01 | $3.00 = 300 |
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.
| Setting | What 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.
| Setting | Meaning |
|---|---|
InpOneAtATime | Only one open position at a time from this bot. On by default. |
InpMaxSpreadPts | Skip the entry if the spread is wider than this. Protects you around news and at rollover. 0 switches the check off. |
InpMinBars | Needs this much history on the chart before trading. If a fresh chart does nothing, scroll back to load bars. |
InpMaxMarginPct | A single trade may not use more than this share of your free margin. |
InpSlippagePts | How much price movement you'll accept between clicking and filling. |
InpMagic | The 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. |
InpMtfEnable | Higher-timeframe agreement filter. Off on most bots. |
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.
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.
| What you see | What it means |
|---|---|
auto trading disabled by client | The AutoTrading button is off. Press it. |
WRONG INSTRUMENT | The bot is on a market it wasn't built for. Move it. |
TIMEFRAME TOO LOW | Move it up to the range named in the message. |
entry skipped — spread | Spread was too wide at that moment. Normal around news. |
disagrees with the signal | A higher-timeframe filter blocked it. Expected if you turned those on. |
| Nothing at all in the log | Often just a quiet week — see below. |
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.