
ArtQuant Gold [MQLume] 3.2: +1,435.88% | XAUUSD · 12-month backtest
Return, drawdown, monthly results and selected settings for ArtQuant Gold [MQLume] 3.2.

Return, drawdown, monthly results and selected settings for ArtQuant Gold [MQLume] 3.2.
With the source in your hands, your ideas can go further than the settings panel.
Open your source in MetaEditor and start building. Projects use self-contained code or the standard libraries already included with MT5.
Study, customise and trade on your own accounts. Your EA source gives you the freedom to keep refining your ideas.
One purchase per source project. MQLume does not charge by the number of activations or uses.
Bring your ideas to an AI coding assistant. Use the editable MQL5 project as your starting point, and stay in control of every change.
Ask for a session filter, clearer logging or a different risk rule.
Read the proposed code, check the logic and compile it in MetaEditor.
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.
Overview
The source edition includes editable MQ5, compiled EX5, README and PARAMETERS.pdf. Study and customise the portfolio selection, internal signals and account controls. Images and Sounds are included for source compilation and embedded in the EX5; no SET file is supplied.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
A configurable portfolio of 20 gold modules combines grid additions, virtual cycle exits and exposure controls.
These are marketplace specifications, not a guarantee of suitable capital or performance.
Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.
int SelectedModule(const string symbol, const long magic){ for (int i = 0; i < 20; i++) if (modules[i].magic == magic && modules[i].symbol == symbol) return i; return -1;}// Commission is gathered by position identifier, not by its current ticket.double SelectedPositionNet(){ double profit = PositionGetDouble(POSITION_PROFIT); double swap = PositionGetDouble(POSITION_SWAP); long identifier = PositionGetInteger(POSITION_IDENTIFIER); double commission = 0; if (identifier != 0) { datetime opened = (datetime)PositionGetInteger(POSITION_TIME); datetime from = (opened > 86400 ? opened - 86400 : 0); if (HistorySelect(from, TimeCurrent())) { int count = HistoryDealsTotal(); for (int i = 0; i < count; i++) { ulong ticket = HistoryDealGetTicket(i); if (ticket != 0 && HistoryDealGetInteger(ticket, DEAL_POSITION_ID) == identifier) commission += HistoryDealGetDouble(ticket, DEAL_COMMISSION); } } } return profit + swap + commission;}double ModuleExposure(const int module){ double lots = 0; for (int i = PositionsTotal() - 1; i >= 0; i--) { ulong ticket = PositionGetTicket(i); if (ticket == 0 || !PositionSelectByTicket(ticket)) continue; int index = SelectedModule(PositionGetString(POSITION_SYMBOL), PositionGetInteger(POSITION_MAGIC)); if (index >= 0 && (module < 0 || module == index)) lots += PositionGetDouble(POSITION_VOLUME); } return lots;}int ActiveModuleCount(){Your next build starts here.
Complete source, practical documentation and reference files to help you understand, customise and test your EA.
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 3.2 · Personal-use licenceComplete, editable single-file source. Read the logic, customise it and compile your own EA.
The compiled EA accompanying the source. Recompile after editing the MQ5.
Bundled compile-time resource; preserve its relative path.
Bundled compile-time resource; preserve its relative path.
Bundled compile-time resource; preserve its relative path.
Parameter handbook with initial values, sizing formulas and usage notes.
A concise welcome, installation and compilation guide, with licence terms and support details.
Bundled compile-time resource; preserve its relative path.
Bundled compile-time resource; preserve its relative path.
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 v3.2 · 59
Initial settings from the delivered source. Review and test changes before using them.
Explore the inputs below to shape the EA around your research, risk preferences and workflow. Outgoing EA order comments use @MQLume and retain required strategy identifiers. Comment inputs remain for saved-setting compatibility and do not remove the execution label.
Read PARAMETERS.pdf alongside README.txt for the meaning, defaults and operating notes behind the short input labels.
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
NameInpNoteName | Display text |
OverviewInpNoteOverview | Display text |
WebsiteInpNoteWebsite | Display text |
Risk noteInpNoteRisk | Display text |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Start pausedInpPause | SWITCH_OFF |
Show control panelInpPanel | SWITCH_OFF |
Panel themeInpPanelTheme | Windows 3.1 ClassicPANEL_THEME_WIN31_CLASSIC |
Magic number; keep unchanged with open cyclesInpMagicNumber | 1234 |
Max entry spread [points]InpSpread | 50 |
Max execution slippage [points]InpSlippage | 50 |
Push notifications on cycle closuresInpMQID | SWITCH_OFF |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Portfolio presetInpSets | Preset 01 - IC MarketsSETS_PROFILE_01 |
Trade direction filterInpTradeDirection | Buy and Sell modulesTRADE_DIRECTION_BOTH |
Custom modules, comma-separated; empty = use switchesInpCustomPortfolioMap | "" |
Max simultaneous modules; 0 = no limitInpMaxActiveModules | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
M01 BUY moduleInpModule01 | SWITCH_OFF |
M02 BUY moduleInpModule02 | SWITCH_OFF |
M03 BUY moduleInpModule03 | SWITCH_OFF |
M04 BUY moduleInpModule04 | SWITCH_OFF |
M05 BUY moduleInpModule05 | SWITCH_OFF |
M06 BUY moduleInpModule06 | SWITCH_OFF |
M07 BUY moduleInpModule07 | SWITCH_OFF |
M08 BUY moduleInpModule08 | SWITCH_OFF |
M09 BUY moduleInpModule09 | SWITCH_OFF |
M10 BUY moduleInpModule10 | SWITCH_OFF |
M11 SELL moduleInpModule11 | SWITCH_OFF |
M12 SELL moduleInpModule12 | SWITCH_OFF |
M13 SELL moduleInpModule13 | SWITCH_OFF |
M14 SELL moduleInpModule14 | SWITCH_OFF |
M15 SELL moduleInpModule15 | SWITCH_OFF |
M16 SELL moduleInpModule16 | SWITCH_OFF |
M17 SELL moduleInpModule17 | SWITCH_OFF |
M18 SELL moduleInpModule18 | SWITCH_OFF |
M19 SELL moduleInpModule19 | SWITCH_OFF |
M20 SELL moduleInpModule20 | SWITCH_OFF |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Base lot per moduleInpLots | 0.01 |
Balance step for lot scaling; 0 = fixed lotInpBalanceStep | 1000.0 |
Max total EA exposure; 0 = no capInpMaxTotalLots | 0.0 |
Max exposure per module; 0 = no capInpMaxModuleLots | 0.0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Drawdown protection modeInpDDMode | OffDD_MODE_OFF |
Protection limit [% or account currency]InpDDValue | 0.0 |
Daily EA loss limit [%]; 0 = offInpDailyLossLimitPct | 0.0 |
Floating loss limit [%]; 0 = offInpFloatingLossLimitPct | 0.0 |
Max orders per cycle; 0 = unlimitedInpOrdersMax | 0 |
Cycle Guard: avoid non-forced negative closureInpBlockNegativeCycleClosure | EnabledSWITCH_ON |
Simulate withdrawalsInpWithdrawals | SWITCH_OFF |
Withdrawal amountInpWithdrawalsValue | 1.0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Block new cycles on FridaysInpTradingFriday | SWITCH_OFF |
Block new cycles on first FridayInpTradingNFP | SWITCH_OFF |
Friday close policyInpFridayMode | OffFRIDAY_OFF |
Friday close hourInpFridayHour | 22:00HOURS_22 |
USD calendar news filterInpNewsFilter | SWITCH_OFF |
USD news impactInpNewsImpact | High impact onlyNEWS_HIGH |
News block before event [minutes]InpNewsMinutesBefore | 60 |
News block after event [minutes]InpNewsMinutesAfter | 60 |
Holiday break filterInpXmas | SWITCH_OFF |
Holiday start day in DecemberInpXmasDecDay | 20 |
Holiday end day in JanuaryInpXmasJanDay | 10 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Order comment display; execution always uses @MQLumeInpOrderComment | Display text |
Support after delivery
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 maintainedMissing files, incorrect delivery and original-code compilation failures in the stated environment.
Provide the release, settings, logs and reproduction steps so we can assess and resolve the issue.
Start with the included guide and contact us for help with delivery or reproducible software defects. Trading results are not guaranteed.
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.
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.
After payment is verified, we deliver the source package and documentation to your order email. Check your inbox and spam folder. Keep your order reference for delivery and support questions. Include your order reference, source release, terminal build, settings, expected behaviour and steps to reproduce. Attach only relevant logs and remove account credentials.
Read the files, environment and terms
Check the source version and purchase terms
Payment is checked with the provider or on the selected blockchain
Fast, automatic delivery after payment confirmation. No waiting for manual dispatch.
Ask us about advanced custom development. Share your requirements through private support or email; we will discuss the scope and quote separately.
100% committed to following up on your delivery and support requests.
Explore free EA source code




Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.
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.
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.
Ready for another approach? Choose an EA to run, or source code to explore and customise.

Source code · MQ5 + EX5
A multi-strategy gold portfolio with an optimized six-strategy mode, a custom mode, cross-asset filters and configurable risk controls.

Source code · MQ5 + EX5
XAUUSD · M1 scalping and flexible sizing


Free EA · MQ5 + EX5
Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.
Loading…
Stay close to MQLume, wherever you like to learn.
See our EAs in action. Explore backtests, walkthroughs and practical guides.
Watch on YouTubeMeet other EA users, share ideas and keep up with what’s new.
Join the community Follow official updates