Razor Gold is an automated gold (XAUUSD) scalping robot. It waits for qualified short-term setups, confirmed by trend, market structure, momentum, volatility, liquidity and spread checks, and trades them with a defined stop loss on every trade. No grid, no martingale.
This guide covers everything from installation to going live: license activation, every setting explained, backtesting, broker choice, VPS setup and troubleshooting.
Product page: Razor Gold on MQL5 Market
Quick start: from zero to live in about 15 minutes
- Broker: a low-spread gold account (ECN / Raw).
- VPS: a server that runs MetaTrader 24/5.
- Install: copy the EA and allow https://xaubot.com in the WebRequest list.
- License: paste your personal key into the Inputs tab.
- Go live: one XAUUSD M15 chart, AutoTrading on.
What Is Included in the Guide
- How Razor Gold trades: the life of a trade and its protection layers
- Choosing a timeframe: M5, M15 or M30
- Installation step by step and license activation
- Every setting explained, with recommendations
- Reading the on-chart dashboard
- Running and reading a backtest
- Live track record
- Choosing a broker for gold scalping
- VPS setup: Windows VPS and MQL5 built-in VPS
- Troubleshooting, final checklist and support
Requirements
| Symbol | XAUUSD (gold), one chart only |
| Timeframe | M15 by default; M5 and M30 also work |
| Platform | MetaTrader 4 and MetaTrader 5, same steps on both |
| Minimum deposit | $100+ (more capital = smoother risk) |
| Leverage | 1:20 or higher (1:100+ is comfortable) |
| Account type | ECN / Raw with a low gold spread |
How Razor Gold Trades
On gold, Razor Gold uses a pip size of 0.01: 100 pips = $1.00 of gold price. With the default settings, a buy trade goes through four stages:
- The breakout pending order fills. Stop loss: 300 pips ($3.00).
- At +35 pips the stop moves to entry (break-even).
- From +80 pips the stop trails 80 pips behind price.
- The trade is trailed out in profit. Maximum take profit: 1000 pips ($10).
Most trades end at the trailing or break-even stop, not at the full take profit.
Protection layers:
- Every trade: stop loss, risk = your Risk Per Trade %
- Loss Lock: 12-hour pause after 2 losses in a row
- Daily: trading stops at -5% (Max Daily Loss)
- Between trades: 15-minute cooldown
Which Timeframe?
| M5 | More trades. More frequent, shorter setups. Most sensitive to spread and execution; use only with a very low-spread account. |
| M15 (default) | Balanced. The designed default and the best starting point for most users. |
| M30 | Fewer, calmer trades. Fewer signals and longer holding times; less affected by spread. |
Razor Gold trades the timeframe of the chart it is attached to. Pick one timeframe per account and backtest it before going live.
Installation
- In MetaTrader, click File › Open Data Folder.
- Open the MQL4 folder (on MT5: MQL5), then Experts.
- Paste the Razor Gold file (.ex4 or .ex5) into Experts. If you received a .zip, extract it first.
- In the Navigator (Ctrl+N), right-click Expert Advisors › Refresh.
- Open Tools › Options (Ctrl+O) › Expert Advisors. Tick Allow automated trading and Allow WebRequest for listed URL, then add https://xaubot.com.
- Open one XAUUSD chart on M15 (your broker may call it GOLD, XAUUSD.r, XAUUSDm or XAUUSD.raw).
- Double-click Razor Gold in the Navigator. In the Common tab, tick Allow live trading.
Bought on the MQL5 Market? Log in under Tools › Options › Community, open Terminal › Market › Purchased, click Install, then continue from step 6.
The #1 cause of license problems: if the URL is missing or mistyped (http instead of https, an extra space, a slash at the end), the robot cannot verify your key and will not trade. Copy it exactly: https://xaubot.com
Only one gold chart. Never attach Razor Gold to two charts, and never run it on two terminals for the same account.
License Activation
Razor Gold only trades on account numbers registered to your license. After purchase, open a private chat with XAUBOT on MQL5 and send your broker, platform (MT4 / MT5), account number(s) and account type (live / demo). Paste the key you receive into XAUBOT License Key on the Inputs tab, with no spaces before or after. Click Save to store a .set file for next time.
Key Settings
| Setting | Default | Recommendation |
| Risk Per Trade (%) | 1.0 | 0.5–1% is conservative; above 2% is aggressive |
| Lot Size Method | Risk Based | Keep Risk Based |
| Max Daily Loss (%) | 5.0 | 3–5%; prop accounts: below the firm's daily limit |
| Maximum Spread (Pips) | 20.0 | Keep 20 ($0.20) |
| Stop Loss / Take Profit (Pips) | 300 / 1000 | Keep |
| Break Even Trigger (Pips) | 35.0 | Keep |
| Trailing Stop Distance (Pips) | 80.0 | Keep |
| Loss Lock | 2 losses / 12 h | Keep |
| Enable News Filter | false | Consider true; gold spikes on USD news (NFP, CPI, Fed) |
| AI Market Filter | false | Leave false unless advised; true = fewer, stricter trades |
Worked example: balance $1,000 × risk 1% = $10 at risk. With a $3.00 stop loss, 1 lot would lose $300, so the robot opens about 0.03 lot.
Starter profile for calm first weeks: license key pasted, XAUUSD M15 chart, Risk Per Trade 0.5–1%, Max Daily Loss 3–5%, News Filter true (USD), everything else default.
Going Live and the Dashboard
Click OK and check that the AutoTrading button is green and a smiling face shows in the chart's top-right corner. The XAUBOT dashboard then shows:
- Status: Live = license verified and trading enabled
- Today: trades, win rate, profit and max drawdown
- Risk per trade: your risk %, news filter, GMT offset, leverage and trading timeframe
- Symbol row: spread now / max, open P&L, score and risk
- News: upcoming events and their impact
- AI view: XAUBOT's AI read of gold's structure and trend
No trade yet? That is normal. Razor Gold can wait hours for a valid setup, and skips wide spreads, news windows, cooldowns and Loss Lock pauses.
Backtesting
- Open the Strategy Tester (Ctrl+R) and select Razor Gold.
- Choose your broker's gold symbol and the timeframe you will trade (M15 by default).
- Model: Every tick on MT4, or Every tick based on real ticks on MT5.
- Set a realistic spread (15–25), at least 1 year of data and an initial deposit of $100+.
- Press Start, then check the Graph and Report tabs.
For a scalper, spread decides the result. Use your broker's typical gold spread, not the lowest possible. Watch the video walkthrough: https://www. youtube. com/watch?v=F7h93HIkGf0 (remove spaces)
Live Track Record
Razor Gold runs on a real-money Tickmill account tracked on Myfxbook, with track record and trading privileges verified. Myfxbook: https://www. myfxbook .com/members/XAUBOTAI/razor-gold-xaubot-2/12093624 (remove spaces)
Broker Requirements
Razor Gold trades often and exits early, so the spread you pay on every trade is a large part of the result. At 0.10 lot, a 10-pip spread costs $1.00 per trade; a 30-pip spread costs $3.00, and is above the robot's 20-pip limit, so many trades are skipped.
- Low gold spread, typically below 20 pips ($0.20)
- Low slippage and fast execution
- Leverage 1:20+ (1:100 or higher is comfortable)
- Pending orders allowed
- MT4 or MT5, matching your Razor Gold build
- A regulated, established broker
Look for account types called Raw, Raw Spread, ECN, Razor or Zero. Check the gold spread on a demo during the London and New York sessions before funding.
VPS
Break-even, virtual trailing and pending orders are managed by the robot itself. If MetaTrader is closed, nothing manages them. A VPS keeps Razor Gold running 24/5.
| Option | Best for | Cost |
| Windows Forex VPS | Full control; see the dashboard and news panel | ~$15–40 / month |
| MQL5 built-in VPS | Simplest setup, no remote desktop needed | $15 / month |
| Free broker VPS | Clients who meet the broker's conditions | Free if eligible |
Recommended: Windows Server, 2 vCPU, 2–4 GB RAM, SSD, in the same city as your broker's server. Put the MetaTrader shortcut in shell:startup so it restarts automatically.
Never "Shut down" or "Sign out" inside the VPS. Close the remote window with the X. Never run Razor Gold on your PC and the VPS at the same time.
Troubleshooting
| You see | Fix |
| License error / dashboard not "Live" | Add https://xaubot .com exactly, re-paste the key, send your exact account number in private chat. |
| Sad face on the chart | Turn AutoTrading on. F7 › Common › Allow live trading. |
| Razor Gold not in the Navigator | File › Open Data Folder › MQL4 › Experts, then refresh the Navigator. |
| Running, but no trades | Usually normal: spread, news window, cooldown, Loss Lock or daily limit. Check the dashboard and Experts log. |
| Results much worse than the backtest | Check your gold spread, switch to a Raw / ECN account, re-test with a realistic spread. |
| Trades doubled | One gold chart on one terminal only. |
Download the Full Manual
The complete 25-page Razor Gold User Manual, with screenshots for every step, is attached to this post.
Questions? Message XAUBOT in private chat on MQL5. Include your broker and account number, MT4 or MT5, local PC or VPS, and screenshots of the dashboard and the Experts tab.
Important
Trading gold, Forex, CFDs and other leveraged instruments involves substantial risk and may result in the partial or complete loss of your capital. Only trade with money you can afford to lose. Backtest results are simulated and do not represent actual trading. Past performance is not indicative of future results. No Expert Advisor or AI system can guarantee profits or avoid losses.


