
Gold House [MQLume] 3.0: +2,316.96% | XAUUSD · 12-month backtest
Return, drawdown, monthly results and selected settings for Gold House [MQLume] 3.0.

Return, drawdown, monthly results and selected settings for Gold House [MQLume] 3.0.
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 English MQ5, the compiled EX5, README and PARAMETERS.pdf. The source edition adds two strategy tables in Data, embedded in the EX5 for operation. Keep Data beside the MQ5 for recompilation; no preset is included.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
Explore gold pending-entry strategies with adaptive portfolio selection, partial closes and trailing 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.
bool SelectedOrderBelongsTo(const long magic, const ENUM_ORDER_TYPE type){ return OrderGetInteger(ORDER_MAGIC)==magic && OrderGetString(ORDER_SYMBOL)==_Symbol && OrderGetInteger(ORDER_TYPE)==type;}bool HasNearbyPending(const WorkingStrategy &work, const bool buy, const double price){ ENUM_ORDER_TYPE type=(buy ? ORDER_TYPE_BUY_STOP : ORDER_TYPE_SELL_STOP); for(int i=OrdersTotal()-1;i>=0;i--) if(OrderGetTicket(i)!=0 && SelectedOrderBelongsTo(work.magic,type)) if(MathAbs(OrderGetDouble(ORDER_PRICE_OPEN)-price)<work.levelSpacing*market.strategyPoint) return true; return false;}double FindPivot(const WorkingStrategy &work, const bool buy){ double sign=(buy ? 1.0 : -1.0), quote=(buy ? market.ask : market.bid); double offset=(buy ? work.buyOffset : work.sellOffset); for(int shift=work.rightBars+1;shift<=work.maxPivotShift;shift++) { double level=(buy ? iHigh(_Symbol,work.timeframe,shift) : iLow(_Symbol,work.timeframe,shift)); if(sign*(level-quote)<=work.minPivotDistance*market.strategyPoint) continue; double normalized=NormalizeDouble(level,_Digits); if(HasNearbyPending(work,buy,normalized+sign*offset*market.strategyPoint)) continue; bool intact=true; // Current bar participates; equal highs/lows remain valid pivots. for(int j=0;j<=shift;j++) { double value=(buy ? iHigh(_Symbol,work.timeframe,j) : iLow(_Symbol,work.timeframe,j)); if(sign*(value-level)>0) { intact=false; break; } } if(!intact) continue; for(int j=shift-work.rightBars;j<=shift+work.leftBars;j++) { if(j==shift) continue; double value=(buy ? iHigh(_Symbol,work.timeframe,j) : iLow(_Symbol,work.timeframe,j)); if(sign*(value-level)>0) { intact=false; break; } } if(intact) return normalized; } return 0.0;}void RefreshPivots(const WorkingStrategy &work, StrategyState &state){ datetime bar=iTime(_Symbol,work.timeframe,0); if(bar>0 && bar!=state.pivotBar) { state.pivotBar=bar; state.upperPivot=FindPivot(work,true); state.lowerPivot=FindPivot(work,false);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.0 · 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.
Parameter handbook with initial values, sizing formulas and usage notes.
A concise welcome, installation and compilation guide, with licence terms and support details.
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.0 · 65
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 |
|---|---|
Inp_OfficialNotice | Display text |
___99___ | Display text |
___0___ | Display text |
sep_adaptive | Display text |
Inp_AdaptiveMode | true |
Inp_AdaptiveLotMode | ADAPTIVE_FIXED_LOT |
Inp_AdaptiveFixedLots | 0.04 |
Inp_AdaptiveRiskPct | 2.0 |
Inp_AdaptiveMaxLotSize | 0.0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_general | Display text |
sep_note | Display text |
RunPendingA | true |
RunPendingB | true |
RunPendingC | true |
RunPendingD | true |
RunPendingE | true |
Inp_BaseMagic | 1190 |
Display preference; requests use fixed @MQLume branding.Inp_TradeComment | Display text |
Inp_MaxSpreadPts | 500.0 |
Inp_DeleteOnRemove | false |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_conservative | Display text |
Inp_ConservativeMode | false |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_lots | Display text |
Inp_AutoReduceLot | true |
Inp_LotMode | LOT_FIXED |
Inp_FixedLots | 0.01 |
Inp_LotsPerStep | 0.01 |
Inp_MarginLotStep | 0.01 |
Inp_RiskPct | 0.5 |
Inp_MaxLotSize | 0.0 |
AutoRate | true |
Inp_ExchangeRate | 1.0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_dd | Display text |
Inp_MaxDrawdownPct | 0.0 |
Inp_DailyDDPct | 0.0 |
Inp_DDAccountWide | true |
Inp_MarginReservePct | 5.0 |
Inp_MarginCheck | true |
Inp_CloseAll | false |
Inp_SLCooldownMin | 15 |
Inp_MaxRependPerLevel | 0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_weekend | Display text |
Inp_WeekendClose | true |
Inp_FridayNoEntry | 19 |
Inp_FridayDelPend | 21 |
Inp_FridayClosePos | 23 |
Inp_MondayResume | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_news | Display text |
Inp_UseNewsFilter | false |
Inp_NewsMinBefore | 60 |
Inp_NewsMinAfter | 30 |
Inp_DeleteOnNews | true |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_tsl | Display text |
Inp_TSLMode | TSL_PROFIT_PRIORITY |
sep_tsl_custom | Display text |
Inp_TSLStartPoints | 0 |
Inp_TSLStepPoints | 0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_tsl_freq | Display text |
Inp_TSLMinIntervalSec | 8 |
Inp_TSLBypassPoints | 20 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
sep_ui | Display text |
Inp_ShowPanel | true |
Inp_ShowBoundary | true |
Inp_UpperLineClr | 55295 |
Inp_LowerLineClr | 16776960 |
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
XAUUSD · 2 embedded models and flexible sizing

Source code · MQ5 + EX5
Explore GBPUSD entry batches with virtual entry levels, additional positions and recovery management.

EA only · EX5
Combine local Pending and Additional systems with Banks and Indicators online signal modules.

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