Trading robot · MT5

StarkForge Sentinel EA

by siddarthkrishnamoorthi-hue

StarkForge Sentinel EA is a MetaTrader 5 Expert Advisor for EURUSD.

GitHub stars1
Forks0
Last update3 months ago2 Jul 2026
LicenceNone stated

Overview

StarkForge Sentinel EA enters trades in the London-NY overlap (15:00-19:00 broker time) via M15 range-breakout detection after Asian-London session levels, confirmed by a retest within ATR tolerance. H1 trend bias uses EMA50/200 crossover and ADX14 >22 filter. Exits feature ATR dynamic stop-loss (clamped 8-60 pips), multi-partial closes at 1.5R and 2.5R, break-even at 1R plus buffer, and ATR trailing stop. Risk controls cap position at 0.75% risk per trade, halt new entries on 2% daily loss, 8% peak drawdown, max 2 trades per day, and consecutive losses. No martingale, grid, averaging or hedging. Forces close before weekends.

Details

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Breakout, Mean reversion

Markets

Forex

Timeframes

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

NameTypeDefaultDescription
InpMagicNumberlong20260703Magic Number (unique per EA)
InpTradeCommentstringSF_SentinelOrder comment tag
InpEnableTradingbooltrueMaster trade enable
InpVerboseLoggingbooltrueLog strategy events
InpRangeStartHourint2Range window START hour (broker time)
InpRangeEndHourint13Range window END hour (broker time)
InpTradeStartHourint15Trade window START (London-NY overlap ~13:00 GMT)
InpTradeEndHourint19Trade window END (~17:00 GMT)
InpForceCloseHourint20Force-close all trades at this broker hour (Fri)
InpCloseOnFridaybooltrueForce flatten before weekend
InpSkipMondayFirstHboolfalseSkip first hour of Monday
InpEmaFastPeriodint50H1 EMA fast period (safe 30..80)
Show all 40 inputs
NameTypeDefaultDescription
InpEmaSlowPeriodint200H1 EMA slow period (safe 150..250)
InpAdxPeriodint14H1 ADX period (safe 10..20)
InpAdxThresholddouble22.0ADX min for trend (safe 18..28)
InpAtrPeriodint14ATR period (M15) (safe 10..21)
InpRetestAtrMultdouble0.35Retest tolerance = ATR * this (safe 0.20..0.60)
InpMaxRetestBarsint12Max M15 bars to await retest (safe 6..20)
InpRsiPeriodint14RSI period
InpRsiUpperBlockdouble72.0No longs above this RSI (safe 68..78)
InpRsiLowerBlockdouble28.0No shorts below this RSI (safe 22..32)
InpCooldownBarsint4M15 bars pause after each entry
InpSLModeENUM_SL_MODESL_ATRStop-Loss mode
InpAtrSLMultdouble1.2SL = ATR * this (safe 1.0..1.8)
InpFixedSLPipsint20Fixed SL in pips (used if SL_PIPS)
InpMinSLPipsdouble8.0Min SL floor (pips)
InpMaxSLPipsdouble60.0Max SL cap (pips)
InpTP1_Rdouble1.5TP1 in R multiples (safe 1.2..2.0)
InpTP2_Rdouble2.5TP2 in R multiples (safe 2.0..3.5)
InpPartial1_Percentdouble40.0% of position closed at TP1
InpPartial2_Percentdouble40.0% of position closed at TP2
InpBreakEven_Rdouble1.0R multiple to move SL to BE
InpBreakEvenBufferPdouble2.0BE buffer in pips (spread cover)
InpTrailAtrMultdouble1.8Trailing stop = ATR * this (safe 1.2..2.5)
InpRiskPercentdouble0.75Risk % per trade (safe 0.3..1.0)
InpMaxLotsdouble10.0Hard lot cap
InpMaxTradesPerDayint2Max entries per calendar day (broker)
InpDailyLossPercentdouble2.0Halt trading if -X% of start-of-day equity
InpMaxDDPercentdouble8.0Emergency stop if equity DD >= X% from peak
InpMaxConsecLossint3Consecutive loss count to trigger pause

How to Install It

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

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 7 months ago MIT GitHub repository of Nolo Trading Bot

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 6 months ago MIT GitHub repository of EA SMC Engine
2 stars

This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu

MT5 Trading robot Mean reversionBreakoutIndicator crossover

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
2 stars

This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band

MT5 Trading robot Trend followingBreakoutMean reversion

Gold FX EA

by ajeet-trader
1 stars

Gold FX EA is a multi-asset trading robot for MetaTrader 5 that functions as a modular framework for various technical strategies. It allows users to toggle specific modules for forex, gold, silver, cryptocurrencies, and commodities. Strategies include trend following with moving averages, Bollinger Band mean reversion

MT5 Trading robot Trend followingBreakoutMean reversion
Updated 10 months ago None stated GitHub repository of Gold FX EA

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