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 .ex5 file 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

A signal service, a managed fund or a guarantee. It is a strategy that averages into a position with a grid, which wins small amounts often and can lose a larger amount when the market runs one way for long. The whole documentation below is about keeping that second case under control.
Trading gold and other leveraged products carries a high level of risk, including the possible loss of some or all of your capital. Automated strategies do not guarantee profit, and past or simulated performance is not indicative of future results.

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

  1. The bot opens the first position with the base lot (default 0.01). If filters are on, only in the allowed direction.
  2. 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.
  3. Every added position lowers the basket’s average entry, so a smaller move back is enough to bring the whole basket into profit.
  4. 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.
  5. 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

With base lot 0.01 and multiplier 2, the eight levels are 0.01, 0.02, 0.04, 0.08, 0.16, 0.32, 0.64 and 1.28 lots — 2.55 lots in total, with half the exposure in the last level. On gold one point on one lot is $1, so a full basket that sits 3,500 points from its first entry carries a floating loss in the thousands. The Templates page computes this for any settings before you apply them (“worst case”), and the risk limits cap it.

Buy and sell at once

With Allow simultaneous on (the default), a buy basket and a sell basket can be open at the same time; each is managed on its own, and Combined profit can close both together. With it off, the bot runs one direction at a time.

Getting started

From sign-up to the first heartbeat in about fifteen minutes. The trial lasts 3 days on a demo licence.

1

Sign up and get the trial

Register with your email. You get a 3-day trial with one demo licence: enough to run the bot on a demo account and see it work. A live account needs a plan (see Licences and billing).
2

Have an MT5 account ready

Any broker that offers gold on MetaTrader 5 works when you host the bot yourself. Our managed VPS supports PU Prime (PUPrime-Live, PUPrime-Live2, …); Quo Markets LLC (TradeQuo-Server). You need the login number, the server name exactly as the MT5 login window shows it, and the trader password (not the investor password — that one cannot trade).
3

Connect the account in the portal

Accounts → Add account walks you through it: server and number, which licence binds, hosting, then a review. On create, a licence is bound to the account and its licence key is shown once, with the steps to the first heartbeat.
4

Install the bot

Follow Installing on MT5. Paste the key into the bot’s inputs. Within a minute the account shows Online on the Accounts page.
5

Start on a demo, then decide

Let the bot run on the demo for the trial. Read Stats, look at the drawdown, understand the settings. Then choose a plan and a live account when you are comfortable.

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).

1

Download the bot

Downloads serves the current build and shows its size and SHA-256 so you can verify the file. It also shows which build each of your accounts runs.
2

Put the file where MT5 looks for experts

In MT5: 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.
3

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.
https://aurax.trade
4

Open a gold chart and attach the bot

Open an XAUUSD chart (any timeframe; the bot has its own timing). Drag AURAX from the Navigator onto it. In the dialog: Common → tick Allow Algo Trading; Inputs → paste the licence key. The other inputs are managed from the portal; you do not need to set them here.
5

Switch Algo Trading on

The Algo Trading button in the toolbar must be highlighted. A smiley face in the chart’s top-right corner means the bot is running; a sad face means it is attached but not allowed to trade — the troubleshooting table says why.
6

Confirm the first heartbeat

Within a minute the Accounts page shows the account as Online, the build it runs, and the diagnostics all green. If not, open the account’s diagnostics: each red item names the step that fixes it.
Keep the terminal running. The bot trades only while MetaTrader is open and connected; a laptop that sleeps stops it. That is what the hosting section is about.

Hosting

The bot runs inside a MetaTrader terminal, and that terminal has to run 24/5. Three ways to get there.

Your own PC

Free and fine for a demo. For real money it is fragile: sleep, updates, a lost connection or a closed lid stop the bot mid-basket. If you go this way, disable sleep, keep the terminal in the foreground, and watch the offline alerts.

Your own VPS

A small Windows server from any provider, ideally in the same region as your broker’s servers (lower latency). Install MetaTrader and the bot there exactly as above. You keep full control; you are also the one who restarts it when the provider reboots.

AURAX managed VPS

€20 a month per account. We run the terminal on our fleet, install the bot, keep it updated and restart it when needed; the portal’s uptime figures come from the same heartbeats. You choose it when connecting the account; it starts once the hosting payment is approved, usually the same day. It is available for the brokers listed in the guide (PU Prime, Quo Markets LLC), because the terminal needs your server, login and trader password — they are stored encrypted and used only to log in.

Accounts and diagnostics

Every account on one page: live figures, health, licence, hosting, positions, settings.

What the card shows

Equity, today’s and this week’s result, open positions and drawdown, fed live from the bot’s heartbeats. The badge is one of Online (telemetry within 8 minutes), Idle (the terminal polls but sends no trading data — normal on weekends) or Offline. Accounts that need attention sort to the top.

Diagnostics

Opening a card shows what the health engine knows: build version against the current one, MT5 connection, algo trading, trading permission, market data age, latency and spread — each green, amber or red, with the step that fixes a red one. The same codes drive the Telegram alerts and the troubleshooting table.

Editing settings from the card

The ten most-used settings can be changed on the card, within the same limits the server enforces, and the change is shown before it is saved. Settings only change while the bot is paused and has no open positions, because a change under an open basket would alter its lot ladder mid-flight.

Licence row and removal

The licence key is masked with a Show button; the leaderboard switch hides the account from the public rankings. Removing an account asks you to type its number; the licence it used goes back to your free pool.

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 CLOSE plus the last four digits of the login.

How a command travels

A command is queued on the portal and picked up by the bot on its next heartbeat — seconds while it is online. The tracker under the buttons shows Waiting for the bot, then Done with the time it took. A command sent to an offline bot waits and runs when it reports again; it is not lost and not instant. A new command replaces one still waiting.

Bulk actions

With several accounts, the box at the top applies one action to the selected ones. The preview says on which accounts it will run and which are skipped (already paused, nothing to close, offline), and the outcome per account is shown after sending. Pause + close all is the emergency stop.

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.

SettingWhat it doesDefaultRange
Base lotInitial lot size0.010.01 – 100
Lot multiplierMultiplier per grid level2 ×1 – 5
Mult every NthMultiply lot every N positions11 – 20
Grid stepDistance between grid levels500 pt10 – 10000
Max positionsMax positions per basket81 – 100
Max ageForce-close basket after N min (0=off)0 min0 – 100000
Pause thresholdStop adding if float DD > N pts (0=off)0 pt0 – 1000000
Max slippageMax allowed slippage20 pt0 – 100000
Custom multiplierse.g. "1,2,4,8,12" (blank = use Lot multiplier)blank
Custom grid stepse.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.

SettingWhat it doesDefaultRange
Basket profitClose basket at this P&L (0=off)$30 – 100000
Combined profitClose BOTH baskets at combined P&L (0=off)$20 – 100000
Trail activationProfit before trailing activates300 pt0 – 100000
Trail stepTrailing step100 pt0 – 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.

SettingWhat it doesDefaultRange
BE after levelActivate BE after N positions (0=off)00 – 100
BE extraPts above avg entry to close on BE10 pt0 – 10000

Signal & trend

Optional filters that only allow entries in the direction of the higher-timeframe trend.

SettingWhat it doesDefaultRange
Trend filterRequire higher-TF trend to matchOff
Trend timeframeHigher TF for direction filterH1
EMA fastEMA fast period51 – 500
EMA slowEMA slow period131 – 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.

SettingWhat it doesDefaultRange
ATR gridUse ATR-based dynamic grid stepOff
ATR periodATR period (daily bars)141 – 500
ATR grid %Grid step = DailyATR × this0.080 – 100
Grid step incrGrid step increment per level100 pt0 – 10000
Grid step maxCap on grid step600 pt0 – 100000

ADX filter

Blocks entries against a strong trend, measured by ADX and the directional indices.

SettingWhat it doesDefaultRange
ADX filterRequire DI+/DI- to match entry sideOff
ADX periodADX / DI period141 – 500
ADX block levelStrong opposing trend threshold300 – 100

Pump filter

Blocks entries right after a fast spike on the one-minute chart.

SettingWhat it doesDefaultRange
Pump filterBlock entries against fast M1 spikesOff
Pump lookbackM1 candles to measure the move101 – 1000
Pump pointsMin move to flag as pump/dump200 pt0 – 1000000

Risk

The kill switch and the daily pause: hard limits that override everything else.

SettingWhat it doesDefaultRange
Max drawdownHard killswitch on account DD20 %1 – 100
Daily drawdownSoft pause on daily DD (0=off)5 %0 – 100
Max DD moneyHard killswitch in $ (0=off)$00 – 100000000
Daily DD moneySoft pause in $ (0=off)$00 – 100000000
Daily reset hourServer hour to reset daily DD00 – 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).

SettingWhat it doesDefaultRange
Time filterBlock new entries during blocked hoursOff
Block 1 startServer time HH:MM14:20
Block 1 endServer time HH:MM17:00
Block 2 startServer time HH:MM00:00
Block 2 endServer time HH:MM03:00

Behaviour

Whether buy and sell baskets may run at the same time, and whether a new basket opens right after one closes.

SettingWhat it doesDefaultRange
Allow simultaneousAllow Buy and Sell baskets at onceOn
Always openReopen basket immediately after closeOn

Magic numbers

How the bot tells its own orders from anything else on the account. Change only if another expert uses the same numbers.

SettingWhat it doesDefaultRange
Magic buyMagic number for buy basket770010 – 2147483647
Magic sellMagic number for sell basket770020 – 2147483647
Points, not pips: on gold one point is $0.01 of price, so a grid step of 500 points is $5.00 of price. Lot sizes are standard lots (1 lot = 100 oz); on a cent account the balance is in cents but the lots mean the same.

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

When the account’s drawdown from its peak reaches Max drawdown (default 20%), or the dollar amount in Max DD money if set, the bot closes everything and stops. It does not restart by itself: that is deliberate, so a runaway day ends with a decision by you, not another basket. Support can reset it; the portal shows why it fired.

Daily drawdown — the pause

When the day’s loss reaches Daily drawdown (default 5%), the bot pauses new entries until the daily reset hour (server time, Daily reset hour). Open positions are still managed. It is the softer limit: a bad day stops getting worse without closing what may still recover.

Exposure is decided by four settings

Base lot × multiplier over max positions gives the lot ladder; grid step times levels gives how far price can walk before the basket is full. The Templates page shows for any settings: the full-basket lots, the grid span, the worst-case loss at the last level, and at which level the kill switch would fire — often before the grid reaches its last levels, which means those levels are wasted risk. Read that panel before every change.

What the portal does on top

Drawdown alerts to Telegram, the risk-control component of your score (every day with a drawdown episode of 15% or more costs 20 points), and the emergency Pause + close all across every account in Controls.

Templates

A template is a full settings snapshot you can name, compare, apply and share.

Mine and AURAX presets

Templates lists your own templates and the presets AURAX publishes. Each card shows the risk figures (full basket, grid span, worst case, kill-switch level) against the balance of the account you pick, warnings in plain words, and which accounts run it. A preset can be saved as your own and edited.

Compare and apply

Compare puts a template beside an account or another template, differences only or every field. Apply shows exactly which settings would change and by how much before you confirm, under the same rule as manual edits: the account must be paused with no open positions.

Files

Download saves a template as JSON; Import reads one back. The file carries only settings, never a licence key or a password.

Stats and history

Realised results from closed trades, the same numbers the admin sees, on Europe/Sarajevo days.

Stats

Net profit, win rate, profit factor, trades and average per trade over 7, 30 or 90 days, twelve months or all time, each against the same length of time before it. Drawdown from the daily balance snapshots (or from closed trades until the first snapshot exists). Where the profit comes from by weekday, hour, session and lot size. A month-by-month table with return on the opening balance, a day calendar, and a CSV of the trades on screen.

History

The whole trade log, searchable by ticket and filtered by account, side, result and dates; the same trades read as grid baskets (closes within 90 seconds on one account); an activity timeline of commands, settings changes, logins, licences, health events and drawdown episodes; and payments with what each covers.

What the numbers are

Realised means closed trades only — floating P&L is shown live on Accounts but does not count until a basket closes. Cent accounts are shown in dollars. Profit factor is gross profit divided by gross loss; a period with no losses shows “no losses” instead of a number.

Licences and billing

One licence runs one MT5 account. Plans are one offering in three durations.

Licences

A live licence comes with a paid plan; a demo licence comes with the trial. A free licence binds itself to the next account you connect and goes back to the pool when that account is removed. The bot checks the licence on every heartbeat: when it expires, the bot stops on that account and the portal says so a week ahead.

Plans and paying

Plans shows AURAX 1M, 6M and 12M with the per-month price and the saving against the monthly rate. You pay by card (through Whop, inside the portal), by crypto, or by bank transfer with a reference. A plan activates the moment its payment is confirmed; the licence is issued right away. No contract: a subscription can be cancelled at the period end from the License page (type CANCEL), and the cancellation withdrawn any time before then.

What the License page tells you

What covers your accounts and until when, the one thing to do next, every order with a plain state and a PDF receipt, and — before you cancel — what stays on until when and which accounts stop. Questions about a payment go to billing@aurax.trade or a support ticket.

Telegram and notifications

Alerts arrive on Telegram; the portal shows the same events in History.

Connecting Telegram

In Settings: message @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

Bot offline and back online; high drawdown; a basket closed in profit (can be many a day); the daily report per account every morning; the gold analysis twice a day in your report language. Each switch says what it sends and when.

Gold analysis

Gold Analysis is a morning and evening AI outlook for XAUUSD: bias, confidence, volatility, key levels, the events it watches, and a note for the bot. When it calls for a pause or high volatility, the page links straight to Controls. It is educational market commentary, not financial advice.

Score, rank and leaderboard

A measure of how well the bot is run, not of account size.

The AURAX score

Four parts, each 0–100, weighted: risk control (35%: days without a 15% drawdown episode), consistency (30%: share of green days), profitability (25%: 30-day return against a 10% target) and activity (10%: trading days and uptime). Challenges shows each part, what it measures and what raises it.

XP, rank, streak, missions

Winning trades, green days and green weeks earn XP; XP sets the level and the rank. The discipline streak counts days without a risk breach and pays at milestones. Daily missions are small, concrete things (a winning trade, staying within limits, four hours of uptime, a look at Stats).

Leaderboard and privacy

Rankings by week, month or season, overall or by one component. You appear under a trader id, never a name or an account number, and can hide any account from the rankings in Settings or on the Leaderboard page. Only traders with enough active days in the period are ranked.

Testing before real money

Three ways to see how a setting behaves before it touches a live account.

1. A demo account

The trial’s demo licence is for exactly this. Same bot, same portal, broker demo money. Two to four weeks that include one news week tell you more than any backtest.

2. Templates risk panel

Before any change, the Templates page tells you the full-basket lots, the grid span, the worst case and where the kill switch fires. If the worst case is a third of the balance or more, the settings are aggressive for that balance.

3. MT5 Strategy Tester

The bot runs in the tester with real ticks. Use the broker’s tick data, a period that includes a strong one-way move, and judge the result by its maximum drawdown and its worst basket, not by the final profit — a grid that made 40% and once sat 60% under water is a coin toss.

Troubleshooting

The diagnostic codes the portal shows, what each means, and what fixes it.

Shown asWhat it meansWhat 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

Almost always WebRequest: the terminal is not allowed to reach the portal. Check step 3 of the install; the URL must be exact. Then look at the terminal’s Experts tab — the bot prints why a report failed.

Invalid licence

The key was pasted with a space, belongs to another account, or has expired. The Accounts page shows the key behind Show and the licence state; the License page shows what covers the account and until when.

Questions people ask

Short answers; the sections above have the long ones.

Can I run it on more than one account?

Yes — one licence per account. Each account has its own settings, controls and results; bulk actions in Controls act on all of them at once.

Does AURAX have access to my money?

No. The bot trades through the MetaTrader terminal you run, with your trader password that stays in that terminal (or, for the managed VPS, encrypted on our side and used only to log in). Withdrawals are only possible on the broker’s side with your own credentials.

What happens if my connection drops mid-basket?

The bot stops managing until the terminal is back; open positions stay open at the broker with no stop loss of their own, which is why hosting matters. When the terminal reconnects, the bot picks the basket up and continues.

Can I change settings while positions are open?

No — the lot ladder of an open basket must not change under it. Pause, close (or wait for the basket to close), change, resume. Templates and the Accounts card both enforce this.

Why is the account Idle on Saturday?

The market is closed, so there is no trading telemetry, but the terminal still polls. Idle on a weekend is normal; Offline is not.

Which gold symbol do I use?

The one your broker lists — XAUUSD, XAUUSD.s, GOLD and similar all work. Set it on the account; the bot reads it from there.

Can I get my data out?

Yes: Settings → My data downloads a JSON with your profile, accounts (without secrets), licences, trades and tickets. A deletion request opens a ticket a person confirms with you.

Support and your data

A person answers. Normal priority within a day, urgent within the hour.

Before you write

The new-ticket page reads the chosen account’s state and points at what already answers it: offline → diagnostics, licence → License, old build → Downloads, paused → Controls. The account’s snapshot goes with the ticket automatically (bot state, health, licence, build, open positions — never a password or a key), so support does not have to ask.

Contact

Open a ticket in the portal, or email support@aurax.trade. Billing: billing@aurax.trade. Security concerns: security@aurax.trade.
Trading gold and other leveraged products carries a high level of risk, including the possible loss of some or all of your capital. Automated strategies do not guarantee profit, and past or simulated performance is not indicative of future results. Full text: risk disclosure.