RepositoryMQL5PKPakistan
NadirAliOfficial

NadirAliOfficial/STAR-EA-v11.20

ICT-based MT5 Expert Advisor with 12-scenario market classification engine — Order Blocks, FVG, OTE, Liquidity, CRT, Judas Swing, Silver Bullet, AMD

54stars
13forks
2issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: expert-advisor

#1 Repository of the week

1
TINIX TRENDING·Topic: metatrader5

#1 Repository of the week

1
TINIX TRENDING·Topic: order-blocks

#1 Repository of the week

STAR EA v11.20 — MT5 Expert Advisor

MQL5 MT5 License Release

An advanced MT5 Expert Advisor built on ICT (Inner Circle Trader) concepts — Order Blocks, Fair Value Gaps, Liquidity sweeps, OTE, BOS/CHoCH, CRT, Judas Swing, Silver Bullet, and AMD phase detection. STAR EA uses a 12-scenario market classification engine that adapts its entire logic — entries, filters, and exits — based on real-time market regime.


How It Works

STAR EA classifies the current market into one of 12 regimes every bar:

RegimeEntry Style
Markup / MarkdownTrend-following with OTE pullback entries
BreakoutBOS retest with volume confirmation
RangingRange boundary fades using Order Blocks
Accumulation / DistributionDirectional bias from AMD phase detection
ReversalCHoCH + FVG confluence entries
Pullback / FlagContinuation entries within structure
FakeoutLiquidity sweep + immediate reversal
Compression / ChoppyTrading blocked — EA waits for regime shift

The engine scores each bar with a neural network confidence value. Trades only fire when the score clears the adaptive threshold for that regime.


Features

  • 12-scenario classifier — regime-aware logic, not a fixed strategy
  • Full ICT suite — FVG, OB, OTE, BOS retest, Breaker Blocks, CRT, Judas Swing, Silver Bullet, TBS, AMD
  • Multi-timeframe confirmation — higher TF bias gates lower TF entries
  • Dynamic risk sizing — Kelly criterion + max 1.5% per trade drawdown cap
  • Consecutive loss protection — auto-pause after 3 losses in a session, resumes next day
  • Session filters — London, New York, Asian killzones with configurable pre-session buffer
  • Volatility filter — ATR(14) minimum threshold blocks low-volatility entries
  • Breakout confirmation — requires 2 consecutive closes beyond level (reduces false breakouts)
  • News filter — blocks trading within configurable minutes around high-impact events

Installation

  1. Copy STAR_v11.20.mq5 to your MT5 data folder: MQL5/Experts/
  2. Open MetaEditor (Ctrl+Shift+C) and compile — expect 0 errors
  3. Refresh the Navigator panel in MT5 (right-click → Refresh)
  4. Attach to XAUUSD H1 or run via Strategy Tester

Before backtesting, download H1 history: Tools → History Center → XAUUSD → H1 → Download


Key Parameters

ParameterDefaultDescription
RiskPercent1.5Max risk per trade as % of equity
MaxConsecutiveLoss3Losses before auto-pause for the session
ATRMinPips8Min ATR(14) on M15 to allow entry
SessionFilterLondon+NYActive killzones
NewsFilterMinutes30Minutes before/after news to block trading
BreakoutBars2Consecutive closes needed for breakout confirmation
UseNeuralScoringtrueEnable adaptive confidence threshold
PreSessionBuffer15Minutes before session to halt new entries

Backtesting Setup

SettingValue
SymbolXAUUSD
TimeframeH1
ModelingOHLC on M1
Spread60
Deposit$1,000
Leverage1:100
PeriodLast 12 months

Performance Metrics

MetricValue
Profit Factor2.57
Win Rate62.5%
Max Drawdown2.28%
Net Profit$225.40 on $1,000
Avg Win / Avg Loss1.8R

Changelog

v11.20 (Latest)

  • Raised rangeConfScore gate from 2 → 4 — prevents over-blocking valid trend entries
  • Added weakening trend fallback — low-conviction entry instead of hard WAIT
  • CHoCH window changed to TF-relative (~1 hr equivalent) — prevents premature signal expiry on H1/H4
  • CRT remapped from allowBOS to allowFVG || allowOB — CRT entries now correct in OB/FVG scenarios
  • ATR-based volatility filter: entries blocked when ATR(14) < 8 pips on M15
  • Lot sizing hard cap: max 1.5% per trade regardless of Kelly output
  • Fixed double-entry bug on reconnect after terminal restart
  • Corrected magic number conflict when running multiple pairs

Compatibility

  • MetaTrader 5 build 3970+
  • Tested on XAUUSD, EURUSD, GBPUSD, USDJPY
  • Timeframes: M15, H1, H4

Developer

Built and maintained by Nadir Ali Khan — TEAM NAK | Telegram

Similar Projects

Discover other similar projects and AI models.

RepositoryMQL5
yanstd888/institutional-smc-scalper-mt5

Institutional-grade Smart Money Concepts (SMC) & ICT Gold (XAUUSD) Scalping Expert Advisor for MetaTrader 5 (MT5). Non-martingale, verified 6.5-year backtest.

92
Oct 25, 2026
RepositoryMQL5
MT5-Automation-Labs/mt5-gold-scalper-ea

MT5 gold (XAUUSD) M1 scalper EAs: Z-score mean reversion plus trend breakout, with dynamic equity risk tiers, session window, spread filter and cost-aware broker-side take-profit.

135
Oct 15, 2026
RepositoryMQL5
6alaile/MetaTrader5-to-Telegram

An expert advisor to help traders connect their MT5 account, via the terminal with a Telegram Bot to broadcast messages to a user, group or channel.

110
Sep 29, 2021
RepositoryMQL5
9nix6/Median-and-Turbo-Renko-indicator-bundle

Open-source MetaTrader 5 SDK for Expert Advisors and indicators that run directly on Median & Turbo Renko charts. Works with both the MQL5 Market edition and Ultimate Renko from az-invest.eu — client library, 64 ported indicators, six working EAs.

102
Nov 23, 2026
RepositoryMQL5
codedpro/mt5-trade-split-manager

🤖 AI-Agent Friendly MT5 Expert Advisor with intelligent order splitting, automatic trailing stops, and REST API. Perfect for Gold/Silver trading with Claude AI integration. Split orders 60/10/10/10/10 for maximum profit optimization.

93
Jul 6, 2026
RepositoryPython
Lumiwealth/lumibot

Python trading framework with AI agents that actually place the trade. Backtest, paper and live trade on 12 brokers: stocks, options, futures, forex, crypto and prediction markets.

2.3k
Nov 28, 2026
RepositoryHTML
AbdulWasay13/TradingView-Pipe-Executor

Automated MT5 Trading Bot with AI Alerts & Webhook Bridge 2026

132
Nov 14, 2026
RepositoryHTML
Dream-XR/MT5-Post-Trade-Insight-Reporter

AutoTrade Forex Signals: Telegram to MT5 EA 2026 Strategy

121
Nov 27, 2026
RepositoryHTML
peridotfoundation/MT5-Directional-Flow-Dashboard

MT5 Live Trend Direction Signal Hub 2026 – Real-Time Forex & CFD Alerts

120
Nov 28, 2026