
Scraper Gold [MQLume] 3.7: +596,331.76% | XAUUSD · 12个月回测
查看 Scraper Gold [MQLume] 3.7 的收益率、回撤、逐月结果与选定参数。

查看 Scraper Gold [MQLume] 3.7 的收益率、回撤、逐月结果与选定参数。
源码在手,你的想法就能超越参数面板。
在 MetaEditor 中打开源码,即可开始开发。项目采用独立代码或 MT5 已自带的标准库。
自由学习、定制并用于自己的交易账户。源码在手,让你的想法能够持续改进。
每个源码项目只需购买一次。MQLume 不按激活次数或使用次数额外收费。
把想法告诉 AI 编程助手,以可编辑的 MQL5 项目为起点,由你掌握每一次修改的方向。
试着提出交易时段过滤、更清晰的日志或新的风险规则。
读懂 AI 提议的代码,核对逻辑,再用 MetaEditor 编译。
对比回测结果,再经过模拟盘测试,最后决定是否实盘使用。
可使用你选择的 AI 工具;商品不包含 AI 订阅。请审阅生成代码并保护源码隐私。更好的工具帮助你完善流程,但不保证交易盈利。
产品介绍
源码版包含可编辑 MQ5、已编译 EX5、README 和 PARAMETERS.pdf。可阅读并定制四个引擎,3.7 版默认选择 Fixed Entry 模式。不需要额外 DLL、指标、模型或图像,不附 SET 预设。
专为 MetaTrader 5 打造。完整源码、清晰的参数和实用文档,让你掌握下一次开发的主动权。
交易配置
免费可编辑源码,包含 EX5:四个黄金突破引擎,各自提供独立的模式、仓位、方向和退出控制。
以上为市场页面公布的规格,不保证适合你的资金状况或带来收益。
浏览项目中的 50 行真实 MQL5 源码,在编辑器内向下滚动以继续探索。
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;你的下一次创造,从这里开始。
完整源码、实用文档与参考文件,帮助你理解、定制并测试自己的 EA。
100% 源码指本商品可编辑实现完整交付,并非只交付 EX5,亦不以隐藏策略模块代替源代码。
版本 3.7 · 个人使用许可完整、可编辑的单文件源码。阅读逻辑、自由定制,并编译自己的 EA。
与源码配套的编译版 EA;修改 MQ5 后请重新编译。
参数手册:初始值、仓位公式与使用说明。
简明的网站介绍、安装与编译指南,以及使用许可和客服信息。
探索、定制并测试你的 EA,了解它在不同市场环境下的表现。从交付指南入手,逐步建立适合自己参数设置的测试流程。
版本 v3.7 · 75
下方为交付源码的初始参数,修改后请先检查并测试。
下列初始值来自交付源码。调整设置前,请阅读随附的参数指南。 EA 发出的订单注释统一使用 @MQLume,并保留必要的策略标识。注释参数用于兼容已保存设置,不能移除执行时的品牌标识。
结合 PARAMETERS.pdf 参数指南与 README.txt 使用说明,了解简短输入名称背后的用途、默认值和运行注意事项。
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Add this URL in MT5: Tools > Options > Expert Advisors > AllowInpWebRequestURL | "https://nfs.faireconomy.media" |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
DEFAULT: Scrap A + B + C + DInpStrategyMode | Scrap A + Scrap B + Scrap C + Scrap DAllEngines |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapA | RiskPerBalance |
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapA | 0.01 |
Risk Percent (%)InpRiskScrapA | 0.25 |
Risk per Balance: balance represented by base lotInpBalanceRefScrapA | 1000.0 |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapB | RiskPerBalance |
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapB | 0.01 |
Risk Percent (%)InpRiskScrapB | 0.25 |
Risk per Balance: balance represented by base lotInpBalanceRefScrapB | 1000.0 |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapC | RiskPerBalance |
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapC | 0.01 |
Risk Percent (%)InpRiskScrapC | 0.25 |
Risk per Balance: balance represented by base lotInpBalanceRefScrapC | 1000.0 |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Fixed Lot / Risk % / Risk per BalanceInpLotModeScrapD | RiskPerBalance |
Fixed Lot / base lot for Risk per BalanceInpFixedLotScrapD | 0.01 |
Risk Percent (%)InpRiskScrapD | 0.25 |
Risk per Balance: balance represented by base lotInpBalanceRefScrapD | 1000.0 |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Scrap A profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapA | FixedEntry |
Scrap B profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapB | FixedEntry |
Scrap C profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapC | FixedEntry |
Scrap D profile: Classic / Adaptive Entry / Wide Exit / Fixed EInpProfileScrapD | FixedEntry |
Adaptive Entry: adjust entry distance from recent closed tradesInpAdaptiveOffset | true |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Pause new entries around high-impact USD news (default OFF)InpUseNewsFilter | false |
Minutes before high-impact USD newsInpNewsMinutesBefore | 30 |
Minutes after high-impact USD newsInpNewsMinutesAfter | 30 |
Optional manual news-week risk reductionInpNewsWeekRiskMode | OFFNormalRisk |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Magic offset (0 = default; change only to run 2 copies on one aInpMagicOffset | 0 |
PRO Gold panel | FULL / COMPACT | DISABLED = fastestInpDashboardMode | ProGoldPanel |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Stop trading for the day after X% lossInpUseDailyLossLimit | false |
Max daily loss in % of day-start balanceInpDailyLossPercent | 4.0 |
Also close open EA positions when hitInpDailyLossClosePositions | true |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Delete EA pending orders X minutes before the Friday session clInpFridayCloseMinutes | 30 |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Scrap A directionInpDirectionScrapA | Buy and SellBuyAndSell |
Scrap B directionInpDirectionScrapB | Buy and SellBuyAndSell |
Scrap C directionInpDirectionScrapC | Buy and SellBuyAndSell |
Scrap D directionInpDirectionScrapD | Buy and SellBuyAndSell |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Scrap A exit: Profile / CustomInpExitModeScrapA | Profile exit (SL/TP/trailing of the selected profile)ProfileExit |
Scrap A custom Stop Loss (points)InpCustomSLScrapA | 500.0 |
Scrap A custom Take Profit (points)InpCustomTPScrapA | 1500.0 |
Scrap A custom Trail Start (points)InpCustomStartScrapA | 100.0 |
Scrap A custom Trail Distance (points)InpCustomDistScrapA | 250.0 |
Scrap A custom Trail Step (points)InpCustomStepScrapA | 50.0 |
Scrap B exit: Profile / CustomInpExitModeScrapB | Profile exit (SL/TP/trailing of the selected profile)ProfileExit |
Scrap B custom Stop Loss (points)InpCustomSLScrapB | 500.0 |
Scrap B custom Take Profit (points)InpCustomTPScrapB | 1500.0 |
Scrap B custom Trail Start (points)InpCustomStartScrapB | 100.0 |
Scrap B custom Trail Distance (points)InpCustomDistScrapB | 250.0 |
Scrap B custom Trail Step (points)InpCustomStepScrapB | 50.0 |
Scrap C exit: Profile / CustomInpExitModeScrapC | Profile exit (SL/TP/trailing of the selected profile)ProfileExit |
Scrap C custom Stop Loss (points)InpCustomSLScrapC | 500.0 |
Scrap C custom Take Profit (points)InpCustomTPScrapC | 1500.0 |
Scrap C custom Trail Start (points)InpCustomStartScrapC | 100.0 |
Scrap C custom Trail Distance (points)InpCustomDistScrapC | 250.0 |
Scrap C custom Trail Step (points)InpCustomStepScrapC | 50.0 |
Scrap D exit: Profile / CustomInpExitModeScrapD | Profile exit (SL/TP/trailing of the selected profile)ProfileExit |
Scrap D custom Stop Loss (points)InpCustomSLScrapD | 500.0 |
Scrap D custom Take Profit (points)InpCustomTPScrapD | 1500.0 |
Scrap D custom Trail Start (points)InpCustomStartScrapD | 100.0 |
Scrap D custom Trail Distance (points)InpCustomDistScrapD | 250.0 |
Scrap D custom Trail Step (points)InpCustomStepScrapD | 50.0 |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Scrap A slippage calculationInpSlippageScrapA | Medium - 50%SlippageMedium |
Scrap B slippage calculationInpSlippageScrapB | Medium - 50%SlippageMedium |
Scrap C slippage calculationInpSlippageScrapC | Medium - 50%SlippageMedium |
Scrap D slippage calculationInpSlippageScrapD | Medium - 50%SlippageMedium |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
News events: all high-impact USD / selected onlyInpNewsScope | All high-impact USD events (v3.5 behaviour)AllHighImpactUSD |
Selected: FOMC / Fed rate decision / press conferenceInpNewsFOMC | true |
Selected: CPIInpNewsCPI | true |
Selected: NFP / Unemployment / Avg Hourly EarningsInpNewsNFP | true |
Selected: PCEInpNewsPCE | true |
Selected: PPIInpNewsPPI | false |
Selected: GDPInpNewsGDP | false |
Selected: Retail SalesInpNewsRetail | false |
Selected: ISM Manufacturing / ServicesInpNewsISM | false |
下方为交付源码的初始参数,修改后请先检查并测试。
| 源码参数键 | 本版初始值 |
|---|---|
Comment display (execution always uses @MQLume)InpOrderComment | 显示文字 |
交付后的支持
产品持续维护期间,针对交付原版中可复现、与商品说明不符的问题,提供排查与修复支持。
支持期限:产品持续维护期间文件缺失、交付错误,以及声明环境中的原版编译故障。
请提供版本、参数、日志与复现步骤,以便确认并处理问题。
从随附指南开始学习;交付问题或可复现的软件缺陷,可联系我们协助处理。交易结果不作保证。
你可以阅读、修改和编译交付源码,用于自己的研究及本人交易账户。修改前请保留一份未经改动的交付原版。 未经单独书面授权,不得转售、再分发、公开发布、转授权源码或编译文件,也不得作为白标产品提供。交付源码不代表转让版权或第三方名称的所有权。
源代码是可复制的数字商品。一经发货,不接受改变主意、不再需要等个人原因退款。下单前请核对兼容性、内容与已披露限制。
填写邮箱、确认授权条款,即可下载免费 EA 源码包,无需付款。
选择需要的免费 EA 源码包。
确认商品和 US$0 总额。
确认授权条款并完成免费订单。
所有免费商品可一次下载为一个 ZIP,也可分别下载。
通过站内客服或邮件告诉我们您的需求。我们一起确认开发范围和实现方案,定制服务单独报价。
100% 认真对待每一笔订单,持续跟进交付与售后。
探索免费 EA 源码
MQL4 / MQL5 源码文件为 .mq4 / .mq5;EX4 / EX5 是编译程序。购买 EX4 或 EX5 并不自动包含源码。
仅供学习的示例。使用前请在 MetaEditor 中审阅并编译;这些示例不会下单。
想尝试另一种思路?选择可直接运行的 EA,或选择可探索与定制的源码。

源码 · MQ5 + EX5
将本地 Pending、Additional 系统与 Banks、Indicators 在线信号模块结合使用。



正在加载…
在你喜欢的平台,与 MQLume 保持连接。