Trading robot ยท MT5

Advanced MQL5 Trading System

by ns-vikas

This MetaTrader 5 expert advisor is a modular trading system designed for XAUUSD scalping.

GitHub stars7
Forks1
Last update1 year ago10 Sep 2025
LicenceNone stated

Overview

Advanced MQL5 Trading System utilizes a multi-engine architecture to separate market analysis, risk management, and execution logic. The robot generates entry signals based on technical indicators across multiple timeframes, requiring a minimum confidence score for execution. Risk management features include ATR-based position sizing, maximum daily drawdown limits, and constraints on concurrent trades. It manages exits through volatility-adjusted stop loss and take profit levels, while providing extensive logging for performance analysis.

Details

Author

ns-vikas on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Scalping, Trend following

Markets

Gold

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 main_controller.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpTradingEnabledbooltrueEnable Trading
InpEmergencyStopboolfalseEmergency Stop All Trading
InpMagicNumberint12345Magic Number
InpTradeCommentstringAdvanced_EA_v1.0Trade Comment
InpMaxRiskPerTradedouble0.5Max Risk Per Trade (%)
InpMaxDailyDrawdowndouble5.0Max Daily Drawdown (%)
InpMaxConcurrentTradesint3Max Concurrent Trades
InpMaxTradesPerDayint10Max Trades Per Day
InpEnableScalperbooltrueEnable Scalper Strategy
InpMinConfidencedouble0.70Minimum Signal Confidence
InpUseTrendFilterbooltrueUse Trend Filter
InpUseTimeFilterbooltrueUse Time Filter
Show all 15 inputs
NameTypeDefaultDescription
InpEnableLoggingbooltrueEnable Data Logging
InpLogMarketDataboolfalseLog Market Data
InpLogLevelint2Log Level (0=Error, 1=Warning, 2=Info, 3=Debug)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone ns-vikas/trading-bot-mql5 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

EA Scalper XAUUSD

by francomascareloai
237 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
42 stars

This Expert Advisor for MetaTrader 5 is specifically designed for XAUUSD trading on the M1 timeframe. It utilizes a hybrid strategy combining classic technical indicators like RSI, Moving Averages, and ATR with an OpenAI API integration for signal validation. The robot features an on-chart dashboard for telemetry and i

MT5 Trading robot ScalpingTrend followingAI / machine learning
Updated 5 months ago None stated GitHub repository of Gold EA MT5 With OpenAI

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

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

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

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