Make the strategy your own.
With the source in your hands, your ideas can go further than the settings panel.
No extra dependencies to install
Open your source in MetaEditor and start building. Projects use self-contained code or the standard libraries already included with MT5.
Unlimited personal use
Study, customise and trade on your own accounts. Your EA source gives you the freedom to keep refining your ideas.
Pay once. No activation or usage fees.
One purchase per source project. MQLume does not charge by the number of activations or uses.
Vibe coding. Your trading judgement.
Bring your ideas to an AI coding assistant. Use the editable MQL5 project as your starting point, and stay in control of every change.
Describe your idea
Ask for a session filter, clearer logging or a different risk rule.
Review the change
Read the proposed code, check the logic and compile it in MetaEditor.
Test your version
Compare backtests, then test on a demo account before considering live use.
Use an AI tool of your choice; no AI subscription is included. Review generated code and keep your source private. Better tools support your process, but do not guarantee trading profits.
Trading setup
Stated specifications
Start your next gold-coding project for free. Get Quantum iGold with complete editable source, the compiled EA and a guide to its settings.
These are marketplace specifications, not a guarantee of suitable capital or performance.
- Symbol
- XAUUSD
- Chart timeframe
- H1
- VPS
- Recommended for continuous operation
Inside the source
Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.
{ volume = cap; break; } volume *= InpRecoveryMultiplier; if (volume <= 0 || !MathIsValidNumber(volume)) { volume = base; break; } } if (!MathIsValidNumber(volume) || volume <= 0 || minimum <= 0 || maximum < minimum || cap + 1e-12 < minimum) return 0; volume = MathMax(minimum, MathMin(volume, cap)); if (step > 0) { double low = MathCeil((minimum - 1e-12) / step) * step; double high = MathFloor((cap + 1e-12) / step) * step; volume = MathMax(low, MathCeil((volume - 1e-12) / step) * step); if (high >= low) volume = MathMin(volume, high); } int digits = 2; if (step > 0) { double scaled = step; digits = 0; while (digits < 8 && MathAbs(scaled - MathRound(scaled)) > 1e-10) { scaled *= 10; digits++; } } volume = NormalizeDouble(volume, digits); return volume + 1e-12 >= minimum && volume <= cap + 1e-12 ? volume : 0;}double EntryVolume(){ if (InpUseLossRecovery) return RecoveryVolume(); if (!InpUseProgressiveLots) return InpLotSize; int steps = (int)MathFloor((AccountInfoDouble(ACCOUNT_EQUITY) - initial_equity) / InpProgStepUSD); steps = MathMax(steps, 0); double volume = MathMin((steps + 1) * InpProgLotPerStep, InpProgLotCap); double minimum = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MIN), maximum = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MAX); double step = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_STEP); if (step > 0) volume = MathRound(volume / step) * step;Overview
An EA you can make your own.
Claim the full package from MQLume with your email—no card required. Explore gold trading logic, equity-based progressive sizing, sessions and position management, then use the source to understand and customise your own version.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Project specifications
- Platform
- MetaTrader 5 / MQL5; not compatible with MT4
- Version
- 4.1
- Dependencies
- One self-contained MQ5 file. Open it in MetaEditor and compile.
- Inputs
- 67 settings and information fields for sizing, sessions and position management
- Build & testing
- Compile in MT5 MetaEditor; consult RELEASE_NOTES.txt for the packaged build and testing record.
Your next build starts here.
Included files
Complete source, practical documentation and reference files to help you understand, customise and test your EA.
One project.
Complete source.
100% source code means the editable implementation of this product is supplied in full. It is not an EX5-only delivery or a hidden strategy module.
Version 4.1 · Personal-use licence- MQ5Included
Quantum iGold MT5 4.1[MQLume].mq5
Complete, editable single-file source. Read the logic, customise it and compile your own EA.
- EX5Included
Quantum iGold MT5 4.1[MQLume].ex5
The compiled EA accompanying the source. Recompile after editing the MQ5.
- TXTIncluded
README.txt
A concise welcome, installation and compilation guide, with licence terms and support details.
- PDFIncluded
PARAMETERS.pdf
PARAMETERS.pdf documents all 67 fields. Includes MQ5 source, EX5 program, README.txt, PARAMETERS.pdf and RELEASE_NOTES.txt.
- TXTIncluded
RELEASE_NOTES.txt
Build details, recorded test conditions, changes and known limits for the supplied package.
Testing
Build confidence through testing.
Explore, customise and test your EA across different market conditions. Start with the supplied guide, then build a testing routine around your own settings.
Version v4.1 · 67
Parameter guide
Initial settings from the delivered source. Review and test changes before using them.
Initial values shown below come from the included source. Review the parameter guide before changing settings.
Product information
Product name and information labels.
| Source input key | Initial value |
|---|---|
--- Contact Information ---Information | Display text |
Expert AdvisorInpEAName | Quantum iGold MT5 |
Contact Me On TelegramTelegram | Display text |
Broker, symbol and timeframe
Choose the broker profile, XAUUSD and chart timeframe. The documented test uses H1.
| Source input key | Initial value |
|---|---|
--- Broker Information ---INFO_BROKER | Display text |
BrokerBrokerChoice | IG_BROKER_IC_MARKETS |
--- Pair Information ---INFO_PAIR | Display text |
PairInpPairChoice | IG_PAIR_XAUUSD |
--- Period Time Information ---INFO_PeriodTime | Display text |
Period TimeInpPeriodTime | PERIOD_H1 |
Basic trade settings
Magic number identifies orders. Set the maximum spread and fixed lot size.
| Source input key | Initial value |
|---|---|
Magic NumberInpMagic | 20261993 |
Max SpreadInpMaxSpread | 80.0 |
LotsInpLotSize | 0.1 |
Execution settings
Configure slippage control and the maximum deviation in points.
| Source input key | Initial value |
|---|---|
Enable SlippageEnableSlippageControl | true |
Maximum Allowed SlippageMaxSlippagePoints | 30 |
Trade direction
Choose whether to allow buy and sell entries.
| Source input key | Initial value |
|---|---|
Allow SellInpAllowSell | true |
Allow BuyInpAllowBuy | true |
Trading days
Enable or disable each weekday for your preferred schedule.
| Source input key | Initial value |
|---|---|
MondayInpMonday | true |
TuesdayInpTuesday | true |
WednesdayInpWednesday | true |
ThursdayInpThursday | true |
FridayInpFriday | true |
SaturdayInpSaturday | true |
SundayInpSunday | true |
Progressive sizing
Enable equity-based progressive lots and choose the lot step, capital step and maximum volume. Loss recovery and weekly win limits are separate settings.
| Source input key | Initial value |
|---|---|
Enable Smart Lot ScalingInpUseProgressiveLots | false |
Initial Lot SizeInpProgLotPerStep | 0.08 |
Balance Growth Step (USD)InpProgStepUSD | 100.0 |
Maximum Lot SizeInpProgLotCap | 3.2 |
Enable Drawdown RecoveryInpUseLossRecovery | false |
Multiplier after lossInpRecoveryMultiplier | 2.0 |
Max Lot for recoveryInpRecoveryMaxLot | 20.48 |
Enable Weekly Performance TargetInpEnableWeeklyWinLimit | false |
Number of winning trades per weekInpWeeklyWinTarget | 1 |
News-labelled fields
The package retains these configuration fields; they do not currently gate trade entries in this version.
| Source input key | Initial value |
|---|---|
Enable Economic News FilterEnableNewsFilter | true |
Block High Impact NewsBlockHighImpactNews | true |
Block Medium Impact NewsBlockMediumImpactNews | false |
Block Low Impact NewsBlockLowImpactNews | false |
Stop Trading Before News (Minutes)MinutesBeforeNews | 30 |
Resume Trading After News (Minutes)MinutesAfterNews | 30 |
Close Open Trades Before NewsCloseTradesBeforeNews | false |
Close Trades Before News (Minutes)CloseMinutesBeforeNews | 10 |
Filter USD NewsFilterUSDNews | true |
Filter EUR NewsFilterEURNews | true |
AI-labelled fields
These fields do not currently gate trade entries. Their names alone do not establish the use of a machine-learning model.
| Source input key | Initial value |
|---|---|
Enable Smart AI Signal FilterInpEnableAIFilter | true |
Minimum AI Confidence Required (0.00 - 1.00)InpAIFilterConfidence | 0.75 |
Minimum AI Signal Strength (0.00 - 1.00)InpAIFilterStrength | 0.65 |
AI Filter Sensitivity (0.00 - 1.00)InpAIFilterSensitivity | 0.55 |
Enable AI Trend Direction FilterInpAITrendFilter | true |
Enable AI Volatility Condition FilterInpAIVolatilityFilter | true |
Enable AI Market Noise FilterInpAIMarketNoiseFilter | true |
Minimum AI Score Required To Trade (%)InpAIMinScoreToTrade | 70 |
Block Weak AI SignalsInpBlockWeakAISignals | true |
Account limits
Configure account targets and loss limits, the start date and whether limits close positions.
| Source input key | Initial value |
|---|---|
Enable Funded Account ProtectionEnableFundedAccountMode | false |
Account BalanceAccountBalanceUSD | 10000.0 |
Profit Target (%)ProfitTarget | 10.0 |
Max Daily Loss (%)MaxDailyLoss | 5.0 |
Max Total Loss (%)MaxLoss | 10.0 |
Best Day Rule Max (%)BestDayRuleMax | 50.0 |
Minimum Trading DaysMinTradingDays | 4 |
Safety Buffer in percentage points (5.00% -> close at 4.90%)RiskSafetyBuffer | 0.1 |
Challenge start date; 0 = use all available account historyFundedAccountStartDate | 0 |
Close all account positions and delete pending orders on risk limitCloseTradesOnRiskLimit | false |
Profit locking
Enable per-position profit locking, then choose activation, secured profit and trailing distances.
| Source input key | Initial value |
|---|---|
Enable profit lock for each positionInpEnablePerTradeProfitLock | false |
Normalize 3/5-digit quotes to 2/4-digit pointsInpProfitLockNormalizePoints | false |
Activate after 12.00 price movementInpProfitLockActivationPoints | 2000 |
Initially secure 5.00InpProfitLockSecuredPoints | 1900 |
Keep SL 7.00 behind current priceInpProfitLockTrailingDistance | 100 |
Update only after 2.00 improvementInpProfitLockTrailingStep | 300 |
Support after delivery
Bug fixes are included.
While the product is actively maintained, we investigate and fix reproducible defects in the delivered, unmodified code that conflict with the product description.
Support: while the product is actively maintainedDelivery & compilation
Missing files, incorrect delivery and original-code compilation failures in the stated environment.
Code & documentation defects
Provide the release, settings, logs and reproduction steps so we can assess and resolve the issue.
Support scope
Start with the included guide and contact us for help with delivery or reproducible software defects. Trading results are not guaranteed.
What am I buying?
You may read, modify and compile the delivered source for your own research and trading accounts. Keep a backup of the original delivery before making changes. You may not resell, redistribute, publish or sublicense the source or compiled files, or offer them as a white-label product, without separate written permission. Source delivery does not transfer copyright or ownership of third-party names.
Refunds after delivery
Source code is a copyable digital product. Once delivered, we do not accept change-of-mind refunds, including because you no longer need the product. Check compatibility, contents and disclosed limits before ordering.
Delivery and bug reports
Enter your email, confirm the licence and download your free EA source package. No payment needed.
Delivery & support
- 1
Get it free
Choose your free EA source packages.
- 2
Check your order
Review the products and US$0 total.
- 3
Enter your email
Confirm the licence and complete your free order.
- 4
Download
One ZIP for all selected free products, with individual downloads available.
Explore free EA source code
Free downloads. Real source files.



Learn the difference: MQL4 / MQL5 source uses .mq4 / .mq5; EX4 / EX5 files are compiled programs. Buying an EX4 or EX5 file does not automatically include source code.
Journal Starter
Two original, non-trading learning samples for MT4 and MT5. Inspect OnInit and OnDeinit logging without order execution.
Learning samples only. Review and compile them in MetaEditor before use; these samples do not place trades.