
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
Read, customise and compile the included MQ5. The package also contains the compiled EX5, README and parameter handbook. Use a stable terminal connection: virtual stop state is lost on restart, and initialisation removes this EA’s pending orders. Lot sizing does not cap losses.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.
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.
bool IsStrategyHourBlocked(const MQLumeStrategyId strategy, const int filterMode, const datetime serverTime, const int brokerOffsetHours){ MqlDateTime clock; TimeToStruct(serverTime, clock); int hour = (clock.hour - brokerOffsetHours + 24) % 24; if(filterMode == MQLUME_TIME_NEW) { switch(strategy) { case MQLUME_CORE_A1: return hour == 16 || hour == 19; case MQLUME_CORE_A2: return hour == 19; case MQLUME_CORE_A3: return hour == 5; case MQLUME_CORE_B1: return hour == 4 || hour == 7 || hour == 16 || hour == 17; default: return false; } } switch(strategy) { case MQLUME_CORE_A1: return hour == 8 || hour == 13 || hour == 16; case MQLUME_CORE_A2: return hour == 8 || hour == 16 || hour == 18 || hour == 19; case MQLUME_CORE_A3: return hour == 5 || hour == 8 || hour == 10 || hour == 14; case MQLUME_CORE_B1: return clock.day_of_week == 3 || hour == 1 || hour == 5 || hour == 8 || hour == 10 || hour == 11 || hour == 12 || hour == 13 || hour == 14 || hour == 19; default: return false; }}datetime CalendarTime(const int year, const int month, const int day, const int hour = 0, const int minute = 0){ MqlDateTime date = {}; date.year = year; date.mon = month; date.day = day; date.hour = hour; date.min = minute; return StructToTime(date);}bool UsesSummerBrokerOffset(const datetime serverTime){ MqlDateTime now, start, finish; TimeToStruct(serverTime, now); if(now.year < 1987) return false; if(now.year < 2007) {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.1 · 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.
Parameter handbook with initial values, sizing formulas and usage notes.
A concise welcome, installation and compilation guide, with licence terms and support details.
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 v2.1 · 61
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. 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 |
|---|---|
NEWS FILTER: enable thisInpNewsSetup1 | Display text |
...and add this URL (copy)InpNewsSetup2 | Display text |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
READ THISInpWarn1 | Display text |
Risk NoticeInpWarn2 | Display text |
Perform a Backtest before use!InpInfoBacktest | Display text |
CopyrightInpInfoOwner | Display text |
MQLume Support (copy link)InpSupportLink | Display text |
--- MQLume Information (copy link) ---InpBrokerInfo | Display text |
MQLume WebsiteInpWebsiteLink | Display text |
MQLume SupportInpServiceLink | Display text |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Time FilterInpTimeFilter | 1MQLUME_TIME_NEW |
Fakeout FilterInpFakeout | 2MQLUME_FAKEOUT_NORMAL |
Fakeout Normal: close-in-loss timer (minutes)InpFakeoutMinutes | 8 |
Magic NumberZone1_ID | 1337 |
Trade CommentZone1_Tag | "@MQLume" |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Trailing/BE ModeInpTrailMode | 0MQLUME_TRAIL_DYNAMIC_HIGH |
Fixed: BE Trigger (points, 0=must set)InpFixedBE | 0 |
Fixed: Trail Distance (points, 0=must set)InpFixedTrail | 0 |
SL Presets (reference)InpSLInfo | Display text |
Stop Loss (points)InpStopLossPts | 3000 |
Virtual SL (Freeze=automatic, On=always, Off=disabled)InpVSL | 0MQLUME_VIRTUAL_ON_FREEZE |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Close Window (minutes before broker close)InpCloseWindow | 120 |
Resume Entries After OpenInpOpenDelay | 15MQLUME_OPEN_AFTER_15 |
Close Before WeekendInpCloseWeekend | false |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
REQUIRED for the news filterInpNewsSetup3 | Display text |
Add this URL (copy)InpNewsSetup4 | Display text |
NFP (extra guard, High Impact already covers NFP)InpNFP_Enable | true |
NFP Week (Block = no trades Mon-Fri, Reduce = half lot)InpNFPWeek | 0MQLUME_PAYROLL_WEEK_OFF |
High Impact (CPI, FOMC, PPI, NFP etc.)InpNews_High | true |
USD Holidays (no trading entire day)InpNews_Holidays | true |
GMT Offset Winter (Backtest + Manual Live)Inp_GMT_Winter | 2 |
GMT Offset Summer (Backtest + Manual Live)Inp_GMT_Summer | 3 |
GMT Auto-Detect Live (Off = use Winter/Summer above)InpGMT_AutoDetect | true |
Close Open Positions (News)InpNFP_CloseOpen | true |
Close Pending Orders (News)InpNFP_ClosePending | true |
Minutes Before NewsInpNFP_Before | 30 |
Minutes After NewsInpNFP_After | 30 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Lot sizing only! Not a loss cap - use Max Daily DD for thatInpRiskInfo | Display text |
Lot ModeInpLotMode | 1MQLUME_RISK_PERCENT |
Fix Lot SizeInpFixLot | 0.01 |
Risk %InpRiskPct | 1.0 |
$ per 0.01 LotInpDollarPer001 | 2500.0 |
Use EquityInpUseEquity | false |
Check MarginInpCheckMargin | true |
Max Daily DD value (0=off; % or $ per Unit)InpMaxDailyDD | 0.0 |
Max Daily DD Unit (% of peak equity, or $)InpMaxDDUnit | 0MQLUME_DAILY_LOSS_PERCENT |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
A1 H1 Breakout (Base)InpZoneA1 | true |
A2 H1 Breakout (Base)InpZoneA2 | true |
A3 H1 Breakout (Base)InpZoneA3 | true |
B1 H1 Breakout (Mid)InpZoneB1 | true |
B2 H1 Breakout (Mid)InpZoneB2 | true |
B3 H1 Breakout (Mid)InpZoneB3 | true |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Asia: Sydney+Tokyo (NY close -> London open)InpSess_Asia | true |
London (London open -> NY open)InpSess_London | true |
London+NY Overlap (NY open -> London close)InpSess_Overlap | true |
New York (London close -> NY close)InpSess_NY | true |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Panel Mode (Large adds execution, cost, curve)InpPanelMode | 0MQLUME_PANEL_SMALL |
Show Panel (Live)InpShowPanel | true |
Show Panel (Backtest)InpPanelTest | false |
Panel Scale (0.5-2.0)InpPanelSize | 1.0 |
Font Scale (0.5-2.0)InpFontScale | 0.9 |
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.
Enter your email, confirm the licence and download your free EA source package. No payment needed.
Choose your free EA source packages.
Review the products and US$0 total.
Confirm the licence and complete your free order.
One ZIP for all selected free products, with individual downloads available.
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
Explore USDJPY breakout strategies with pending entries, session controls and account protection.

Source code · MQ5 + EX5
XAUUSD · Flexible sizing and account protections

EA only · EX5
Explore gold pending-entry strategies with adaptive portfolio selection, partial closes and trailing controls.

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