Trading robot · MT5

Keltner Channel EMA Scalping Hybrid

by n30dyn4m1c

This MetaTrader 5 expert advisor enters trades on bar close using Keltner Channel band crosses filtered by an H1 EMA trend bias and optional ADX momentum check, reversing positions on opposite signals unless disabled.

GitHub stars1
Forks0
Last update7 months ago1 Apr 2026
LicenceNone stated

Overview

Keltner Channel EMA Scalping Hybrid supports ATR or swing stop losses, scaled partial take profits or fixed risk-reward targets, breakeven moves, and ATR trailing stops. Position sizing uses fixed lots or percentage risk with dynamic decay, daily loss limits, equity protection, spread and session filters, and news pauses. The README and code inputs show conflicting timeframe guidance between M5 and M1.

Details

Author

n30dyn4m1c on GitHub

Type

Trading robot

Markets

Gold, Forex, Crypto, Indices

Timeframes

M1-M5, M15-H1

Risk Profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input Parameters

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

NameTypeDefaultDescription
InpKeltnerPeriodint40Keltner EMA Period (increased for M1)
InpKeltnerMultiplierdouble2.5Keltner ATR Multiplier
InpATRPeriodint30ATR Period (increased for M1)
InpH1_EMAPeriodint20H1 EMA Period for Trend Bias
InpUseADXFilterbooltrueEnable ADX Momentum Filter
InpADXPeriodint14ADX Period
InpADXThresholddouble28.0ADX Minimum Threshold
InpSLTypeENUM_SL_TYPESL_ATRStop Loss Type
InpSL_ATR_Multiplierdouble1.8SL ATR Multiplier (wider for safety)
InpSwingLookbackint10Swing Lookback Bars (if Swing mode)
InpTPTypeENUM_TP_TYPETP_SCALEDTake Profit Type
InpTP1_Multiplierdouble1.5TP1 ATR Multiplier
Show all 40 inputs
NameTypeDefaultDescription
InpTP2_Multiplierdouble3.0TP2 ATR Multiplier
InpTP3_Multiplierdouble4.5TP3 ATR Multiplier
InpFixedRRdouble2.0Fixed Risk:Reward Ratio
InpUseTrailingStopbooltrueEnable Trailing Stop after TP1
InpTrailingATRdouble1.5Trailing Stop ATR Multiplier
InpUseBreakevenbooltrueMove SL to entry after TP1
InpLotTypeENUM_LOT_TYPELOT_RISKLot Calculation Type
InpFixedLotsdouble0.01Fixed Lot Size
InpRiskPercentdouble0.2Risk % per Trade (0.2% recommended for tiny accounts)
InpMinLotSizedouble0.01Minimum allowed lot size
InpUseDynamicRiskbooltrueEnable high-risk-at-start logic
InpInitialRiskPercentdouble1.0High starting risk % (0.5-2.0 recommended)
InpRiskDecayRatedouble1.01.0 = risk halves when equity doubles
InpMinRiskPercentdouble0.15Floor risk % (never goes below this)
InpDailyLossPercentdouble2.0Max daily loss % (0 = disable)
InpEquityProtectPercentdouble80.0Pause if equity < X% of start balance
InpSessionFilterbooltrueTrade only London+NY overlap (13:00-17:00 GMT)
InpNoAutoReverseboolfalseDisable auto-reverse on opposite signal
InpMaxConsecLossesint3Pause after this many losses in a row (0 = disable)
InpResetOnNewDaybooltrueReset loss counter every day
InpUseNewsFilterbooltrueEnable news avoidance
InpNewsMinutesBeforeint30Minutes before high-impact event to pause
InpNewsMinutesAfterint45Minutes after high-impact event to pause
InpMagicNumberint123456Magic Number
InpTradeCommentstringKeltnerSafeM1Trade Comment
InpSlippageint20Slippage (points)
InpCheckSpreadbooltrueEnable Spread Filter
InpMaxSpreadint40Maximum Spread (points)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone n30dyn4m1c/keltner-ema-scalper 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

Scalpflip EA

by anthonycdp
27 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

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro
9 stars

This MetaTrader 5 expert advisor collection provides multiple variants for scalping gold on the one-minute timeframe. It utilizes a combination of Stochastic Oscillator crossovers and linear regression analysis to identify trend quality and entry points. Trade management is handled through ATR-based dynamic stop loss a

MT5 Trading robot ScalpingTrend followingMean reversion

Snipe FX Pro

by NadirAliOfficial
8 stars

Snipe FX Pro is a MetaTrader 5 expert advisor designed for high-frequency tick scalping, primarily pre-configured for XAUUSD. It utilizes a virtual stealth execution system to manage entries and exits without placing hard stops on the broker's server until necessary. The EA enters trades based on price breakouts or pul

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 6 weeks ago MIT GitHub repository of Snipe FX Pro

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 10 months ago Custom licence GitHub repository of Simba Sniper EA

EA Ak47 Hybrid

by JonusNattapong
1 stars

EA Ak47 Hybrid is a modular scalping expert advisor for MetaTrader 5, specifically optimized for gold markets. It 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

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 1 year ago Custom licence GitHub repository of EA Ak47 Hybrid

More gold EAs

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers