Trading robot · MT5

FakeMoonDog

by kenjiCRac

The FakeMoonDog EA is an MT5 robot for XAUUSD gold trading.

High risk

GitHub stars1
Forks0
Last update4 days ago15 Oct 2026
LicenceNone stated

Overview

FakeMoonDog switches between breakout mode for trending conditions using signals from Nova, Apex, Zenith, Pulse and Eclipse patterns, and grid mode for sideways markets with ADR or ATR spacing. Trades enter on breakouts or grid levels and exit at take profit targets or on profit lock conditions. Lot sizing starts at fixed base values or risk percent of balance, adjusts with a give-back rule if profits recover, and respects maximum and minimum lot limits. It includes break-even, trailing stop, and virtual profit lock features. The EA detects news events like NFP and CPI to react automatically. It shows a control panel and applies spread filters.

Details

Author

kenjiCRac on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Grid, Breakout

Markets

Gold

Timeframes

Any timeframe

Risk Profile

  • Opens a grid of orders: exposure builds up in a trend

Topics

trading-bot-monitoringtrading-strategy-simulation

Input Parameters

Read from fakemoondog_VERYnewstoo.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpBaseMagiclong770001
InpCommentstringBFH
InpDeviationint40
InpShowPanelbooltrue
InpPanelInTesterboolfalse
InpMaxSpreadPtsint50
InpLotModeENUM_LOT_MODELOT_FIXED
InpFixedLotdouble0.01
InpRiskPercentdouble1.0
InpMaxLotdouble0.10
InpMinLotdouble0.01
InpUseBalanceLotbooltrueON: lot follows the balance rule below
Show all 40 inputs
NameTypeDefaultDescription
InpLotBasedouble0.01lot while balance < threshold (or after give-back)
InpLotUpdouble0.02lot once balance >= threshold
InpBalThresholddouble500.0balance (account currency) that unlocks InpLotUp
InpGiveBackPctdouble50.0drop to base lot if this % of profit above threshold is given back
InpLotUseEquityboolfalsefalse = use closed balance, true = use equity
InpGoldPipPointsint10points per gold pip (usually 10 for XAU)
InpSL_GoldPipsint20
InpTP_Apex_GPint140
InpTP_Other_GPint150
InpPendingOffsetGPint5
InpPendingExpiryBarsint12
InpUseProfitLockbooltrue
InpLockActivateMoneydouble1.0
InpLockPercentdouble50.0
InpUseBreakEvenTrailboolfalse
InpBE_StartGPint30
InpBE_LockGPint5
InpTrailStartGPint50
InpTrailStepGPint20
InpMod_Novabooltrue
InpMod_Apexbooltrue
InpMod_Zenithbooltrue
InpMod_Pulsebooltrue
InpMod_Eclipsebooltrue
InpNova_Barsint24
InpApex_Barsint18
InpZenith_Fastint12
InpZenith_Slowint36

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone kenjiCRac/Expert_Advisor_tradingfortrendy from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar Expert Advisors

EA XAUUSD Premium

by diditgravatar
4 stars

This MetaTrader 5 expert advisor is designed for gold trading, utilizing a multi-timeframe strategy across the M15, H1, and H4 charts. It integrates technical indicators including ADX, RSI, and Moving Averages to identify trend-following and breakout opportunities. Risk controls include dynamic lot sizing based on acco

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of EA XAUUSD Premium

Gold Scalper Bot

by bigthreeatone
1 stars

This MetaTrader 5 expert advisor is designed for aggressive trading on XAUUSD, focusing on the 5-minute and 15-minute timeframes. It utilizes Fibonacci retracements and swing high/low breakouts to identify entries across three selectable modes: scalp, swing, and trend following. The system manages up to three positions

MT5 Trading robot ScalpingBreakoutTrend following High risk
Updated 3 months ago None stated GitHub repository of Gold Scalper Bot

Prem Gold Advisor

by Premkumar238
1 stars

Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 8 weeks ago None stated GitHub repository of Prem Gold Advisor

Bakome Bitcoin EA

by BAKOME-Hub
1 stars

Bakome Bitcoin EA is a trend-following robot optimized for trading BTCUSD on the MetaTrader 5 platform. It generates trade signals using an exponential moving average crossover combined with price breakouts on the H1 timeframe. The system features a grid recovery module that adds positions with a lot multiplier when tr

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 5 months ago MIT GitHub repository of Bakome Bitcoin EA

Ajip 3 EA

by pijarajip7
1 stars

Ajip 3 EA is a MetaTrader 5 robot designed to trade trends identified by a 200-period Simple Moving Average. It monitors price action across two timeframes, typically using M15 for trend identification and M1 for execution. The strategy involves opening multiple layers of positions based on candle breaks, categorized i

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Ajip 3 EA
1 stars

This high-frequency expert advisor for MetaTrader 5 implements a grid-based strategy using pending stop orders across major forex pairs and gold. It dynamically places buy and sell stops at calculated distances from the current price, adjusting them based on market volatility and spread calculations. The system manages

MT5 Trading robot GridBreakoutTrend following High risk
Updated 10 months ago None stated GitHub repository of High Frequency Grid EA

More trading robots

Need a Broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers