Documentation
Everything about running AURAX
How the AURAX gold bot trades, how to install and host it, what every setting does, how the risk limits work, and what each page of the portal is for. Written for someone who has never run an expert advisor.
What AURAX is
An expert advisor for MetaTrader 5 that trades gold (XAUUSD) on your own broker account, plus a portal that watches it.
The parts
- The bot (EA) — a compiled
.ex5file you attach to a gold chart in MetaTrader 5. It places and manages the trades. It runs wherever that terminal runs: your PC, your own VPS, or a VPS we manage. - Your broker account — the money never leaves your broker. AURAX has no access to withdraw; it only trades through the terminal you run.
- The portal — this website. The bot reports to it every 30–90 seconds (a “heartbeat”) with its state, positions and results, so you can watch, pause, close, tune and get alerts from anywhere.
- The licence — one licence runs the bot on one MT5 account. The bot checks the key on every heartbeat; without a valid one it does not trade.
What it is not
How the bot trades
A grid with a basket: several positions in one direction, averaged, closed together for a small profit.
The basket, step by step
- The bot opens the first position with the base lot (default 0.01). If filters are on, only in the allowed direction.
- If price moves against it by one grid step (default 500 points, 0.01 = 1 point on gold), it opens another position in the same direction, larger by the lot multiplier (default ×2). This is the basket.
- Every added position lowers the basket’s average entry, so a smaller move back is enough to bring the whole basket into profit.
- When the basket’s combined profit reaches the basket profit target (default $3), everything in it is closed at once. A new basket starts if Always open is on.
- The basket stops growing at max positions (default 8). From there it waits for price to come back — or the risk limits step in.
Why the lot ladder matters
Buy and sell at once
Getting started
From sign-up to the first heartbeat in about fifteen minutes. The trial lasts 3 days on a demo licence.
Sign up and get the trial
Have an MT5 account ready
Connect the account in the portal
Install the bot
Installing on MetaTrader 5
Six steps on Windows; the same on a Windows VPS. macOS needs MT5 in a Windows environment (the broker's Mac build or a VPS).
Download the bot
Put the file where MT5 looks for experts
File → Open Data Folder, then MQL5 → Experts. Copy the .ex5 there. Restart the terminal, or right-click Expert Advisors in the Navigator and choose Refresh.Allow the bot to talk to the portal
Tools → Options → Expert Advisors: tick Allow algorithmic trading, tick Allow WebRequest for listed URL and add the portal’s address to the list. Without it the bot cannot report or check its licence, and the portal shows the account as offline.Open a gold chart and attach the bot
Switch Algo Trading on
Confirm the first heartbeat
Hosting
The bot runs inside a MetaTrader terminal, and that terminal has to run 24/5. Three ways to get there.
Your own PC
Your own VPS
AURAX managed VPS
Accounts and diagnostics
Every account on one page: live figures, health, licence, hosting, positions, settings.
What the card shows
Diagnostics
Editing settings from the card
Licence row and removal
Controls
Pause, resume and close, per account or across all, with what each will do said before you click.
The five commands
- Pause — the bot opens nothing new. Open positions stay open and are still managed (profit target, trailing).
- Resume — trading continues with the current settings.
- Close all / Close buys / Close sells — the positions are closed at market, at whatever the floating P&L is at that moment. The dialog shows how many, how many lots and the floating figure now, and asks you to type
CLOSEplus the last four digits of the login.
How a command travels
Bulk actions
Every setting, explained
The full list the bot understands, with its default and allowed range. Grouped the way the Templates form groups them.
Lot & grid
The heart of the strategy: how big the first position is, how much bigger each next one gets, how far apart they sit, and how many the basket may hold. These four numbers decide your exposure — see Risk limits.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Base lot | Initial lot size | 0.01 | 0.01 – 100 |
| Lot multiplier | Multiplier per grid level | 2 × | 1 – 5 |
| Mult every Nth | Multiply lot every N positions | 1 | 1 – 20 |
| Grid step | Distance between grid levels | 500 pt | 10 – 10000 |
| Max positions | Max positions per basket | 8 | 1 – 100 |
| Max age | Force-close basket after N min (0=off) | 0 min | 0 – 100000 |
| Pause threshold | Stop adding if float DD > N pts (0=off) | 0 pt | 0 – 1000000 |
| Max slippage | Max allowed slippage | 20 pt | 0 – 100000 |
| Custom multipliers | e.g. "1,2,4,8,12" (blank = use Lot multiplier) | blank | |
| Custom grid steps | e.g. "50,70,90,120" (blank = use Grid step) | blank |
Profit & trailing
When a basket is closed for profit, and how a winning basket is trailed so a reversal does not give the profit back.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Basket profit | Close basket at this P&L (0=off) | $3 | 0 – 100000 |
| Combined profit | Close BOTH baskets at combined P&L (0=off) | $2 | 0 – 100000 |
| Trail activation | Profit before trailing activates | 300 pt | 0 – 100000 |
| Trail step | Trailing step | 100 pt | 0 – 100000 |
Break-even
After a number of positions, the basket can be closed at break-even (plus a few points) instead of waiting for full profit.
| Setting | What it does | Default | Range |
|---|---|---|---|
| BE after level | Activate BE after N positions (0=off) | 0 | 0 – 100 |
| BE extra | Pts above avg entry to close on BE | 10 pt | 0 – 10000 |
Signal & trend
Optional filters that only allow entries in the direction of the higher-timeframe trend.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Trend filter | Require higher-TF trend to match | Off | |
| Trend timeframe | Higher TF for direction filter | H1 | |
| EMA fast | EMA fast period | 5 | 1 – 500 |
| EMA slow | EMA slow period | 13 | 1 – 1000 |
ATR grid
Instead of a fixed step, the grid step follows the daily ATR, so a quiet market gets a tighter grid and a wild one a wider grid.
| Setting | What it does | Default | Range |
|---|---|---|---|
| ATR grid | Use ATR-based dynamic grid step | Off | |
| ATR period | ATR period (daily bars) | 14 | 1 – 500 |
| ATR grid % | Grid step = DailyATR × this | 0.08 | 0 – 100 |
| Grid step incr | Grid step increment per level | 100 pt | 0 – 10000 |
| Grid step max | Cap on grid step | 600 pt | 0 – 100000 |
ADX filter
Blocks entries against a strong trend, measured by ADX and the directional indices.
| Setting | What it does | Default | Range |
|---|---|---|---|
| ADX filter | Require DI+/DI- to match entry side | Off | |
| ADX period | ADX / DI period | 14 | 1 – 500 |
| ADX block level | Strong opposing trend threshold | 30 | 0 – 100 |
Pump filter
Blocks entries right after a fast spike on the one-minute chart.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Pump filter | Block entries against fast M1 spikes | Off | |
| Pump lookback | M1 candles to measure the move | 10 | 1 – 1000 |
| Pump points | Min move to flag as pump/dump | 200 pt | 0 – 1000000 |
Risk
The kill switch and the daily pause: hard limits that override everything else.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Max drawdown | Hard killswitch on account DD | 20 % | 1 – 100 |
| Daily drawdown | Soft pause on daily DD (0=off) | 5 % | 0 – 100 |
| Max DD money | Hard killswitch in $ (0=off) | $0 | 0 – 100000000 |
| Daily DD money | Soft pause in $ (0=off) | $0 | 0 – 100000000 |
| Daily reset hour | Server hour to reset daily DD | 0 | 0 – 23 |
Trading hours
Windows of server time during which no new position is opened (for example around the New York open or a scheduled release).
| Setting | What it does | Default | Range |
|---|---|---|---|
| Time filter | Block new entries during blocked hours | Off | |
| Block 1 start | Server time HH:MM | 14:20 | |
| Block 1 end | Server time HH:MM | 17:00 | |
| Block 2 start | Server time HH:MM | 00:00 | |
| Block 2 end | Server time HH:MM | 03:00 |
Behaviour
Whether buy and sell baskets may run at the same time, and whether a new basket opens right after one closes.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Allow simultaneous | Allow Buy and Sell baskets at once | On | |
| Always open | Reopen basket immediately after close | On |
Magic numbers
How the bot tells its own orders from anything else on the account. Change only if another expert uses the same numbers.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Magic buy | Magic number for buy basket | 77001 | 0 – 2147483647 |
| Magic sell | Magic number for sell basket | 77002 | 0 – 2147483647 |
Risk limits
Two hard limits the bot enforces on its own, and the numbers that decide how far a basket can go.
Max drawdown — the kill switch
Daily drawdown — the pause
Exposure is decided by four settings
What the portal does on top
Templates
A template is a full settings snapshot you can name, compare, apply and share.
Mine and AURAX presets
Compare and apply
Files
Stats and history
Realised results from closed trades, the same numbers the admin sees, on Europe/Sarajevo days.
Stats
History
What the numbers are
Licences and billing
One licence runs one MT5 account. Plans are one offering in three durations.
Licences
Plans and paying
CANCEL), and the cancellation withdrawn any time before then.What the License page tells you
Telegram and notifications
Alerts arrive on Telegram; the portal shows the same events in History.
Connecting Telegram
@userinfobot on Telegram to get your numeric chat ID, paste it, save, start a chat with the AURAX bot and press Start, then send a test. If the test arrives, every alert you switch on arrives the same way.What can be sent
Gold analysis
Score, rank and leaderboard
A measure of how well the bot is run, not of account size.
The AURAX score
XP, rank, streak, missions
Leaderboard and privacy
Testing before real money
Three ways to see how a setting behaves before it touches a live account.
1. A demo account
2. Templates risk panel
3. MT5 Strategy Tester
Troubleshooting
The diagnostic codes the portal shows, what each means, and what fixes it.
| Shown as | What it means | What fixes it |
|---|---|---|
AURAX is offline HEARTBEAT_LOST | No heartbeat for more than 8 minutes. The terminal is closed, the machine is asleep or offline, or WebRequest is blocked. | Open MetaTrader 5, check the machine has internet, confirm https://aurax.trade is in the WebRequest list. The bot recovers on its next heartbeat by itself. |
Heartbeat delayed HEARTBEAT_DELAYED | The bot is connected but its last check-in is older than the usual 90 seconds. | Usually a slow connection or a busy terminal. If it turns into offline, treat it as offline. |
Connected, no trading telemetry TELEMETRY_IDLE | The terminal polls the server but the chart sends no trading report. Normal while the market is closed. | If the market is open, check the AURAX EA is still attached to the XAUUSD chart (smiley face in the chart's top-right corner). |
MT5 lost its connection MT5_DISCONNECTED | The terminal is not connected to the broker. | Look at the connection status in the bottom-right corner of MT5; check the server name, login and internet. The bot resumes when the terminal reconnects. |
Algo trading is off ALGO_TRADING_DISABLED | The terminal's global Algo Trading switch is off, so no expert can trade. | Click the Algo Trading button in the MT5 toolbar so it is highlighted. |
The bot is not allowed to trade EA_TRADING_NOT_ALLOWED | Automated trading is disabled for this expert in its properties. | Open the EA's properties (F7 on the chart) → Common → tick Allow Algo Trading. Or Tools → Options → Expert Advisors. |
Trading not allowed on the account ACCOUNT_TRADING_NOT_ALLOWED | The broker does not allow trading on this account right now (investor password, account status, trading hours). | Log in with the trader (not investor) password; contact the broker if it persists during market hours. |
No recent market data MARKET_DATA_STALE | No fresh tick for five minutes while connected. Normal on weekends, holidays and rollover. | If the market is open, re-open the XAUUSD chart or check the symbol is enabled in Market Watch. |
High latency HIGH_LATENCY | The round trip between the bot and the server is slow. | Nothing to do for a moment; if it stays high, the machine or its connection is struggling — a VPS close to the broker helps. |
High spread HIGH_SPREAD | The broker's spread on gold is unusually wide, which hurts grid entries. | Common around news and at rollover. The bot keeps working; consider pausing over big releases. |
Update available EA_VERSION_OUTDATED | The account runs an older build than the one published on Downloads. | Download the current .ex5, replace the file in MQL5/Experts, restart the terminal. Settings and the licence key stay. |
Symbol unavailable SYMBOL_UNAVAILABLE | The account's gold symbol is not available at this broker. | Use the symbol exactly as your broker names gold (e.g. XAUUSD, XAUUSD.s, GOLD) — set it on the account. |
Paused by you AURAX_PAUSED | The bot is paused from Controls and opens nothing new. Existing positions are still managed. | Resume from Controls when you want it trading again. |
The bot trades but the portal shows nothing
Invalid licence
Questions people ask
Short answers; the sections above have the long ones.
Can I run it on more than one account?
Does AURAX have access to my money?
What happens if my connection drops mid-basket?
Can I change settings while positions are open?
Why is the account Idle on Saturday?
Which gold symbol do I use?
Can I get my data out?
Support and your data
A person answers. Normal priority within a day, urgent within the hour.