
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
Two Bitcoin breakout strategies with ATR-based stops, optional ADX filters and pending or virtual entries.
Read the supplied parameter guide for units and interactions before changing these initial values.
Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.
bool RefreshDistances(const int index){ double atr[]; if(CopyBuffer(state[index].atrHandle,0,0,1,atr)<=0) return false; state[index].stopDistance = MathMin(atr[0]*settings[index].stopMultiplier, settings[index].maxStopLoss*Decimal_Point*_Point); state[index].trailStart = atr[0]*settings[index].trailStartMultiplier; state[index].trailDistance = atr[0]*settings[index].trailDistanceMultiplier; state[index].trailStep = atr[0]*settings[index].trailStepMultiplier; return true;}void RefreshLots(const int index){ if(SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN)>=0.1) lotDigits=1; double lots=settings[index].fixedLots; if(settings[index].autoLots!=0 || lots==0) lots=NormalizeDouble(AccountInfoDouble(ACCOUNT_BALANCE)*state[index].lotFactor/100.0,lotDigits); lots=MathMax(lots,SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN)); state[index].lots=MathMin(lots,SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX));}void RefreshDirectionFilter(const int index){ if(!settings[index].adxFilter) { state[index].allowBuy=true; state[index].allowSell=true; return; } double adx[],plus[],minus[]; if(CopyBuffer(state[index].adxHandle,0,1,1,adx)<=0) return; if(CopyBuffer(state[index].adxHandle,1,1,1,plus)<=0) return; if(CopyBuffer(state[index].adxHandle,2,1,1,minus)<=0) return; if(adx[0]<=settings[index].adxMinimum) { state[index].allowBuy=false; state[index].allowSell=false; } else if(!settings[index].trendFilter) { state[index].allowBuy=true; state[index].allowSell=true; } else { state[index].allowBuy=minus[0]+settings[index].adxSeparation<plus[0]; state[index].allowSell=plus[0]<minus[0]-settings[index].adxSeparation; }}void ProcessPreviousDayStrategy(const MqlDateTime &now)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.20 · 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.
Read the supplied parameter guide for units and interactions before changing these initial values.
MT5 input preset. Review the settings before use.
A concise welcome, installation and compilation guide, with licence terms and support details.
Testing
Two Bitcoin breakout strategies with ATR-based stops, optional ADX filters and pending or virtual entries.
Version v2.20 · 66
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.
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
CurrencyCurrency | "BTCUSD" |
DashboardDashboard | false |
Maximum allowed spreadSpread_Control | 80 |
Seconds to pause after high spreadSpread_Control_Timing | 30 |
Decimal_PointDecimal_Point | 100 |
Pending or virtual market-trigger modeExecution_Mode | Pending OrdersEXECUTION_PENDING |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
Enable Strategy 1Enable_Strategy1 | true |
Magic Number for 1 strategyMagicNumber1 | 585 |
Expert comment for 1 strategyExpertComment1 | Display text |
RiskLevel1RiskLevel1 | MediumRISK_MEDIUM |
Auto Lot SizeAutoLotSize1 | 0.0 |
Fixed Lot SizeFixedLotSize1 | 0.0 |
Allow buy ordersBuy1 | true |
Allow sell ordersSell1 | false |
DeleteOppositeOrders1DeleteOppositeOrders1 | false |
Offset points from levelsItems1 | -20 |
Min distance from current price to pending orderMinDistance1 | 50 |
StartH1StartH1 | 0 |
StartM1StartM1 | 0 |
EndH1EndH1 | 21 |
EndM1EndM1 | 30 |
TakeProfit1TakeProfit1 | 2000 |
MaxStopLoss1MaxStopLoss1 | 1200 |
StopLoss_ATRPeriod1StopLoss_ATRPeriod1 | 30 |
StopLoss_ATRCoeff1StopLoss_ATRCoeff1 | 1.55 |
Start_TrallingStop_ATRCoeff1Start_TrallingStop_ATRCoeff1 | 0.034 |
Items_TrallingStop_ATRCoeff1Items_TrallingStop_ATRCoeff1 | 0.059 |
Step_TrallingStop_ATRCoeff1Step_TrallingStop_ATRCoeff1 | 0.013 |
Volatility filterADX_Filter1 | false |
Trend filterADX_TrendFilter1 | false |
Filter PeriodADX_Period1 | 0 |
Minimum LevelADX_MinLevel1 | 0 |
Devation1Devation1 | 0.0 |
Read the supplied parameter guide for units and interactions before changing these initial values.
| Source input key | Initial value |
|---|---|
Enable Strategy 2Enable_Strategy2 | true |
Magic Number for 2 strategyMagicNumber2 | 586 |
Expert comment for 2 strategyExpertComment2 | Display text |
RiskLevel2RiskLevel2 | MediumRISK_MEDIUM |
Auto Lot SizeAutoLotSize2 | 0.0 |
Fixed Lot SizeFixedLotSize2 | 0.0 |
Allow buy ordersBuy2 | true |
Allow sell ordersSell2 | true |
DeleteOppositeOrders2DeleteOppositeOrders2 | false |
Offset points from levelsItems2 | -22 |
MinDistance2MinDistance2 | 50 |
MaxDistance2MaxDistance2 | 1000 |
StartH2StartH2 | 0 |
StartM2StartM2 | 0 |
EndH2EndH2 | 21 |
EndM2EndM2 | 30 |
TakeProfit2TakeProfit2 | 3000 |
MaxStopLoss2MaxStopLoss2 | 1200 |
StopLossItems2StopLossItems2 | 0 |
StopLoss_ATRPeriod2StopLoss_ATRPeriod2 | 30 |
StopLoss_ATRCoeff2StopLoss_ATRCoeff2 | 0.5 |
Start_TrallingStop_ATRCoeff2Start_TrallingStop_ATRCoeff2 | 0.02 |
Items_TrallingStop_ATRCoeff2Items_TrallingStop_ATRCoeff2 | 0.045 |
Step_TrallingStop_ATRCoeff2Step_TrallingStop_ATRCoeff2 | 0.04 |
Number of weeks for analysisQWeeks2 | 12 |
Number of bars for the level (left)LeftBars2 | 2 |
Number of bars for the level (right)RightBars2 | 1 |
Shift2Shift2 | 1 |
Volatility filterADX_Filter2 | false |
Trend filterADX_TrendFilter2 | false |
Filter PeriodADX_Period2 | 0 |
Minimum LevelADX_MinLevel2 | 0 |
Devation2Devation2 | 0.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.
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 range breakouts across five markets from one chart, with daily ATR filters and configurable portfolio exposure.

Source code · MQ5 + EX5
Explore gold pattern entries, configurable sizing, stops and timed position management.

EA only · EX5
Explore gold trading with embedded pattern models, entry-quality filters and adaptive stops, with four position-sizing modes to shape your setup.

Free EA · MQ5 + EX5
Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.
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