Welcome, and thank you for choosing Atrium Scalper Gold,
an automated scalping EA specifically developed for trading Gold (XAUUSD) on the MetaTrader 5 platform.
Product page: Atrium Scalper Gold on MT5 Market
🚀 Installation and First Launch
Setting up Atrium Scalper Gold takes just a few minutes. Follow these three steps and you'll be ready to go:
Step 1 — WebRequest Permission
- Open MT5 Trading Plattform and select Tools → Options → Experts
- Enable "Allow algorithmic trading"
- Enable "Allow WebRequest for listed URL:"
- add: https://nfs.faireconomy.media This lets use the ForexFactory calendar feed
- Restart MT5 after changing WebRequest permissions
Step 2 — Attach Atrium Scalper Gold
- Open your broker's XAUUSD / Gold chart
- In the Navigator Box go to Expert Advisors, open Market and find Atrium Scalper Gold EA
- Drag it to the XAUUSD M1 Chart
- Confirm that under the Common Tab "Allow Algo Trading" is checked (enabled)
- Configure the setting under the Inputs tab, than → OK (For a first test, you can start from the current commercial defaults)
- Confirm that the main MT5 [Algo Trading] is enabled
Step 3 — Verify the Setup
- The dashboard is enabled by default. You can disable the dashboard and trend lines under settings / === VISUALS ===
- Run a broker-specific backtest with recent high-quality tick data before live use.
⚡ Before You Start, Properly Test the EA in MetaTrader 5 Strategy Tester
For meaningful backtesting, please follow these instructions carefully.
The utility is available for free on the MQL5 Market.
How to prepare historical news data
- Download and install the free Atrium News Export utility: https://www.mql5.com/en/market/product/208044
- Use the utility to generate historical economic calendar data for the entire testing period.
- The generated file must be named [News_US_DE.csv] as specified in the EA settings
File → Open Data Folder → Navigate to the appropriate Common/Files directory
The EA automatically searches for the historical news file in the common Files directory.
- Open the Strategy Tester
- In the Navigator, go to the Market section, locate Atrium Scalper Gold, mouseright-click it and select Test
- Configure the Strategy Tester
- Symbol: XAUUSD
- Timeframe: M1 recommended (the strategy uses its own internal M1 timeframe)
- Date: Select your preferred custom testing period
- Select your preferred testing period. For reliable historical data, testing from 2026.4.1, onwards is recommended
- Model: Every Tick based on real ticks
- Initial Deposit: $5,000
- Currency: USD
- Leverage: Select your preferred leverage
- Select your preferred Risk Profile
- Select Fixed Lot or your preferred automatic Lot Mode
- If using Fixed Lot, enter your desired starting lot size
📊 Recommended Live Trading Environment
I particularly recommend the official MQL5 VPS, which allows your EA to run continuously without requiring your personal computer to remain switched on.
Before moving to a live account:
- Perform extensive Strategy Tester backtests and Test the selected configuration on a demo account
- Check the spread and execution quality
- Verify the broker's XAUUSD contract specifications
- Make sure your account has sufficient free margin
- Platform: MetaTrader 5 on a hedging account, thus the EA also working on netting accounts with lower performance
- Chart timeframe: Any. It runs internally on M1. Changing the chart timeframe does not change its signals
- Account type: A low-spread RAW/ECN account is strongly preferred. Spread, commission, slippage, stop distance, leverage, and tick history all affect results
- Cent accounts: Not recommended. Balance-based sizing and the tested grid assumptions are intended for standard account units
- VPS Recommended. The terminal must stay stable connected
- Capital: There is no universal safe minimum deposit. Required margin depends on lot size, broker contract size, leverage and how deep a basket becomes
- Recommended Risk Profile: Low Risk
- Recommended Lot Size: Fixed / 0.01 Lot
Never assume that backtesting performance will automatically be reproduced under live market conditions.
🧠 Recommended Starting Balance and Margin Requirements
- Starting Lot: 0.01 → approximately $1,000 additional margin reserve
- Starting Lot: 0.02 → approximately $2,000 additional margin reserve
- Starting Lot: 0.05 → approximately $5,000 additional margin reserve
Do not select a starting lot size solely based on the available balance. Always consider the potential exposure from multiple positions within a basket.
🛠️ Input Parameters Explained
- EA_Version: Displays the current EA version
- Comment Label: Custom trading comment
- Magic Number: Unique number used to identify the EA's trades
- Trade Direction: Select Buy and Sell, Only Buy or Only Sell
- Lot Mode: Select Fixed Lot or one of the automatic lot calculation modes
- Lot Size: Starting lot size when Fixed Lot is selected
- Custom USD Balance: Defines the balance amount used as the basis for custom automatic lot calculation
- Reserve USD Balance for Lot Calculation: Allows you to reserve a specified amount of account balance, excluding it from automatic lot calculation
- Maximum Positions per Basket: Maximum number of positions allowed in one basketMax Lots: Maximum combined lot volume of positions and pending orders
- ReleaseRiskProfile: Select one of the four predefined trading profiles:
- Very_low_risk
- Low_risk (highly recommended)
- Mid_risk
- High_risk
The selected profile influences the EA's trading behavior.
4. PROTECTION- Stop Loss (Maximum Drawdown): Maximum permitted basket drawdown in account currency. All positions will be closed if this limit is exceeded
- Maximum Daily Net Loss: Maximum daily net loss allowed. If reached, the EA stops trading until the next day
- Maximum Daily Profit: Daily profit limit. If reached, the EA stops trading until the next day
- Max Spread: Maximum permitted spread for new trading activity
- Max Slippage: Maximum permitted execution slippage
- Close on Friday End Time: Allows all positions and pending orders to be closed at the configured Friday session end
- Allowed Loss Per 24 Hours: Defines the permitted increase in floating loss over a 24-hour period
- Loss Limit Start at Basket Age: Defines when the 24-hour loss protection becomes effective, based on basket age
For example: Set the start age to 2 days and the allowed loss to $10 per 24 hours.
This means that once a basket is older than 2 days, it will be closed if its floating loss reaches the applicable limit.
After 3 days, the allowed loss increases to $20, after 4 days to $30, and so on.
- Positions Timeout: Enables position timeout protection
- Positions Timeout Time: Maximum holding duration of a basket in Hours
- Positions Timeout Background Color: Background color of the timeout display
- Positions Timeout Fill Percent: Visual background fill percentage
- Positions Timeout Forced Close Color: Color of the forced-close chart marker
- Pending Orders Timeout: Enables pending order expiration
- Pending Orders Timeout Minutes: Maximum lifetime of pending orders in minutes
- Pending Orders Timeout Background Color: Pending order timeout display colorPending Orders Timeout Fill Percent: Visual background fill percentage
- Trading Sessions: Select fixed 24-hour trading or individually configured weekday sessions
- Monday – Friday: Enable or disable trading for each weekday
- StartTime / EndTime: Define the permitted trading period for each day
- Trading During Holidays: Allows or blocks trading during the configured holiday period (December 20 – January 5)
All session times are based on the broker's server time.
7. NEWS PROTECTION
- News Protection: Enables or disables News Protection
- News Pause Before: New basket entries are restricted for the specified number of minutes before a news event
- News Pause After: New basket entries are restricted for the specified number of minutes after a news event
- USD High / EUR High: Enable High-impact news events
- USD Mid / EUR Mid: Enable Medium-impact news events
- USD Low / EUR Low: Enable Low-impact news events
- News Background Fill Percent: Visual background intensity of news periods
- Full Day Block: Blocks new entries for selected major economic events for the entire broker-server day
- Trading Non Farm Friday: Allows trading on Non-Farm Payroll (NFP) Fridays
- No Trading On USD Bank Holidays: Blocks USD-related trading during US bank holidays
- News File Name: Historical news CSV filename used in Strategy Tester
- Show GUI: Enables or disables the graphical information panel
- Show Trend Lines: Displays trend lines
- Trend Lines Color: Sets the color of the trend lines
- Max Bars To Draw: Defines the number of historical candles used for trend-line visualization
🧠 Important Risk Disclaimer
- Trading involves substantial risk and may result in partial or complete loss of capital
- The user is solely responsible for using this EA, its settings and all resulting trading outcomes
- The developer and publisher accept no responsibility or liability for financial losses or other damages
- Strategy Tester and past results do not guarantee future results and may differ from demo or live trading
- Test this EA thoroughly on a demo account before live use. Only trade with capital you can afford to lose


