Make the strategy your own.

With the source in your hands, your ideas can go further than the settings panel.

No extra dependencies to install

Open your source in MetaEditor and start building. Projects use self-contained code or the standard libraries already included with MT5.

Unlimited personal use

Study, customise and trade on your own accounts. Your EA source gives you the freedom to keep refining your ideas.

Pay once. No activation or usage fees.

One purchase per source project. MQLume does not charge by the number of activations or uses.

Vibe coding. Your trading judgement.

Bring your ideas to an AI coding assistant. Use the editable MQL5 project as your starting point, and stay in control of every change.

  1. Describe your idea

    Ask for a session filter, clearer logging or a different risk rule.

  2. Review the change

    Read the proposed code, check the logic and compile it in MetaEditor.

  3. Test your version

    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

An EA you can make your own.

Explore a gold trading project with embedded signal tables, flexible position sizing and configurable trade management. The source edition lets you inspect how signals and sizing interact, while the compiled edition gives you the packaged EA and installation guidance.

Built for MetaTrader 5. A complete source project, clear inputs and practical documentation give you control over your next build.

No external MQH or DLL required

Project specifications

Platform
MetaTrader 5 / MQL5; not compatible with MT4
Version
8.1
Dependencies
One self-contained MQ5 file. Open it in MetaEditor and compile.
Inputs
69 settings and information fields
Build & testing
Compile in MT5 MetaEditor. See README.txt for installation and PARAMETERS.pdf for parameter guidance.

Trading setup

Stated specifications

XAUUSD · Balance-based sizing, configurable signals and position management.

These are marketplace specifications, not a guarantee of suitable capital or performance.

Symbol
XAUUSD
Chart timeframe
M30
VPS
Recommended for uninterrupted operation

Inside the source

Explore 50 lines of the project's MQL5 source. Scroll inside the editor to discover more.

MQL5 / .mq5
One Gold MT5 8.1[MQLume].mq5v8.1
#property strict#property version "8.10"#property copyright "Copyright 2026, MQLume"#property link "https://mqlume.com"#property description "One Gold MT5 - gold pattern trading with Conservative and Intense modes"enum GoldTradingMode{   Conservative = 0,   Intense = 1};input bool Panel = true;                   // Show information panelinput GoldTradingMode Mode = Conservative; // Trading modeinput string stt2 =    "========Settings for Conservative Mode=========";                // Conservative settingsinput bool Recovery = false;                                          // Enable recovery sizinginput double Rcof = 1.6;                                              // Recovery volume multiplierinput bool PerL = false;                                              // Enable balance/stop sizinginput double PerLZ = 10.0;                                            // Balance/stop sizing rateinput double percent = 0.01;                                          // Lot increment per balance unitinput double balance = 100.0;                                         // Balance unit for lot incrementinput double MaxLot = 1000.0;                                         // Automatic base lot capinput int BeginHour2 = 16;                                            // Trading start hourinput int BeginMinute2 = 0;                                           // Trading start minuteinput int EndHour2 = 13;                                              // Trading end hourinput int EndMinute2 = 0;                                             // Trading end minuteinput double TKProfit = 120.0;                                        // Take-profit distanceinput double RST = 400.0;                                             // Stop-loss distanceinput bool trail = false;                                             // Enable stepped trailing stopinput double TrailStart = 20.0;                                       // Trailing activation distanceinput double TrailFrom = 5.0;                                         // Initial trailing lock distanceinput double TrailStep = 5.0;                                         // Trailing incrementinput bool UseBreckeven = false;                                      // Enable breakeven stopinput double BEactivity = 30.0;                                       // Breakeven activation distanceinput string stt23 = "========Settings for Intense Mode=========";    // Intense settingsinput bool RecoveryI = true;                                          // Enable recovery sizinginput double RcofI = 1.6;                                             // Recovery volume multiplierinput bool PerLI = false;                                             // Enable balance/stop sizinginput double PerLZI = 5.0;                                            // Balance/stop sizing rateinput double percentI = 0.01;                                         // Lot increment per balance unitinput double balanceI = 200.0;                                        // Balance unit for lot incrementinput double MaxLotI = 10.0;                                          // Automatic base lot capinput int BeginHour2I = 19;                                           // Trading start hourinput int BeginMinute2I = 0;                                          // Trading start minuteinput int EndHour2I = 16;                                             // Trading end hourinput int EndMinute2I = 59;                                           // Trading end minuteinput double TKProfitI = 240.0;                                       // Take-profit distanceinput double RSTI = 220.0;                                            // Stop-loss distanceinput bool trailI = true;                                             // Enable stepped trailing stopinput double TrailStartI = 75.0;                                      // Trailing activation distance

Your next build starts here.

Included files

Complete source, practical documentation and reference files to help you understand, customise and test your EA.

One project.
Complete source.

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 8.1 · Personal-use licence
  • MQ5

    One Gold MT5 8.1[MQLume].mq5

    Complete, editable single-file source. Read the logic, customise it and compile your own EA.

    Included
  • EX5

    One Gold MT5 8.1[MQLume].ex5

    The compiled EA accompanying the source. Recompile after editing the MQ5.

    Included
  • TXT

    README.txt

    A concise welcome, installation and compilation guide, with licence terms and support details.

    Included
  • PDF

    PARAMETERS.pdf

    PARAMETERS.pdf documents all 69 fields. Source edition includes MQ5, EX5, README.txt, PARAMETERS.pdf and Presets/Default.set.

    Included
  • SET

    Presets/Default.set

    MT5 input preset. Review the settings before use.

    Included

Testing

Build confidence through 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 v8.1 · 69

Parameter guide

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.

How to read EA parameters
Settings

Explore these controls in the included parameter guide.

Settings
Source input keyInitial value
Show information panelPaneltrue
Trading modeModeConservative
Conservative settingsstt2========Settings for Conservative Mode=========
Enable recovery sizingRecoveryfalse
Recovery volume multiplierRcof1.6
Enable balance/stop sizingPerLfalse
Balance/stop sizing ratePerLZ10.0
Lot increment per balance unitpercent0.01
Balance unit for lot incrementbalance100.0
Automatic base lot capMaxLot1000.0
Trading start hourBeginHour216
Trading start minuteBeginMinute20
Trading end hourEndHour213
Trading end minuteEndMinute20
Take-profit distanceTKProfit120.0
Stop-loss distanceRST400.0
Enable stepped trailing stoptrailfalse
Trailing activation distanceTrailStart20.0
Initial trailing lock distanceTrailFrom5.0
Trailing incrementTrailStep5.0
Enable breakeven stopUseBreckevenfalse
Breakeven activation distanceBEactivity30.0
Intense settingsstt23========Settings for Intense Mode=========
Enable recovery sizingRecoveryItrue
Recovery volume multiplierRcofI1.6
Enable balance/stop sizingPerLIfalse
Balance/stop sizing ratePerLZI5.0
Lot increment per balance unitpercentI0.01
Balance unit for lot incrementbalanceI200.0
Automatic base lot capMaxLotI10.0
Trading start hourBeginHour2I19
Trading start minuteBeginMinute2I0
Trading end hourEndHour2I16
Trading end minuteEndMinute2I59
Take-profit distanceTKProfitI240.0
Stop-loss distanceRSTI220.0
Enable stepped trailing stoptrailItrue
Trailing activation distanceTrailStartI75.0
Initial trailing lock distanceTrailFromI100.0
Trailing incrementTrailStepI5.0
Enable breakeven stopUseBreckevenIfalse
Breakeven activation distanceBEactivityI30.0
General settingsstt21=============================================
Use leverage-based automatic sizingAutoLotfalse
Fixed base lot sizeLot0.0
Maximum spread thresholdMaxSpred200
Entry deviation allowanceSlippage50
Order commentCommen@MQLume
Strategy magic numberMagic1
Allow buy signalsONBfalse
Allow sell signalsONSfalse
Use hidden profit/loss exitsvirtfalse
Enable currency profit exitCurrencyProfitfalse
Currency profit thresholdCurrencyProfitZ500.0
Enable currency loss exitCurrencyLossfalse
Currency loss thresholdCurrencyLossZ500.0
Enable balance-relative loss exitPercentLossfalse
Balance-relative loss thresholdPercentLossZ50.0
Delay matched entriesDelayfalse
Entry delay durationDelayZ10
Pause after a losing exitForbidtrfalse
Post-loss pause durationForbidtim10
Extend cooldown using daily barForbidtr2false
News settingsstt3================News Settings=============================
Enable economic-calendar filterNewsFilterfalse
Minutes before newsDontOpBef60
Minutes after newsDontOpAft60
Filter high-importance newsIHtrue
Filter moderate-importance newsIMfalse

Support after delivery

Bug fixes are included.

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 maintained

Delivery & compilation

Missing files, incorrect delivery and original-code compilation failures in the stated environment.

Code & documentation defects

Provide the release, settings, logs and reproduction steps so we can assess and resolve the issue.

Support scope

Start with the included guide and contact us for help with delivery or reproducible software defects. Trading results are not guaranteed.

FAQ

Frequently asked questions

Help centre
What am I buying?

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.

Refunds after delivery

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.

Delivery and bug reports

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.

Delivery & support

  1. 1

    Review

    Read the files, environment and terms

  2. 2

    Confirm

    Check the source version and purchase terms

  3. 3

    Pay

    Payment is checked with the provider or on the selected blockchain

  4. 4

    Automatic delivery

    Fast, automatic delivery after payment confirmation. No waiting for manual dispatch.

MQLume Bespoke

Built around your ambition.

Explore bespoke services →

Have something more specific in mind?

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 downloads. Real source files.

FREE

Lizard [MQLume]

MQL5 / MT5Version v2.1

Free editable gold breakout project with six independently selectable cores, session filters and flexible position sizing.

US$99.00FREE
FREE

Scraper Gold [MQLume]

MQL5 / MT5Version v3.7

Free editable source with compiled EX5: four gold breakout engines with independent profiles, sizing, direction and exits.

US$95.00FREE

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.

Journal Starter

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.

Reviews & questions

Loading…

MQLume

More to explore. A community to share it with.

Stay close to MQLume, wherever you like to learn.

YouTube

See our EAs in action. Explore backtests, walkthroughs and practical guides.

Watch on YouTube

Telegram

Meet other EA users, share ideas and keep up with what’s new.

Join the community Follow official updates

Checkout

One Gold [MQLume]

Version 8.1 · Personal-use licence

Order total
US$49

Account downloads · email delivery

Screenshot · One Gold [MQLume]

Screenshot — One Gold [MQLume]
Enlarge image ↗

Cart

One personal-use licence per project. Each project can be added once.

Your cart is waiting for its first passenger.

Choose an EA or source edition to get started.

Continue shopping