Trading robot · MT5

Price Action EA

by Covenantmondei

This MetaTrader 5 robot executes trades based on price behavior and technical indicators.

GitHub stars1
Forks1
Last update1 year ago24 Aug 2025
LicenceNone stated

Overview

Price Action EA utilizes the Relative Strength Index to identify overbought and oversold conditions while incorporating breakout and candle pattern logic. The expert advisor includes flexible risk management, offering fixed lot sizes or percentage-based positioning relative to account balance or equity. It features volatility-based exits using Average True Range multipliers for stop-loss and take-profit levels. Notable features include trading hour restrictions, maximum spread filters, and partial close functionality. The README is missing.

Details

Author

Covenantmondei on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Mean reversion, Breakout, SMC / ICT / price action

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
Comment_0string==========EA-Specific Parameters
RSIPeriodint14RSI period
RSIOverboughtdouble80RSI overbought level
RSIOversolddouble20RSI oversold level
RSIPriceENUM_APPLIED_PRICEPRICE_CLOSERSI applied price
Comment_1string==========Trading Hours Settings
UseTradingHoursboolfalseLimit trading hours
TradingHourStartENUM_HOURh07Trading start hour (Broker server hour)
TradingHourEndENUM_HOURh19Trading end hour (Broker server hour)
Comment_2string==========ATR Settings
ATRPeriodint100ATR period
ATRTimeFrameENUM_TIMEFRAMESPERIOD_CURRENTATR timeframe
Show all 40 inputs
NameTypeDefaultDescription
ATRMultiplierSLdouble2ATR multiplier for stop-loss
ATRMultiplierTPdouble3ATR multiplier for take-profit
Comment_astring==========Risk Management Settings
RiskDefaultSizeENUM_RISK_DEFAULT_SIZERISK_DEFAULT_FIXEDPosition size mode
DefaultLotSizedouble0.1Position size (if fixed or if no stop loss defined)
RiskBaseENUM_RISK_BASERISK_BASE_BALANCERisk base
MaxRiskPerTradeint2Percentage to risk each trade
MinLotSizedouble0.01Minimum position size allowed
MaxLotSizedouble100Maximum position size allowed
MaxPositionsint1Maximum number of positions for this EA
Comment_bstring==========Stop-Loss and Take-Profit Settings
StopLossModeENUM_MODE_SLSL_FIXEDStop-loss mode
DefaultStopLossint0Default stop-loss in points (0 = no stop-loss)
MinStopLossint0Minimum allowed stop-loss in points
MaxStopLossint5000Maximum allowed stop-loss in points
TakeProfitModeENUM_MODE_TPTP_FIXEDTake-profit mode
DefaultTakeProfitint0Default take-profit in points (0 = no take-profit)
MinTakeProfitint0Minimum allowed take-profit in points
MaxTakeProfitint5000Maximum allowed take-profit in points
Comment_cstring==========Partial Close Settings
UsePartialCloseboolfalseUse partial close
PartialClosePercdouble50Partial close percentage
ATRMultiplierPCdouble1ATR multiplier for partial close
Comment_dstring==========Additional Settings
MagicNumberint0Magic number
OrderNotestringComment for orders
Slippageint5Slippage in points
MaxSpreadint50Maximum allowed spread to trade, in points

How to install it

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

Xauusd God MT5

by techly39
3 stars

This MetaTrader 5 expert advisor is designed specifically for trading gold (XAUUSD). The system utilizes a modular architecture to detect market regimes, identify ranges, and execute trades based on liquidity sweeps and breakouts. It incorporates several filters, including spread and volume checks, alongside a drawdown

MT5 Trading robot BreakoutSMC / ICT / price actionMean reversion
Updated 10 months ago None stated GitHub repository of Xauusd God MT5

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following

Gold Trading Bot Pro

by pollycarp
1 stars

This MetaTrader 5 expert advisor focuses on trading gold and other instruments using a trend-following breakout and retest methodology. It filters market conditions using three moving averages and ATR-based consolidation detection. Entries are triggered by RSI pullbacks and liquidity grab patterns during specific intra

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago None stated GitHub repository of Gold Trading Bot Pro

Gold Dual Engine Scalper

by MithunCyDev
1 stars

Gold Dual Engine Scalper is an MT5 expert advisor designed for XAUUSD trading. It utilizes a regime-based state machine to navigate market conditions, employing two distinct engines: one for volatility burst continuations and another for liquidity sweep reversals. The EA monitors for price compression and market exhaus

MT5 Trading robot ScalpingBreakoutSMC / ICT / price action
1 stars

TitanAI 4H Range Scalper is a MetaTrader 5 expert advisor that executes a range rejection strategy based on the 00:00 New York H4 candle. The EA identifies a fixed daily range and monitors for false breakouts or liquidity sweeps, entering a trade when price closes back within the range boundaries. It features robust ri

MT5 Trading robot SMC / ICT / price actionMean reversionBreakout
Updated 2 months ago None stated GitHub repository of TitanAI 4H Range Scalper

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