
- MetaTrader 5
- Expert Advisor
- v2.2
- Updated: 11/09/2026
Quantum Athena X EA Source Code (MQ5)
Editable MQL5 source of a grid and hedging EA for XAUUSD on H1, with a compiled file and seven set files for MetaTrader 5
- MetaTrader 5, version 2.2
- XAUUSD on the H1 timeframe
- 1 source file, 1 compiled file, 7 set files
- Grid, hedging and trend following logic
- Recommended minimum deposit $500
Choose how to get it
Digital product — download after payment
Free to try: edit it in the Builder, backtest, download the EA.
Download right after payment
Refund policy
Refunds within 7 days of purchase for a broken or mismatched file, a duplicate charge, or a paid order without download access. No refund once a working file is downloaded, and no profit guarantee.
Read the refund policyThis download is the editable MQL5 source code of Quantum Athena X, an expert advisor for MetaTrader 5 that trades gold. It also holds the compiled file and seven set files.
- Platform: MetaTrader 5 · Version 2.2
- Symbols: XAUUSD · Timeframe: H1
- Strategy: grid, hedging, trend following · Grid/martingale: yes
- Recommended minimum deposit: $500
- In the package: full MQL5 source code (editable), 7 set files
The Quantum Athena X source code MQ5 package is for traders and developers who want to open an EA's logic in MetaEditor instead of running a closed file. It is the MetaTrader 5 version 2.2 build of an expert advisor that trades XAUUSD, which is gold quoted in US dollars.
The listing describes the strategy as grid, hedging and trend following, and it marks grid/martingale as present. A grid strategy opens extra orders at set price steps, and hedging means holding buy and sell positions on the same symbol at once. Martingale means raising the lot size after a losing trade. The EA is built for the H1 timeframe.
The download contains one source file, one compiled file and seven set files, with no PDF and no DLL. A set file is a saved list of input settings that you load from the EA's inputs window. Because you get the source, you can read how the entries, the grid steps and the hedges are coded, and change them if you know MQL5. Any change you make is your own work and is not tested or supported by this shop.
Read the Strategy & Settings tab before you attach anything to a live account. You can also compare it with Smart Gold Hunter source code, another gold EA source code package for MT5 in the same section. Two more MT5 source code packages for gold are Quantum Valkyrie EA Source Code (MQ5) and Adaptive Gold Scalper EA Source Code (MQ5). Like every product here, it is an instant digital download and is also included in the membership.
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.
Strategy type
The listing gives three labels: grid, hedging and trend following. It names one symbol, XAUUSD, and one timeframe, H1. It does not list a minimum build, and it does not say whether the EA suits prop-firm accounts, so do not assume it does.
Grid and martingale
The listing states that grid/martingale is used. On a gold chart, open exposure can keep growing while price moves against the first order, and lot sizes that rise after a loss can make drawdown (the drop from an account's peak balance) climb quickly. Read the lot and step inputs closely before you trade this live.
Hedging
Hedging needs an account that lets you hold opposite positions on one symbol. Check that your broker and account type allow it before you test.
Deposit and set files
The recommended minimum deposit is $500. The seven set files are starting configurations for the inputs, and each one is a starting point, not a forecast of results. Open them in the inputs window, compare their values, and note which settings differ from file to file.
Testing first
Run the compiled EA on a demo account on XAUUSD H1 before you consider a live one. If you edit the source, compile it again and repeat the demo run, because even a small code change can alter how the grid behaves.
Platform
This package is for MetaTrader 5. The listing gives no minimum build, so use a current MT5 terminal from metatrader5.com if you need one.
Files
The zip holds one source file, one compiled file and seven set files. Copy the compiled file into the Experts folder of your MT5 data folder, then refresh the Navigator or restart the terminal. The set files are loaded from the EA's inputs window with the Load button.
Working with the source
The source file opens in MetaEditor, the editor built into MetaTrader 5. Compile it there before use; this creates a fresh executable from your copy of the code. No help with code changes is promised.
Symbol and DLL
Attach the EA to an XAUUSD chart set to H1. The file list shows DLL: no.
Which of the seven Quantum Athena X set files should I load first on XAUUSD H1?
The facts do not rank them or say what each one is for. Load them one at a time on a demo account, compare the input values, and keep notes on which settings change from file to file.
Do I get the compiled EA as well as the MQ5 source?
Yes. The file list shows one compiled file and one source file, plus seven set files. Use the compiled file to test straight away, and open the source in MetaEditor when you want to read or edit the logic.
How should I test the grid and hedging logic before using a live account?
Start on a demo account with XAUUSD on H1 and check that your account type allows hedging. Watch how open exposure builds when price moves against the first order. Trading is risky, so read the risk notice in the Overview and the risk warning page first.
Does Quantum Athena X need a DLL?
The file list shows DLL: no. The facts say nothing about VPS use or broker requirements, so check those with your own broker.
Is the $500 minimum deposit a requirement?
It is the recommended minimum deposit as listed. Grid and martingale logic can use a lot of margin, so the amount you actually need depends on your lot settings and broker.
What if I need help or a refund?
See the refund policy for how to ask. The package is also included in the membership.
- Platform
- MetaTrader 5
- Type
- Expert Advisor
- Category
- Source Code
- Version
- v2.2
- Updated
- 11/09/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | Quantum_Athena_X_EA_Source_Code__MQ5_.zip | 68.6 KB | v2.2 |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





