Trading robot · MT5

Smart Trader Forex

by joseph8848

Smart Trader Forex is an automated expert advisor for MetaTrader 5 that employs dual strategies for trend following and mean-reversion scalping.

GitHub stars1
Forks1
Last update3 months ago24 Jun 2026
LicenceMIT

Overview

Smart Trader Forex monitors over 15 currency pairs simultaneously using a multi-symbol scanner and a signal quality filter. Risk management includes ATR-based stop losses, trailing stops, and equity protection via daily loss and drawdown limits. The system features a loss recovery engine and an optional learning module for signal optimization. It is designed to work alongside a Python-based web dashboard for real-time monitoring of trading activities.

Details

Author

joseph8848 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Scalping, Mean reversion, SMC / ICT / price action

Markets

Forex

Timeframes

M15-H1, M1-M5

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

NameTypeDefaultDescription
InpStrategyTypeENUM_STRATEGY_TYPESTRATEGY_MULTIStrategy Type
InpTimeframeENUM_TIMEFRAMESPERIOD_H1Trading Timeframe
InpMinSignalQualitydouble30.0Minimum Signal Quality (0-100) - OPTIMIZED
InpRequireGoldenHoursboolfalseOnly Trade During Golden Hours
InpUseRecoverySystembooltrueEnable Loss Recovery System
InpUseLearningEnginebooltrueEnable Learning Engine
InpBrokerGMTOffsetint0Broker GMT Offset
InpRiskPercentdouble1.0Base Risk Per Trade (%)
InpMaxDailyLossdouble5.0Max Daily Loss (%)
InpMaxDrawdowndouble20.0Max Drawdown (%)
InpMaxOpenTradesint3Max Open Trades
InpSLTypeENUM_SL_TYPESL_ATRStop Loss Type
Show all 32 inputs
NameTypeDefaultDescription
InpFixedSLPipsint50Fixed SL (pips) - used if SL_FIXED
InpATRMultiplierdouble2.0ATR Multiplier - used if SL_ATR
InpTPRatiodouble2.0Take Profit (Risk/Reward Ratio)
InpUseTrailingStopbooltrueUse Trailing Stop
InpTrailingStartPipsint30Trailing Start (pips)
InpTrailingStepPipsint10Trailing Step (pips)
InpFastEMAPeriodint12Fast EMA Period
InpSlowEMAPeriodint26Slow EMA Period
InpADXPeriodint14ADX Period
InpADXMinTrenddouble25.0ADX Minimum for Trend
InpRSIPeriodint14RSI Period
InpRSIOversolddouble30.0RSI Oversold Level
InpRSIOverboughtdouble70.0RSI Overbought Level
InpMACDFastint12MACD Fast Period
InpMACDSlowint26MACD Slow Period
InpMACDSignalint9MACD Signal Period
InpATRPeriodint14ATR Period
InpMagicNumberulong123456Magic Number
InpSlippageint10Slippage (points)
InpEnableAlertsbooltrueEnable Trade Alerts

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone joseph8848/smarttrader-forex 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

Gold Liquidity Scalper

by amirmohamadkazemi0933
1 stars

This MetaTrader 4 expert advisor is designed for XAUUSD scalping on the M1 timeframe. It switches logic based on market regimes: in trending markets, it follows the higher timeframe direction using EMA reversals and breakout entries, while in ranging markets, it executes trades based on liquidity sweeps at price extrem

MT4 Trading robot ScalpingSMC / ICT / price actionTrend following
Updated 2 months ago None stated GitHub repository of Gold Liquidity Scalper

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

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