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.
Read from StarkForge_Sentinel_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpMagicNumber
long
20260703
Magic Number (unique per EA)
InpTradeComment
string
SF_Sentinel
Order comment tag
InpEnableTrading
bool
true
Master trade enable
InpVerboseLogging
bool
true
Log strategy events
InpRangeStartHour
int
2
Range window START hour (broker time)
InpRangeEndHour
int
13
Range window END hour (broker time)
InpTradeStartHour
int
15
Trade window START (London-NY overlap ~13:00 GMT)
InpTradeEndHour
int
19
Trade window END (~17:00 GMT)
InpForceCloseHour
int
20
Force-close all trades at this broker hour (Fri)
InpCloseOnFriday
bool
true
Force flatten before weekend
InpSkipMondayFirstH
bool
false
Skip first hour of Monday
InpEmaFastPeriod
int
50
H1 EMA fast period (safe 30..80)
Show all 40 inputs
Name
Type
Default
Description
InpEmaSlowPeriod
int
200
H1 EMA slow period (safe 150..250)
InpAdxPeriod
int
14
H1 ADX period (safe 10..20)
InpAdxThreshold
double
22.0
ADX min for trend (safe 18..28)
InpAtrPeriod
int
14
ATR period (M15) (safe 10..21)
InpRetestAtrMult
double
0.35
Retest tolerance = ATR * this (safe 0.20..0.60)
InpMaxRetestBars
int
12
Max M15 bars to await retest (safe 6..20)
InpRsiPeriod
int
14
RSI period
InpRsiUpperBlock
double
72.0
No longs above this RSI (safe 68..78)
InpRsiLowerBlock
double
28.0
No shorts below this RSI (safe 22..32)
InpCooldownBars
int
4
M15 bars pause after each entry
InpSLMode
ENUM_SL_MODE
SL_ATR
Stop-Loss mode
InpAtrSLMult
double
1.2
SL = ATR * this (safe 1.0..1.8)
InpFixedSLPips
int
20
Fixed SL in pips (used if SL_PIPS)
InpMinSLPips
double
8.0
Min SL floor (pips)
InpMaxSLPips
double
60.0
Max SL cap (pips)
InpTP1_R
double
1.5
TP1 in R multiples (safe 1.2..2.0)
InpTP2_R
double
2.5
TP2 in R multiples (safe 2.0..3.5)
InpPartial1_Percent
double
40.0
% of position closed at TP1
InpPartial2_Percent
double
40.0
% of position closed at TP2
InpBreakEven_R
double
1.0
R multiple to move SL to BE
InpBreakEvenBufferP
double
2.0
BE buffer in pips (spread cover)
InpTrailAtrMult
double
1.8
Trailing stop = ATR * this (safe 1.2..2.5)
InpRiskPercent
double
0.75
Risk % per trade (safe 0.3..1.0)
InpMaxLots
double
10.0
Hard lot cap
InpMaxTradesPerDay
int
2
Max entries per calendar day (broker)
InpDailyLossPercent
double
2.0
Halt trading if -X% of start-of-day equity
InpMaxDDPercent
double
8.0
Emergency stop if equity DD >= X% from peak
InpMaxConsecLoss
int
3
Consecutive loss count to trigger pause
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone siddarthkrishnamoorthi-hue/StarkForge_Sentinel_EA from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
MT5Trading robotSMC / ICT / price actionBreakoutTrend following
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
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
MT5Trading robotSMC / ICT / price actionBreakoutTrend following
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
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