Trading robot · MT5

EA Ak47 Hybrid

by JonusNattapong

EA Ak47 Hybrid is a modular scalping expert advisor for MetaTrader 5, specifically optimized for gold markets.

High risk

GitHub stars1
Forks3
Last update10 months ago7 Nov 2025
LicenceCustom licence

Overview

EA Ak47 Hybrid generates signals using the Relative Strength Index filtered by an Exponential Moving Average trend component. The EA includes secondary filters for ATR volatility, MACD momentum, and Stochastic oscillators to refine entries. It manages positions through ATR-based trailing stops, automatic breakeven settings, and time-based restrictions. Risk management options include fixed lot sizing, risk-per-trade calculations, and a martingale lot multiplier for recovery after losses.

Details

Author

JonusNattapong on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Scalping, Trend following, Martingale, Mean reversion

Markets

Gold, Forex

Timeframes

M1-M5, M15-H1

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
LotSizedouble1.0Lot size
UseFixedLotbooltrueUse fixed lot size
RiskPercentdouble1.0Risk percentage per trade
UseMartingalebooltrueEnable Martingale lot sizing after losses
MartingaleMultiplierdouble2.0Lot multiplier after each loss
MaxMartingaleLevelsint5Maximum consecutive losses before reset
StopLossint20Stop Loss in points (extreme risk)
TakeProfitint1000Take Profit in points (extreme reward)
RSIPeriodint21RSI period (increased for smoother signals in gold)
RSIOverboughtint80RSI overbought level (relaxed for more signals)
RSIOversoldint20RSI oversold level (relaxed for more signals)
UseTrendFilterboolfalseUse EMA trend filter
Show all 40 inputs
NameTypeDefaultDescription
EMAPeriodint50EMA period for trend filter (shortened for more signals)
UseATRFilterboolfalseUse ATR volatility filter to avoid low volatility trades
MinATRdouble0.5Minimum ATR value (in points) to allow trading
ATRPeriodFilterint14ATR period for volatility filter
UseMACDFilterboolfalseUse MACD for momentum confirmation
MACDFastint12MACD fast period
MACDSlowint26MACD slow period
MACDSignalint9MACD signal period
UseStochFilterboolfalseUse Stochastic for overbought/oversold confirmation
StochKint5Stochastic %K period
StochDint3Stochastic %D period
StochSlowingint3Stochastic slowing period
StochOverboughtint80Stochastic overbought level
StochOversoldint20Stochastic oversold level
MagicNumberint12345Magic number for orders
Slippageint15Slippage in points (increased for gold volatility)
UseTrailingStopbooltrueEnable trailing stop
TrailingModeENUM_TRAILING_MODETRAILING_MODE_ATRTrailing mode (ATR for volatility adaptation)
TrailingDistancedouble1.5Trailing distance (ATR multiplier)
TrailingStepdouble10.0Minimum step to move SL (points, increased for gold)
ATRPeriodint21ATR period for ATR mode (longer for gold trends)
ATRMultiplierdouble1.5ATR multiplier for ATR mode
UseBreakevenbooltrueEnable automatic breakeven
BreakevenTriggerdouble50.0Profit points to trigger breakeven (higher for gold)
BreakevenOffsetdouble5.0Offset from entry price (points, increased for gold)
PartialBreakevenbooltrueMove SL to breakeven + offset (enabled for gold)
UseTimeFilterboolfalseEnable time-based trading restrictions
TradingStartHourint2Start trading hour (0-23, early for gold session)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone JonusNattapong/EA-AK47Hybrid 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, and any .mqh files into the Include folder the code expects.
  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

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA

UltraHFT Expert Advisor

by NipunDilshanSenevirathne
1 stars

UltraHFT Expert Advisor is a high-frequency scalping robot for MetaTrader 5 that combines five strategy layers including EMA crossovers, RSI mean reversion, and volatility breakouts. It evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with h

MT5 Trading robot ScalpingMean reversionTrend following High risk

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

EA Scalper XAUUSD

by francomascareloai
236 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper

Scalpflip EA

by anthonycdp
25 stars

Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of Scalpflip 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