
Gold
A focused improvement
For a specific change to an existing project.
Quoted per project
Discuss this tier · GoldWith 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
Editable English MQ5, matching EX5 and installation/parameter guides. The file list below shows the exact included resources.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
Explore five independently selectable gold pullback strategies, fixed or automatic sizing, session filters and configurable position management.
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.
input string InpEADetails_Version="Version 2.8"; // Versioninput string InpEADetails_Instrument="XAUUSD / GOLD"; // Primary Instrumentinput string InpEADetails_Timeframe="Attach on any Chart Timeframe"; // Timeframeinput string InpEADetails_Channel="https://mqlume.com"; // Public Channel Linkinput group "Lot Settings"input MQLUME_LOT_METHOD InpLotMethod=LOT_FIXED; // Lot Size Model (Fix/Auto)input double InpLots=0.01; // FixLot Sizeinput group "Autolot Settings"input double InpAutoLotPer001=1000.0; // AutoLot 0.01 BaseAmountinput double InpAutoLotPercentageEquity=0.0; // AutoLot PercentageEquity (0=off)input double InpAutoLotBufferPercentage=0.0; // AutoLot CapitalBuffer in Percentage (0=off)input double InpAutoLotBufferValue=0.0; // Autolot CapitalBuffer in Value (0=off)input double InpMaximumLot=100.0; // Maximum Lot Capinput group "Trade Settings"input ulong InpMagic=27001; // Magic Numberinput uint InpDeviationPoints=20; // Max Deviation Pointsinput bool InpPutHardStopInSystem=true; // Put Hard Stop in the Systeminput bool InpPutTPInSystem=false; // Put TP in the Systeminput string InpComment="@MQLume"; // Trade Comment (MQLume brand retained)input group "Execution Settings"input MQLUME_EXECUTION_MODE InpExecutionMode=ONE_PER_STRATEGY; // Execution Modeinput group "Main Strategies"input bool InpRunAPB1=true; // APB1input bool InpRunAPB2=true; // APB2input bool InpRunAPB3=true; // APB3input bool InpRunAPB4=true; // APB4input bool InpRunAPB5=true; // APB5input group "Adverse Move Protection"input double InpAPB1StopMoneyPer001=75.0; // APB1 max adverse move protection / 0.01input double InpAPB2StopMoneyPer001=75.0; // APB2 Max Adverse Move Protection / 0.01input double InpAPB3StopMoneyPer001=75.0; // APB3 Max Adverse Move Protection / 0.01input double InpAPB4StopMoneyPer001=35.0; // APB4 Max Adverse Move Protection / 0.01input double InpAPB5StopMoneyPer001=75.0; // APB5 Max Adverse Move Protection / 0.01input group "Trade Management Settings"input int InpBreakevenMinutes=180; // Breakeven Exit After (minutes, 0=off)input int InpRecoveryMinutes=240; // Recovery Exit After (minutes, 0=off; Conditional)input group "Filters Settings"input bool InpUseRolloverFilter=true; // Use Rollover Filter (Automatic Sessions)input int InpRolloverMinutesBefore=15; // Rollover: Block Before Close (minutes)input int InpRolloverMinutesAfter=15; // Rollover: Block After Reopening (minutes)input bool InpUseWeekendFilter=true; // Use Weekend Filter (Automatic Sessions)input int InpWeekendMinutesBefore=180; // Weekend: Block Before Close (minutes)input int InpWeekendMinutesAfter=360; // Weekend: Block After Reopening (minutes)input bool InpUseBigGapFilter=true; // Use Big Gap Filterinput double InpBigGapMultiplier=4.0; // Big Gap Size (Recent Range Multiplier)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 2.8 · Personal-use licenceThe compiled EA accompanying the source. Recompile after editing the MQ5.
Complete, editable single-file source. Read the logic, customise it and compile your own EA.
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
A concise welcome, installation and compilation guide, with licence terms and support details.
Testing
Explore five independently selectable gold pullback strategies, fixed or automatic sizing, session filters and configurable position management.
Version v2.8 · 48
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.
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
NameInpEADetails_Name | Display text |
VersionInpEADetails_Version | Display text |
Primary InstrumentInpEADetails_Instrument | Display text |
TimeframeInpEADetails_Timeframe | Display text |
Public Channel LinkInpEADetails_Channel | Display text |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Lot Size Model (Fix/Auto)InpLotMethod | LOT_FIXED |
FixLot SizeInpLots | 0.01 |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
AutoLot 0.01 BaseAmountInpAutoLotPer001 | 1000.0 |
AutoLot PercentageEquity (0=off)InpAutoLotPercentageEquity | 0.0 |
AutoLot CapitalBuffer in Percentage (0=off)InpAutoLotBufferPercentage | 0.0 |
Autolot CapitalBuffer in Value (0=off)InpAutoLotBufferValue | 0.0 |
Maximum Lot CapInpMaximumLot | 100.0 |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Magic NumberInpMagic | 27001 |
Max Deviation PointsInpDeviationPoints | 20 |
Put Hard Stop in the SystemInpPutHardStopInSystem | true |
Put TP in the SystemInpPutTPInSystem | false |
Trade Comment (MQLume brand retained)InpComment | "@MQLume" |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Execution ModeInpExecutionMode | ONE_PER_STRATEGY |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
APB1InpRunAPB1 | true |
APB2InpRunAPB2 | true |
APB3InpRunAPB3 | true |
APB4InpRunAPB4 | true |
APB5InpRunAPB5 | true |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
APB1 max adverse move protection / 0.01InpAPB1StopMoneyPer001 | 75.0 |
APB2 Max Adverse Move Protection / 0.01InpAPB2StopMoneyPer001 | 75.0 |
APB3 Max Adverse Move Protection / 0.01InpAPB3StopMoneyPer001 | 75.0 |
APB4 Max Adverse Move Protection / 0.01InpAPB4StopMoneyPer001 | 35.0 |
APB5 Max Adverse Move Protection / 0.01InpAPB5StopMoneyPer001 | 75.0 |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Breakeven Exit After (minutes, 0=off)InpBreakevenMinutes | 180 |
Recovery Exit After (minutes, 0=off; Conditional)InpRecoveryMinutes | 240 |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Use Rollover Filter (Automatic Sessions)InpUseRolloverFilter | true |
Rollover: Block Before Close (minutes)InpRolloverMinutesBefore | 15 |
Rollover: Block After Reopening (minutes)InpRolloverMinutesAfter | 15 |
Use Weekend Filter (Automatic Sessions)InpUseWeekendFilter | true |
Weekend: Block Before Close (minutes)InpWeekendMinutesBefore | 180 |
Weekend: Block After Reopening (minutes)InpWeekendMinutesAfter | 360 |
Use Big Gap FilterInpUseBigGapFilter | true |
Big Gap Size (Recent Range Multiplier)InpBigGapMultiplier | 4.0 |
Big Gap: Block After Reopening (minutes)InpGapCooldownMinutes | 240 |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Enable Session SkipInpSessionSkip | SKIP_OFF |
Skip From (Broker Server Time)InpSessionSkipFrom | "18:00" |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Use HighImpact USD News FilterInpUseHighImpactNewsFilter | true |
Block Entries Before News (minutes)InpNewsBlockMinutesBefore | 15 |
Block Entries After News (minutes)InpNewsBlockMinutesAfter | 15 |
Block Entries if Calendar Data is UnavailableInpNewsFailClosedOnCalendarError | false |
Use PARAMETERS.pdf to understand units, defaults and input interactions. Confirm your broker symbol, lot limits and server-time sessions before use.
| Source input key | Initial value |
|---|---|
Show InfoPanel on ChartInpShowInfoPanel | true |
Panel Left MarginInpPanelX | 12 |
Panel Top MarginInpPanelY | 22 |
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.
Missing 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.

Trend-based entries with optional grid additions, side controls and virtual exits.

RSI entries with two ATR filters, configurable sessions and optional grid management.
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
Explore gold trading with embedded pattern models, entry-quality filters and adaptive stops, with four position-sizing modes to shape your setup.

Source code · MQ5 + EX5
Eight gold breakout profiles with pending entries, volatility-based distances, selectable strategies and configurable position management.


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