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.

Trading setup

Stated specifications

Make your gold strategy your own. Explore selectable trading profiles, flexible automatic sizing and configurable account protections in complete editable MQL5 source.

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

Symbol
XAUUSD / Gold
Chart timeframe
Any chart timeframe · internal M1 / M15 data
Account
Hedging
VPS
Recommended for continuous operation

Inside the source

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

MQL5 / .mq5
Gold Beaver MT5 5.56[MQLume].mq5v5.56
double CalculateBaseVolume(const bool use_fixed,const double fixed_volume,                           const double adjusted_balance,const double sizing_value,                           const double minimum,const double maximum,                           const double step,const double directional_limit){   double volume=fixed_volume;   if(!use_fixed)   {      const int digits=step>=1.0 ? 0 : (step<0.1 ? 2 : 1);      volume=NormalizeDouble(adjusted_balance*sizing_value/1000000.0,digits);   }   volume=MathMin(MathMax(volume,minimum),maximum);   if(directional_limit>0.0 && volume>directional_limit)      volume=directional_limit;   return volume;}struct LegSizing{   int mode;   int digits;   long magic;   double risk;   double fixed_volume;   double minimum;   double maximum;   double reference_value;   double scaled_reference;};double CalculateLegVolume(LegSizing &sizing,const double adjusted_balance,                          const double directional_limit,const double first_scale,                          const double second_scale,const bool exempt_magic_912,                          const double step){   double volume=sizing.fixed_volume;   if(sizing.mode==1)      volume=MathMax(sizing.minimum,MathMin(sizing.maximum,             NormalizeDouble(adjusted_balance*sizing.risk/1000000.0,sizing.digits)));   if(sizing.mode==2)   {      sizing.scaled_reference=sizing.reference_value*1.5;      volume=MathMax(sizing.minimum,MathMin(sizing.maximum,             NormalizeDouble(sizing.scaled_reference*sizing.risk/100000.0,sizing.digits)));   }   if(directional_limit>0.0 && directional_limit<=volume)      volume=directional_limit;   if(sizing.magic!=(exempt_magic_912 ? 912 : 0) && first_scale!=1.0)      volume=MathMax(sizing.minimum,NormalizeDouble(volume*first_scale,sizing.digits));   if(second_scale!=1.0)

Overview

An EA you can make your own.

Read the logic behind each decision, adapt position sizing and build your own filters. Gold Beaver combines gold trading profiles with a chart dashboard and strategy-history tools. Use the source as a starting point for your own development, with an AI coding assistant or your own code. The MT5 standard Canvas library is included with MetaEditor; no extra MQH or DLL download is needed.

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

No extra MQH or DLL downloads

Project specifications

Platform
MetaTrader 5 / MQL5; not compatible with MT4
Version
5.56
Dependencies
Uses only the Trade library included with MT5. No custom MQH or external DLL to install.
Inputs
23 inputs for strategy selection, sizing, protections and chart controls
Build & testing
Compile in MT5 MetaEditor; consult RELEASE_NOTES.txt for the packaged build and testing record.

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

    Gold Beaver MT5 5.56[MQLume].mq5

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

    Included
  • EX5

    Gold Beaver MT5 5.56[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 explains all 23 inputs, defaults, units and interactions. Your package includes the MQ5 source, compiled EX5, README.txt, PARAMETERS.pdf and RELEASE_NOTES.txt.

    Included
  • TXT

    RELEASE_NOTES.txt

    Build details, recorded test conditions, changes and known limits for the supplied package.

    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 v5.56 · 23

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.

Choose your gold strategy

Select the trading profile and assign distinct magic numbers at least 100 apart to separate installations. Check the running panel selection when reloading a chart.

Choose your gold strategy
Source input keyInitial value
Gold strategy type (see dropdown for stats)ModeGB_STRATEGY_15
Base magic number (each chart its own, 100 apart: 909, 1009, 11InpBaseMagic909
Sync on attach: reconstruct & place canonical pendings (DEFAULTInpSyncOnAttachtrue
Delete own pending orders a minute past their expiry (MT5 testeInpStaleSweeptrue
Position sizing and spread

Choose fixed lots or balance-based automatic sizing. Automatic volume uses balance × Inp_Lot_Percent ÷ 1,000,000 before applicable volume adjustments and broker limits. This value is a sizing coefficient, not a guaranteed loss percentage.

Position sizing and spread
Source input keyInitial value
Fixed-lot mode (if false, uses floating % below)InpUseFixedLotfalse
Fixed lot size (used only when InpUseFixedLot = true)InpFixedLot0.01
Floating lot - balance * value / 1,000,000 (default 11.6)Inp_Lot_Percent11.6
Max orders at one price (0 = off) - e.g. 1: never two of this cInpMaxAtPrice0
Max spread (points) - skip placement if exceeded (0=disabled, dInpMaxSpreadPoints300
Account protection

Configure daily loss, starting-balance loss and drawdown limits. Zero disables the relevant threshold. Decide whether a limit closes positions or only stops new entries.

Account protection
Source input keyInitial value
Daily loss limit, % (0 = off) - e.g. 4: no new trades for the dInpPropDailyLoss0
Max loss limit, % of the start balance (0 = off) - e.g. 10: stoInpPropMaxLoss0
Max drawdown from the highest balance, % (0 = off) - e.g. 15: sInpPropMaxDD0
Max drawdown from the current balance, % (0 = off) - e.g. 20: sInpPropMaxDDBal0
At a limit: true = close trades and orders, false = only stop nInpPropCloseAlltrue
FTMO mode: day starts at midnight CE(S)T, all trades closed befInpPropFTMOfalse
Randomize orders: each order +-$0.30 in price and +-5% in lot, InpPropRandomfalse
Protection profile

Choose the protection preset for the selected strategy. Read the parameter handbook before combining strategy and protection choices.

Protection profile
Source input keyInitial value
Protection: Auto = the tested best for the running presetInpSmoothingGB_PROTECTION_6
Chart and journal

Control the information panel, chart theme and optional diagnostic logging.

Chart and journal
Source input keyInitial value
GOLD BEAVER info panel (balance, gates, quality)InpShowPaneltrue
Chart UI theme (see dropdown)InpChartThemeGB_THEME_1
Show all bot logs in Experts journal (off = quiet)InpShowLogsfalse
Break-even and diagnostics

Select tick-based or M1-based break-even checks. Optional tester diagnostics compare the ranking simulator over the chosen history window.

Break-even and diagnostics
Source input keyInitial value
Break-even: arm/check on every tick (true) or once per M1 bar (InpBeOnTicktrue
DIAG: in the tester, also run the rank simulator over the same InpSimSelfCheckfalse
DIAG: rank-simulator window for the self check (days)InpSimCheckDays30

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

    Receive

    Source files by email within 6 hours of confirmed payment

Explore free EA source code

Free downloads. Real source files.

Smart Gold Hunter MT5

Free EA source code · v5.0

US$349Original EA market priceFREE

MoonDog EA MT5

Free EA source code · v4.21

US$299Original EA market priceFREE

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.

Checkout

Gold Beaver MT5

Version 5.56 · Personal-use licence

Order total
US$199

Email delivery within 6 hours

Screenshot · Gold Beaver MT5

Screenshot — Gold Beaver MT5
Enlarge image ↗

Cart

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

Your cart is empty

Choose a source project to get started.

Continue shopping