
免費 MoonDog EA MT5 4.21:12 月黃金回測中 +36,922.04%
在 MQLume 索取完整的 MoonDog EA 原始碼,然後探索其 +36,922.04% 歷史回報、MoonLock 保護和五種策略設定。

在 MQLume 索取完整的 MoonDog EA 原始碼,然後探索其 +36,922.04% 歷史回報、MoonLock 保護和五種策略設定。
原始碼在手,你的想法就能超越參數面板。
在 MetaEditor 中開啟原始碼,即可開始開發。專案採用獨立程式碼或 MT5 已自帶的標準庫。
自由學習、定製並用於自己的交易帳戶。原始碼在手,讓你的想法能夠持續改進。
每個原始碼專案只需購買一次。MQLume 不按啟用次數或使用次數額外收費。
把想法告訴 AI 程式設計助手,以可編輯的 MQL5 專案為起點,由你掌握每一次修改的方向。
試著提出交易時段過濾、更清晰的日誌或新的風險規則。
讀懂 AI 提議的程式碼,核對邏輯,再用 MetaEditor 編譯。
對比回測結果,再經過模擬盤測試,最後決定是否實盤使用。
可使用你選擇的 AI 工具;商品不包含 AI 訂閱。請審閱生成程式碼並保護原始碼隱私。更好的工具幫助你完善流程,但不保證交易盈利。
產品介紹
讀懂邏輯,定製你的策略。MoonDog 集合突破入場、MoonLock 利潤保護、固定或百分比倉位、交易時段和新聞控制。可以從預設五個策略開始,探索另外四個可選模組,也可以配合 AI 程式設計助手實現並測試自己的改動。兩個 ONNX 模型和麵板圖片均已嵌入,無需另行下載模型或訂閱 API。
專為 MetaTrader 5 打造。完整原始碼、清晰的參數和實用文件,讓你掌握下一次開發的主動權。
交易配置
讓你的黃金交易想法從這裡開始。免費獲取完整可編輯的 MoonDog MT5 原始碼:九個策略模組、本地 ONNX 過濾與靈活的交易管理,整合於一個獨立檔案。
以上為市場頁面公佈的規格,不保證適合你的資金狀況或帶來收益。
瀏覽專案中的 50 行真實 MQL5 原始碼,在編輯器內向下滾動以繼續探索。
bool MQLumeStrategyEnabled(const int module,const MQLumeQuickSetup quickSetup,const bool &enabled[]){ if(module<0 || module>8) return false; if(module>=ArraySize(enabled) || !enabled[module]) return false; if(quickSetup==MQLumeSetup_Advanced) return true; if(quickSetup==MQLumeSetup_EightModuleLocks) return module!=5; return module<5 || quickSetup==MQLumeSetup_AllNine || quickSetup==MQLumeSetup_AllNineModuleLocks;}int MQLumeCurrentMagicModule(const long magic,const long currentBase, const MQLumeQuickSetup quickSetup,const bool &enabled[]){ long identity=magic-currentBase; if(identity>=1 && identity<=5) return (int)identity-1; if(identity<6 || identity>9) return -1; int module=(int)identity-1; if(quickSetup==MQLumeSetup_Advanced) { const bool addOns[]={MoonAddOnA,MoonAddOnB,MoonAddOnC,MoonAddOnD}; return addOns[module-5] ? module : -1; } return quickSetup==MQLumeSetup_AllNine || quickSetup==MQLumeSetup_AllNineModuleLocks || quickSetup==MQLumeSetup_EightModuleLocks ? module : -1;}int MQLumeRecognizeMagic(const long magic,const long currentBase,const int previousBase, const int legacyBase,const MQLumeQuickSetup quickSetup,const bool &enabled[]){ int module=MQLumeCurrentMagicModule(magic,currentBase,quickSetup,enabled); if(module>=0) return module; long identity=magic-(long)previousBase; if(previousBase>0 && identity>=1 && identity<=5) return (int)identity-1; if(legacyBase<=0) return -1; identity=magic-(long)legacyBase; if(identity<9 || identity>15) return -1; switch((int)identity) { case 9: return 1; case 12: return 0; case 13: return 4; case 14: return 2; case 15: return 3; } return -1;}// MQLume | https://mqlume.com// Strategy configurationbool MQLumeLoadStrategyConfig(const int module,const MQLumeQuickSetup quickSetup,const bool tunedExits, const double stopLossPips,const double apexTargetPips,你的下一次創造,從這裡開始。
完整原始碼、實用文件與參考檔案,幫助你理解、定製並測試自己的 EA。
100% 原始碼指本商品可編輯實現完整交付,並非只交付 EX5,亦不以隱藏策略模組代替原始碼。
版本 4.22 · 個人使用許可隨附編譯資源;請保持相對路徑。
隨附編譯資源;請保持相對路徑。
隨附編譯資源;請保持相對路徑。
隨附編譯資源;請保持相對路徑。
隨附編譯資源;請保持相對路徑。
與原始碼配套的編譯版 EA;修改 MQ5 後請重新編譯。
完整、可編輯的單檔案原始碼。閱讀邏輯、自由定製,並編譯自己的 EA。
PARAMETERS.pdf 說明目前輸入、預設值與用法。編譯時請保留全部隨附子資料夾。
MT5 參數預設;使用前請核對設定。
簡明的網站介紹、安裝與編譯指南,以及使用許可和客服資訊。
探索、定製並測試你的 EA,瞭解它在不同市場環境下的表現。從交付指南入手,逐步建立適合自己參數設定的測試流程。
版本 v4.22 · 145
下方為交付原始碼的初始參數,修改後請先檢查並測試。
下列初始值來自交付原始碼。調整設定前,請閱讀隨附的參數指南。 EA 發出的訂單註解統一使用 @MQLume,並保留必要的策略識別資訊。註解參數用於相容已儲存設定,不能移除執行時的品牌識別。
結合 PARAMETERS.pdf 參數指南與 README.txt 使用說明,了解簡短輸入名稱背後的用途、預設值和運作注意事項。
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
SET 1 Default / SET 2 Adaptive / SET 3 All 9 / SET 4 All 9 Adaptive / SET 5 No OrbitMoonQuickSetup | 0MQLumeSetup_Default |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Recommended set link [check after every update]RecommendedSetLink | https://mqlume.com |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
AI profile: Conservative [default] / More Trades / Without ONNXAiTradingMode | 1MQLumeAi_Conservative |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Sizing: AUTO=BT 2% / live fixed; select another mode to overridMoonSizing | 5MQLumeSizing_Auto |
Fixed lot [FIXED mode, or AUTO on live/demo charts]MoonFixedLot | 0.01 |
Risk per trade [%; CUSTOM RISK mode only]MoonCustomRiskPercent | 2.0 |
Maximum lot for % risk [0 = no cap]MaximumRiskLot | 0.0 |
Adaptive sizing [manual % risk + ONNX; not AUTO, Growth or fixeAdaptivePositionSize | 0MQLumeAdaptive_Normal |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Initial stop loss [gold pips; new orders]MoonStopLossPips | 20.0 |
How to protect open-trade profitMoonProtectionMode | 2MQLumeProtection_VirtualOnly |
Remember virtual protection after restartPersistVirtualTrailing | true |
Enable MoonLock profit protectionMoonLockEnabled | true |
Start MoonLock at profit per 0.01 lot [account money]MoonLockStartPer001 | 1.0 |
Choose Classic / Gradual, with or without Spike ShieldMoonLockProfile | 1MQLumeLock_ClassicShield |
Classic profiles: share of peak profit to protect [%; default 5MoonLockPercent | 50.0 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Use my BE and trailing when MoonLock is OFFUseCustomBreakEvenTrailing | false |
Move to BE after this profit [gold pips]CustomBreakEvenStartPips | 10.0 |
At BE, protect this many profit pipsCustomBreakEvenLockPips | 1.0 |
Start trailing after this profit [gold pips]CustomTrailingStartPips | 20.0 |
Keep trailing this far behind price [gold pips]CustomTrailingDistancePips | 10.0 |
Move trailing only after this further improvement [gold pips]CustomTrailingStepPips | 2.0 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Moon Apex take profit [gold pips]MoonApexTargetPips | 140.0 |
Other four modules: take profit [gold pips]MoonCoreTargetPips | 150.0 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Enable Moon NovaMoonNova | true |
Enable Moon ApexMoonApex | true |
Enable Moon ZenithMoonZenith | true |
Enable Moon PulseMoonPulse | true |
Enable Moon EclipseMoonEclipse | true |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Only when QUICK SETUP = Advanced CustomUsePerModuleTunedExits | true |
Moon Orbit add-on [M30 pivots; OFF = default]MoonAddOnA | false |
Moon Halo add-on [H1 wide pivots; OFF = default]MoonAddOnB | false |
Moon Titan add-on [H4 pivots; OFF = default]MoonAddOnC | false |
Moon Comet add-on [H1 fast pivots; OFF = default]MoonAddOnD | false |
Add-ons ON: max open positions in one direction, all modules [0MaxSameDirectionPositions | 8 |
Allow entries on NETTING accounts [V4.19 is validated on hedginAllowNettingAccount | false |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
MoonDog magic number [unique for each EA chart]MoonTradeIdentity | 33300 |
Manage previous magic number [0 = off]PreviousMoonTradeIdentityBase | 0 |
Manage older-format magic number [0 = off]PreviousMoonDogTradeIdentity | 0 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Allow new entries only within set hoursUseTradingHours | false |
Entry start hour [broker time, 0-23]TradingStartHour | 2 |
Entry start minute [0-59]TradingStartMinute | 0 |
Entry end hour [broker time, 0-23]TradingEndHour | 19 |
Entry end minute [0-59]TradingEndMinute | 0 |
Delete pending orders outside entry hoursDeletePendingOutsideHours | false |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Pause entries and remove pending for the weekendWeekendShieldEnabled | true |
Weekend times: automatic / customWeekendScheduleMode | 0MQLumeWeekend_Automatic |
AUTO: pause minutes before Friday closeWeekendFridayCutoffMinutes | 240 |
AUTO: wait minutes after weekly reopeningWeekendReopenDelayMinutes | 240 |
AUTO fallback: Friday pause hour [broker time]WeekendFallbackFridayHour | 20 |
AUTO fallback: Monday resume hour [broker time]WeekendFallbackMondayHour | 5 |
CUSTOM: Friday pause hour [broker time]WeekendCustomFridayHour | 20 |
CUSTOM: Friday pause minuteWeekendCustomFridayMinute | 0 |
CUSTOM: Monday resume hour [broker time]WeekendCustomMondayHour | 5 |
CUSTOM: Monday resume minuteWeekendCustomMondayMinute | 0 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
News currency [USD for gold; both news filters]NewsCurrency | USD |
Enable separate NFP, CPI and FOMC protectionUseMajorEventControl | true |
Allow trading during NFP [false = pause]TradeDuringNFP | false |
NFP: pause minutes before releaseNFPMinutesBefore | 30 |
NFP: wait minutes after releaseNFPMinutesAfter | 60 |
Allow trading during CPI [false = pause]TradeDuringCPI | false |
CPI: pause minutes before releaseCPIMinutesBefore | 30 |
CPI: wait minutes after releaseCPIMinutesAfter | 60 |
Allow trading during FOMC [false = pause]TradeDuringFOMC | false |
FOMC: pause minutes before releaseFOMCMinutesBefore | 60 |
FOMC: wait minutes after releaseFOMCMinutesAfter | 150 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Enable the general economic-news filterMoonCalendarShieldEnabled | false |
General filter: block high-impact newsFilterHighImpactNews | true |
General filter: also block medium-impact newsFilterModerateImpactNews | false |
General filter: pause minutes before newsNewsMinutesBefore | 60 |
General filter: wait minutes after newsNewsMinutesAfter | 30 |
Both news filters: delete pending during pauseDeletePendingBeforeNews | true |
Calendar unavailable: pause NEW entries [pending orders stay unNewsFailClosed | false |
Also protect verified NFP/CPI/FOMC dates [check expiry in ExperUseBuiltInMajorNewsBackup | true |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Wide spread: pause entries and remove pendingWideSpreadProtectionEnabled | false |
Spread limit [MoonDog points; 200 = 20 gold pips]WideSpreadMaxPoints | 200.0 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Enable a daily loss limit for normal accountsNormalDailyLimitEnabled | false |
Daily loss limit [% of day-start equity]NormalMaxDailyLossPercent | 20.0 |
Close MoonDog positions at the daily loss limitNormalDailyClosePositions | true |
Delete MoonDog pending at the daily loss limitNormalDailyDeletePendings | true |
Saved daily-limit profile nameNormalDailyProtectionId | MAIN |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Enable prop-firm protectionPropFirmActive | false |
Saved challenge profile namePropFirmChallengeId | MAIN |
Challenge starting balance [0 = automatic]PropFirmStartingBalance | 0.0 |
Challenge profit target [%]PropFirmProfitTargetPercent | 8.0 |
Firm's maximum daily loss [%]PropFirmMaxDailyLossPercent | 5.0 |
Firm's maximum total drawdown [%]PropFirmMaxTotalDrawdownPercent | 10.0 |
Stop before the firm limit [percentage points]PropFirmSafetyBufferPercent | 0.5 |
Pause new entries at the profit targetPropFirmStopAtProfitTarget | true |
Delete pending at prop loss or profit-target limitsPropFirmDeletePendingsWhenBlocked | true |
Close MoonDog positions at a loss-limit triggerPropFirmClosePositionsOnLimit | true |
Close at profit target [also enable target entry pause]PropFirmClosePositionsAtTarget | false |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Total drawdown: fixed / highest balance / equityPropFirmDrawdownMode | 0MQLumePropDrawdown_Fixed |
Daily starting reference: balance / equityPropFirmDailyBaseline | 1MQLumePropBaseline_Equity |
Daily loss allowance: initial / daily referencePropFirmDailyLossAmount | 0MQLumePropDailyAmount_Initial |
Trailing allowance: fixed amount / % of peakPropFirmTrailingAmount | 0MQLumePropTrailing_Fixed |
Firm reset hour [broker time, 0-23]PropFirmDailyResetHour | 0 |
Firm reset minute [0-59]PropFirmDailyResetMinute | 0 |
Max positions + pending [0 = strategy limit]PropFirmMaximumExposureSlots | 0 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Grow the fixed lot as the account growsLotScalingEnabled | false |
Growth starting balance [0 = save automatically]LotScalingBaseBalance | 0.0 |
Account growth needed for each lot increaseLotScalingBalanceStep | 500.0 |
Lot added at each growth stepLotScalingLotStep | 0.01 |
Maximum lot from automatic growthLotScalingMaxLot | 0.03 |
Use equity for growth [false = balance]LotScalingUseEquity | false |
Keep the highest reached growth levelLotScalingOnlyUp | false |
Remember the growth level after restartLotScalingPersistState | true |
Saved lot-growth profile nameLotScalingStateId | MAIN |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Order comment (fixed to @MQLume)OrderCommentText | @MQLume |
Append module number to the trade labelAppendModuleToComment | false |
Legacy option; fixed comment policy takes precedencePropFirmBlankOrderComment | false |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Measure slippage and enable its panelShowExecutionComparison | true |
Closed trades before an overall ratingExecutionMinimumTrades | 10 |
EXCELLENT: max one-way slippage [gold price]ExecutionExcellentMax | 0.05 |
GOOD: max one-way slippage [gold price]ExecutionGoodMax | 0.15 |
NORMAL: max one-way slippage [gold price]ExecutionNormalMax | 0.35 |
POOR: max one-way slippage [higher = BAD]ExecutionPoorMax | 0.75 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Open full panel on startup [OFF = lightweight; use Show panel]MoonDashboardVisible | false |
Panel size [smaller number = smaller panel]MoonDashboardScale | 1.1 |
Show MoonDog startup imageShowLaunchSplash | true |
Startup image duration [seconds]LaunchSplashSeconds | 3 |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Reduce drawing during backtestsFastBacktest | true |
Save local review log [no auto-training]LocalLearningLogEnabled | false |
INTERNAL calendar helper: always leave empty on your trading chCalendarWorkerSession |
下方為交付原始碼的初始參數,修改後請先檢查並測試。
| 原始碼參數鍵 | 本版初始值 |
|---|---|
Independent strategy sizingModuleSizingMode | 0MQLumeModuleSizing_Global |
Nova: lots or risk percent; zero uses global sizingMoonNovaSizingOverride | 0.0 |
Apex: lots or risk percent; zero uses global sizingMoonApexSizingOverride | 0.0 |
Zenith: lots or risk percent; zero uses global sizingMoonZenithSizingOverride | 0.0 |
Pulse: lots or risk percent; zero uses global sizingMoonPulseSizingOverride | 0.0 |
Eclipse: lots or risk percent; zero uses global sizingMoonEclipseSizingOverride | 0.0 |
Orbit: lots or risk percent; zero uses global sizingMoonOrbitSizingOverride | 0.0 |
Halo: lots or risk percent; zero uses global sizingMoonHaloSizingOverride | 0.0 |
Titan: lots or risk percent; zero uses global sizingMoonTitanSizingOverride | 0.0 |
Comet: lots or risk percent; zero uses global sizingMoonCometSizingOverride | 0.0 |
Close portions at cumulative profit targetsMoonPartialTakeProfit | false |
Keep MoonLock active during partial exitsMoonPartialKeepMoonLock | true |
TP1 trigger [gold pips]MoonPartialTarget1Pips | 35.0 |
TP1 share of original volume [%]MoonPartialPercent1 | 25.0 |
TP2 trigger [gold pips]MoonPartialTarget2Pips | 50.0 |
TP2 share of original volume [%]MoonPartialPercent2 | 25.0 |
TP3 trigger [gold pips]MoonPartialTarget3Pips | 65.0 |
TP3 share of original volume [%]MoonPartialPercent3 | 25.0 |
Allow new Orbit entries in enabled SET profilesMoonOrbitEntries | true |
Allow new Halo entries in enabled SET profilesMoonHaloEntries | true |
Allow new Titan entries in enabled SET profilesMoonTitanEntries | true |
Allow new Comet entries in enabled SET profilesMoonCometEntries | true |
交付後的支援
產品持續維護期間,針對交付原版中可復現、與商品說明不符的問題,提供排查與修復支援。
支援期限:產品持續維護期間檔案缺失、交付錯誤,以及宣告環境中的原版編譯故障。
請提供版本、參數、日誌與復現步驟,以便確認並處理問題。
從隨附指南開始學習;交付問題或可復現的軟體缺陷,可聯絡我們協助處理。交易結果不作保證。
你可以閱讀、修改和編譯交付原始碼,用於自己的研究及本人交易帳戶。修改前請保留一份未經改動的交付原版。 未經單獨書面授權,不得轉售、再分發、公開發布、轉授權原始碼或編譯檔案,也不得作為白標產品提供。交付原始碼不代表轉讓版權或第三方名稱的所有權。
原始碼是可複製的數字商品。一經發貨,不接受改變主意、不再需要等個人原因退款。下單前請核對相容性、內容與已披露限制。
填寫郵箱、確認授權條款,即可下載免費 EA 原始碼包,無需付款。
選擇需要的免費 EA 原始碼包。
確認商品和 US$0 總額。
確認授權條款並完成免費訂單。
所有免費商品可一次下載為一個 ZIP,也可分別下載。
透過站內客服或電子郵件告訴我們您的需求。我們一起確認開發範圍與實作方案,客製服務另行報價。
100% 認真對待每一筆訂單,持續跟進交付與售後。
探索免費 EA 原始碼
MQL4 / MQL5 原始碼檔案為 .mq4 / .mq5;EX4 / EX5 是編譯程式。購買 EX4 或 EX5 並不自動包含原始碼。
僅供學習的示例。使用前請在 MetaEditor 中審閱並編譯;這些示例不會下單。
正在載入…
在你喜歡的平台,與 MQLume 保持連結。