Trading robot · MT4

Axuusd Gold Advisor

by damozycodes

This expert advisor is designed specifically for trading gold on the MetaTrader 4 platform.

High risk

GitHub stars1
Forks0
Last update8 months ago22 Jan 2026
LicenceNone stated

Overview

Axuusd Gold Advisor employs a hybrid strategy approach, allowing users to toggle between trend following using moving average crossovers, mean reversion via RSI and Stochastic divergence, and breakout patterns. Trade management includes automated ATR-based stop losses, fixed reward-to-risk take profits, and partial position closing. The robot features detailed risk controls, such as a daily loss percentage cap, maximum concurrent trade limits, and a session filter to restrict operations to specific GMT hours.

Details

Author

damozycodes on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Mean reversion, Breakout, Indicator crossover, Martingale

Markets

Gold

Timeframes

M15-H1, H4 and above

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
TradeSymbolstringXAUUSDsymbol to trade
EntryTFENUM_TIMEFRAMESPERIOD_H4timeframe for entries
RiskPercentdouble2.0% risk per trade (kept default as requested)
DailyLossCapPctdouble20.0% loss cap for day
UseSessionFilterbooltrue
SessionStartGMTint8GMT session start
SessionEndGMTint17GMT session end
UseTrendFollowingbooltrue
UseMeanReversionboolfalse
UseBreakoutboolfalse
EMA_Fast_Periodint50
EMA_Slow_Periodint200
Show all 34 inputs
NameTypeDefaultDescription
RSI_Periodint14
StochKint14
StochDint3
StochSlowingint3
DivergenceLookbackint5lookback to check divergence (bars)
FibLookbackint100fib swing lookback for breakout
ATRPeriodint14
ATRMultiplierdouble2.0SL = ATR * ATRMultiplier (2x)
RR_Ratiodouble3.0TP = SL * RR_Ratio -> 3:1
BreakEvenPipsMoveint2buffer when moving to BE (in points)
MinLotsDecimalsint2
MinLotdouble0.01
maxlotdouble100.0
AllowTradingbooltrue
MagicNumberint20250924
CloseOppositesboolfalseclose opposite side positions before opening a new one
CloseAllOnDailyCapboolfalseclose all trades when daily loss cap hit
UsePartialClosebooltrue
PartialClosePctdouble50.0
TotalDailyRiskPctdouble8.0
MaxConcurrentTradesint3
MaxLossPerTradeUSDdouble200.0

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone damozycodes/AXUUSD from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 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

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA

Puer Tigris

by PuerTigris
1 stars

Puer Tigris is a MetaTrader 4 expert advisor that implements multiple entry strategies, primarily focusing on Bollinger Bands mean reversion. It features a martingale lot scaling system where position sizes are multiplied after a trade is closed, with a configurable limit on the number of recovery levels. The robot use

MT4 Trading robot MartingaleMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Puer Tigris

Vforce EA

by ggalboud
1 stars

Vforce EA is a versatile trading robot for MetaTrader 4 that utilizes a wide array of technical indicators to identify entry points. It integrates Stochastic, RSI, ADX, MACD, and Bollinger Bands, allowing traders to enable or disable specific signals via input parameters. The system manages risk through fixed lot sizin

MT4 Trading robot Indicator crossoverTrend followingMean reversion High risk
Updated 9 years ago None stated GitHub repository of Vforce EA

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk
2 stars

This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu

MT5 Trading robot Mean reversionBreakoutIndicator crossover

More trading robots

Need a broker for MT4?

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

Compare brokers