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.

The source edition includes editable MQ5, compiled EX5, README and PARAMETERS.pdf. Read and customise the four engines, with Fixed Entry profiles selected by default in version 3.7. No external DLL, indicator, model, image or SET preset is required or supplied.

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
3.7
Dependencies
MT5 standard libraries; no separate DLL or custom MQH download. Online features require the allowed URLs and available services described in README.txt.
Inputs
75 input entries
Build & testing
Compile in MT5 MetaEditor. See README.txt for installation and PARAMETERS.pdf for parameter guidance.

Trading setup

Stated specifications

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

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

Symbol
XAUUSD / GOLD
Chart timeframe
H1
Account
Hedging

Inside the source

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

MQL5 / .mq5
Scraper Gold MT5 3.7[MQLume].mq5v3.7
bool EngineEnabled(const int engine){   return InpStrategyMode == AllEngines || (int)InpStrategyMode == engine + 1;}int ManagedEngine(const long magic, const bool includeLegacy = false){   for (int i = 0; i < 4; i++)      if (engines[i].magic == magic || (includeLegacy && magic == 2101 + i))         return i;   return -1;}double RoundedPrice(const double price){   double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE);   int digits = (int)SymbolInfoInteger(_Symbol, SYMBOL_DIGITS);   return NormalizeDouble(tickSize > 0 ? MathRound(price / tickSize) * tickSize : price, digits);}double BarExtreme(const bool buy, const ENUM_TIMEFRAMES period, const int shift){   return buy ? iHigh(_Symbol, period, shift) : iLow(_Symbol, period, shift);}bool Beyond(const bool buy, const double price, const double other, const bool strict){   if (buy)      return strict ? price > other : price >= other;   return strict ? price < other : price <= other;}ulong FindPending(const long magic, const ENUM_ORDER_TYPE type){   for (int i = OrdersTotal() - 1; i >= 0; i--)   {      ulong ticket = OrderGetTicket(i);      if (ticket != 0 && OrderGetString(ORDER_SYMBOL) == _Symbol && OrderGetInteger(ORDER_MAGIC) == magic &&          OrderGetInteger(ORDER_TYPE) == type)         return ticket;   }   return 0;}int PendingCount(const long magic, const ENUM_ORDER_TYPE type){   int count = 0;   for (int i = OrdersTotal() - 1; i >= 0; i--)      if (OrderGetTicket(i) != 0 && OrderGetString(ORDER_SYMBOL) == _Symbol && OrderGetInteger(ORDER_MAGIC) == magic &&          OrderGetInteger(ORDER_TYPE) == type)         count++;   return count;}int PositionCount(const long magic, const int side = -1){   int count = 0;

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

    Scraper Gold MT5 3.7[MQLume].mq5

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

    Included
  • EX5

    Scraper Gold MT5 3.7[MQLume].ex5

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

    Included
  • PDF

    PARAMETERS.pdf

    Parameter handbook with initial values, sizing formulas and usage notes.

    Included
  • TXT

    README.txt

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

    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 v3.7 · 75

Parameter guide

Initial settings from the delivered source. Review and test changes before using them.

Initial values shown below come from the included source. Review the parameter guide before changing settings. 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 1 · WEB REQUEST

Initial settings from the delivered source. Review and test changes before using them.

Settings 1 · WEB REQUEST
Source input keyInitial value
Add this URL in MT5: Tools > Options > Expert Advisors > AllowInpWebRequestURL"https://nfs.faireconomy.media"
Settings 2 · ENTRY MODE

Initial settings from the delivered source. Review and test changes before using them.

Settings 2 · ENTRY MODE
Source input keyInitial value
DEFAULT: Scrap A + B + C + DInpStrategyModeScrap A + Scrap B + Scrap C + Scrap DAllEngines
Settings 3 · SCRAP A MONEY MANAGEMENT

Initial settings from the delivered source. Review and test changes before using them.

Settings 3 · SCRAP A MONEY MANAGEMENT
Source input keyInitial value
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapARiskPerBalance
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapA0.01
Risk Percent (%)InpRiskScrapA0.25
Risk per Balance: balance represented by base lotInpBalanceRefScrapA1000.0
Settings 4 · SCRAP B MONEY MANAGEMENT

Initial settings from the delivered source. Review and test changes before using them.

Settings 4 · SCRAP B MONEY MANAGEMENT
Source input keyInitial value
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapBRiskPerBalance
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapB0.01
Risk Percent (%)InpRiskScrapB0.25
Risk per Balance: balance represented by base lotInpBalanceRefScrapB1000.0
Settings 5 · SCRAP C MONEY MANAGEMENT

Initial settings from the delivered source. Review and test changes before using them.

Settings 5 · SCRAP C MONEY MANAGEMENT
Source input keyInitial value
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapCRiskPerBalance
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapC0.01
Risk Percent (%)InpRiskScrapC0.25
Risk per Balance: balance represented by base lotInpBalanceRefScrapC1000.0
Settings 6 · SCRAP D MONEY MANAGEMENT

Initial settings from the delivered source. Review and test changes before using them.

Settings 6 · SCRAP D MONEY MANAGEMENT
Source input keyInitial value
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapDRiskPerBalance
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapD0.01
Risk Percent (%)InpRiskScrapD0.25
Risk per Balance: balance represented by base lotInpBalanceRefScrapD1000.0
Settings 7 · ENGINE PROFILE (v3.7)

Initial settings from the delivered source. Review and test changes before using them.

Settings 7 · ENGINE PROFILE (v3.7)
Source input keyInitial value
Scrap A profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapAFixedEntry
Scrap B profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapBFixedEntry
Scrap C profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapCFixedEntry
Scrap D profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapDFixedEntry
Adaptive Entry: adjust entry distance from recent closed tradesInpAdaptiveOffsettrue
Settings 8 · NEWS FILTER

Initial settings from the delivered source. Review and test changes before using them.

Settings 8 · NEWS FILTER
Source input keyInitial value
Pause new entries around high-impact USD news (default OFF)InpUseNewsFilterfalse
Minutes before high-impact USD newsInpNewsMinutesBefore30
Minutes after high-impact USD newsInpNewsMinutesAfter30
Optional manual news-week risk reductionInpNewsWeekRiskModeOFFNormalRisk
Settings 9 · SYSTEM

Initial settings from the delivered source. Review and test changes before using them.

Settings 9 · SYSTEM
Source input keyInitial value
Magic offset (0 = default; change only to run 2 copies on one aInpMagicOffset0
PRO Gold panel | FULL / COMPACT | DISABLED = fastestInpDashboardModeProGoldPanel
Settings 10 · DAILY LOSS LIMIT

Initial settings from the delivered source. Review and test changes before using them.

Settings 10 · DAILY LOSS LIMIT
Source input keyInitial value
Stop trading for the day after X% lossInpUseDailyLossLimitfalse
Max daily loss in % of day-start balanceInpDailyLossPercent4.0
Also close open EA positions when hitInpDailyLossClosePositionstrue
Settings 11 · WEEKEND

Initial settings from the delivered source. Review and test changes before using them.

Settings 11 · WEEKEND
Source input keyInitial value
Delete EA pending orders X minutes before the Friday session clInpFridayCloseMinutes30
Settings 12 · DIRECTION (v3.7)

Initial settings from the delivered source. Review and test changes before using them.

Settings 12 · DIRECTION (v3.7)
Source input keyInitial value
Scrap A directionInpDirectionScrapABuy and SellBuyAndSell
Scrap B directionInpDirectionScrapBBuy and SellBuyAndSell
Scrap C directionInpDirectionScrapCBuy and SellBuyAndSell
Scrap D directionInpDirectionScrapDBuy and SellBuyAndSell
Settings 13 · CUSTOM EXIT (v3.7)

Initial settings from the delivered source. Review and test changes before using them.

Settings 13 · CUSTOM EXIT (v3.7)
Source input keyInitial value
Scrap A exit: Profile / CustomInpExitModeScrapAProfile exit (SL/TP/trailing of the selected profile)ProfileExit
Scrap A custom Stop Loss (points)InpCustomSLScrapA500.0
Scrap A custom Take Profit (points)InpCustomTPScrapA1500.0
Scrap A custom Trail Start (points)InpCustomStartScrapA100.0
Scrap A custom Trail Distance (points)InpCustomDistScrapA250.0
Scrap A custom Trail Step (points)InpCustomStepScrapA50.0
Scrap B exit: Profile / CustomInpExitModeScrapBProfile exit (SL/TP/trailing of the selected profile)ProfileExit
Scrap B custom Stop Loss (points)InpCustomSLScrapB500.0
Scrap B custom Take Profit (points)InpCustomTPScrapB1500.0
Scrap B custom Trail Start (points)InpCustomStartScrapB100.0
Scrap B custom Trail Distance (points)InpCustomDistScrapB250.0
Scrap B custom Trail Step (points)InpCustomStepScrapB50.0
Scrap C exit: Profile / CustomInpExitModeScrapCProfile exit (SL/TP/trailing of the selected profile)ProfileExit
Scrap C custom Stop Loss (points)InpCustomSLScrapC500.0
Scrap C custom Take Profit (points)InpCustomTPScrapC1500.0
Scrap C custom Trail Start (points)InpCustomStartScrapC100.0
Scrap C custom Trail Distance (points)InpCustomDistScrapC250.0
Scrap C custom Trail Step (points)InpCustomStepScrapC50.0
Scrap D exit: Profile / CustomInpExitModeScrapDProfile exit (SL/TP/trailing of the selected profile)ProfileExit
Scrap D custom Stop Loss (points)InpCustomSLScrapD500.0
Scrap D custom Take Profit (points)InpCustomTPScrapD1500.0
Scrap D custom Trail Start (points)InpCustomStartScrapD100.0
Scrap D custom Trail Distance (points)InpCustomDistScrapD250.0
Scrap D custom Trail Step (points)InpCustomStepScrapD50.0
Settings 14 · SLIPPAGE COMPENSATION (v3.7, live only)

Initial settings from the delivered source. Review and test changes before using them.

Settings 14 · SLIPPAGE COMPENSATION (v3.7, live only)
Source input keyInitial value
Scrap A slippage calculationInpSlippageScrapAMedium - 50%SlippageMedium
Scrap B slippage calculationInpSlippageScrapBMedium - 50%SlippageMedium
Scrap C slippage calculationInpSlippageScrapCMedium - 50%SlippageMedium
Scrap D slippage calculationInpSlippageScrapDMedium - 50%SlippageMedium
Settings 15 · NEWS FILTER - EVENTS (v3.7)

Initial settings from the delivered source. Review and test changes before using them.

Settings 15 · NEWS FILTER - EVENTS (v3.7)
Source input keyInitial value
News events: all high-impact USD / selected onlyInpNewsScopeAll high-impact USD events (v3.5 behaviour)AllHighImpactUSD
Selected: FOMC / Fed rate decision / press conferenceInpNewsFOMCtrue
Selected: CPIInpNewsCPItrue
Selected: NFP / Unemployment / Avg Hourly EarningsInpNewsNFPtrue
Selected: PCEInpNewsPCEtrue
Selected: PPIInpNewsPPIfalse
Selected: GDPInpNewsGDPfalse
Selected: Retail SalesInpNewsRetailfalse
Selected: ISM Manufacturing / ServicesInpNewsISMfalse
Settings 16 · MQLUME

Initial settings from the delivered source. Review and test changes before using them.

Settings 16 · MQLUME
Source input keyInitial value
Comment display (execution always uses @MQLume)InpOrderCommentDisplay text

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

Enter your email, confirm the licence and download your free EA source package. No payment needed.

Delivery & support

  1. 1

    Get it free

    Choose your free EA source packages.

  2. 2

    Check your order

    Review the products and US$0 total.

  3. 3

    Enter your email

    Confirm the licence and complete your free order.

  4. 4

    Download

    One ZIP for all selected free products, with individual downloads available.

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

Scraper Gold [MQLume]

Version 3.7 · Personal-use licence

Order total
US$0

Instant download after checkout

Screenshot · Scraper Gold [MQLume]

Screenshot — Scraper 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