
Institutional SMC Robot [MQLume] 3.20: +439.14% | XAUUSD · 12-month backtest
Return, drawdown, monthly results and selected settings for Institutional SMC Robot [MQLume] 3.20.

Return, drawdown, monthly results and selected settings for Institutional SMC Robot [MQLume] 3.20.
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. Read the rules, adjust your own copy and recompile after changes. A gold market-structure strategy using swing breakouts, fair-value-gap and order-block filters, configurable stops and linked additions.
Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.
Trading setup
A gold market-structure strategy using swing breakouts, fair-value-gap and order-block filters, configurable stops and linked additions.
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.
double StopDistance(){ return (MathMax(SymbolInfoInteger(_Symbol,SYMBOL_SPREAD),SymbolInfoInteger(_Symbol,SYMBOL_TRADE_STOPS_LEVEL))+50)*_Point;}void AdjustStops(const bool buy,const double entry,double &sl,double &tp){ double distance=StopDistance(); if(buy) { if(sl>0 && entry-sl<distance)sl=entry-distance; if(tp>0 && tp-entry<distance)tp=entry+distance; } else { if(sl>0 && sl-entry<distance)sl=entry+distance; if(tp>0 && entry-tp<distance)tp=entry-distance; } if(sl>0)sl=NormalizeDouble(sl,_Digits); if(tp>0)tp=NormalizeDouble(tp,_Digits);}double MainVolume(const double entry,const double sl){ double minimum=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN),maximum=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX); double step=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP),limit=SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_LIMIT); double balance=AccountInfoDouble(ACCOUNT_BALANCE),lot=minimum; if(InpLotMode==LOT_MODE_FIXED) lot=InpFixedLot; else if(InpLotMode==LOT_MODE_RISK_LEVEL) { const double divisors[]= { 150,300,500,1000,2000,5000 }; int level=(int)InpRiskLevel; lot=(balance/((level>=0 && level<6)?divisors[level]:1000))*0.01; } else if(InpLotMode==LOT_MODE_PERCENTAGE) { if(balance<=0 || sl<=0 || entry==sl)return minimum; double value=SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE),size=SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_SIZE); if(value<=0 || size<=0)return minimum; double points=MathAbs(entry-sl)/_Point,cost=value*((points*_Point)/size); if(cost<=0)return minimum; lot=balance*(InpRiskPercent/100)/cost; } if(step>0)lot=MathFloor(lot/step)*step; double cap=limit>0?MathMin(maximum,limit):maximum; return NormalizeDouble(MathMax(minimum,MathMin(lot,cap)),2);}double ProtectiveVolume(const ENUM_ORDER_TYPE type,const double requested,const double entry,const double sl){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.20 · 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.
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.20 · 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.
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Trade comment (fixed @MQLume; legacy SET compatibility)InpEAComment | Display text |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Swing Sensitivity (Fractals)InpSwingN | 7 |
Confirm Breakout on Bar CloseInpBreakOnClose | true |
Max Recent Bars to AnalyzeInpMaxBars | 1500 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
JPY Account Base (Default: False)InpIsJPYAccount | false |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Enable Visuals & DashboardInpEnableVisuals | true |
Show On-Screen DashboardInpShowDashboard | true |
Dashboard X Offset (px)InpDashX | 0 |
Dashboard Y Offset (px)InpDashY | 10 |
Dashboard Scale (0.6 - 2.5, 1.25+ for 2K/4K)InpDashScale | 1.0 |
Dashboard Animations (glow, pulse, shimmer)InpDashAnimate | true |
Fair Value Gap ColorInpFVGColor | clrHoneydew |
Bullish Order Block ColorInpOBBullColor | clrPaleGreen |
Bearish Order Block ColorInpOBBearColor | clrLavender |
Quasimodo Level (QML) ColorInpQMLColor | clrMediumOrchid |
Filter Entries with Active FVGInpUseFVGFilter | true |
Filter Entries with Active OBInpUseOBFilter | true |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Stop Loss ModeInpSLMode | SL_MODE_DYNAMIC |
Fixed Stop Loss (Points)InpStopLossPoints | 120.0 |
Swing SL Additional Buffer (Points)InpSwingSLBuffer | 100.0 |
Take Profit ModeInpTPMode | TP_MODE_DYNAMIC |
Fixed Take Profit (Points)InpBaseTP_Points | 500.0 |
Risk:Reward RatioInpDynamicTP_RRR | 1.0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Enable Trailing StopInpUseTrailing | true |
Trailing Start (Profit Points)InpTrailingStart | 600.0 |
Trailing Lock (Points)InpTrailingLock | 200.0 |
Trailing Step (Points)InpTrailingStep | 300.0 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Sizing ModeInpLotMode | Auto Lot Risk LevelLOT_MODE_RISK_LEVEL |
Fixed Lot SizeInpFixedLot | 0.01 |
Auto Lot Risk LevelInpRiskLevel | RISK_EXTREME |
Risk % Per Trade (% Of Account Balance)InpRiskPercent | 1.0 |
EA Magic NumberInpMagicNumber | 20660 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Open a New Trade on New Signal while Trades are OpenInpAllowMultipleTrades | false |
Max Main Trades Open at the Same TimeInpMaxMainTrades | 3 |
Enable Scale-In (Add Positions in Profit)InpEnablePyramiding | true |
Add Position Every X Points in ProfitInpAddStepPoints | 200.0 |
Added Lot = Main Trade Lot x MultiplierInpAddLotMultiplier | 1.0 |
Maximum Additional Trades (per main trade)InpMaxAdditionalTrades | 1 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Enable News ProtectionInpUseNewsProtection | true |
NFP: Minutes BeforeInpNFP_BeforeMin | 30 |
NFP: Minutes AfterInpNFP_AfterMin | 60 |
CPI: Minutes BeforeInpCPI_BeforeMin | 30 |
CPI: Minutes AfterInpCPI_AfterMin | 60 |
FOMC: Minutes BeforeInpFOMC_BeforeMin | 60 |
FOMC: Minutes AfterInpFOMC_AfterMin | 150 |
Initial settings from the delivered source. Review and test changes before using them.
| Source input key | Initial value |
|---|---|
Enable Prop Firm Risk ProtectionInpUsePropFirmGuard | false |
Max Daily Loss (% of Balance)InpMaxDailyLossPct | 4.5 |
Max Total Loss (% of Balance)InpMaxTotalLossPct | 8.0 |
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 · Flexible sizing and account protections

EA only · EX5
Eight gold breakout profiles with pending entries, volatility-based distances, selectable strategies and configurable position management.

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