Trading robot · MT5

UltraHFT Expert Advisor

by NipunDilshanSenevirathne

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.

High risk

GitHub stars1
Forks4
Last update5 months ago3 Apr 2026
LicenceMIT

Overview

UltraHFT Expert Advisor evaluates market conditions on every tick, entering trades when multiple signals align. The system employs strict risk controls with hard stop losses, take profits, and trailing stops. To protect the account, it features a daily drawdown limit, trade throttling, and filters for high spreads or specific sessions. It is optimized for low-latency environments and raw spread pairs.

Details

Author

NipunDilshanSenevirathne on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Scalping, Mean reversion, Trend following, Breakout, Martingale

Markets

Forex, Gold

Timeframes

M1-M5

Risk profile

  • Uses martingale lot scaling: losses can grow fast

EA files

Input parameters

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

NameTypeDefaultDescription
RiskPercentdouble1.0Risk % per trade
MaxDailyDrawdowndouble5.0Max daily DD %
MaxOpenTradesdouble10Max simultaneous trades
TP_Pipsdouble3.0Take Profit (pips)
SL_Pipsdouble1.5Stop Loss (pips)
TrailingStartdouble1.5Trailing start (pips)
TrailingStepdouble0.3Trailing step (pips)
SignalTimeoutMsint200Signal re-check (ms)
MaxTradesPerMinuteint60Throttle (trades/min)
UseTickTradingbooltrueTrade every valid tick
UseSpreadFilterbooltrueFilter high spreads
MaxSpreadPipsdouble0.5Max allowed spread
Show all 40 inputs
NameTypeDefaultDescription
UseScalpStrategybooltrueMicro-scalp (1M)
UseMomentumStratbooltrueMomentum burst
UseReversionStratbooltrueMean reversion
UseOrderFlowbooltrueBid/Ask pressure
UseVolatilityBreakbooltrueVolatility breakout
EMA_Fastint3EMA fast period
EMA_Midint8EMA mid period
EMA_Slowint21EMA slow period
RSI_Periodint7RSI period
RSI_OBint72RSI overbought
RSI_OSint28RSI oversold
BB_Periodint10Bollinger period
BB_Devdouble1.5Bollinger deviation
ATR_Periodint5ATR period
MACD_Fastint5MACD fast
MACD_Slowint13MACD slow
MACD_Signalint3MACD signal
Stoch_Kint5Stochastic K
Stoch_Dint3Stochastic D
Stoch_Slowint3Stochastic slowing
CCI_Periodint10CCI period
TradeLondonbooltrueLondon session
TradeNewYorkbooltrueNY session
TradeTokyoboolfalseTokyo session
TradeSydneyboolfalseSydney session
AvoidNewsMinutesbool5Pause N min around news
MagicNumberlong20250402EA Magic Number
TradeCommentstringUltraHFT

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone NipunDilshanSenevirathne/UltraHFT_Expert-Advisor 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

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

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

Prop Firm EA Fleet

by cgemise971
20 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 9 months ago None stated GitHub repository of Prop Firm EA Fleet

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

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

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

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