SYSTEM ARCHITECTURE OVERVIEW
SMART SNIPER SYSTEM is a dual-engine Expert Advisor combining a rule-based EA and an AI decision engine. Trading is only allowed when all protection layers approve execution.
REQUIRED WEBREQUEST PERMISSIONS
You MUST allow WebRequest access to:
- https://api.openai.com (AI decision engine)
- https://www.youtube.com (Trump Live detection)
- MT5 Economic Calendar (News filter)
Without these permissions, the EA will block trading.
WHAT USERS CAN EDIT SAFELY
Users may edit risk settings, trading modes, SL/TP, trailing stop, news timing, and Trump cooldown.
Users must NOT edit AI logic, regime filter logic, WebRequest code, or trial protection.
TRADING MODE INPUTS
InpTradingMethod controls whether AI, EA, or both engines trade.
![]()
RISK MANAGEMENT INPUTS
InpAutoLot calculates lot automatically.
InpFixedLot is used only when AutoLot is disabled.
InpRiskLevel defines aggressiveness.

NEWS FILTER
Uses MT5 native calendar.
Blocks trading before and after high-impact news.

TRUMP LIVE FILTER
Detects official Donald Trump live speeches.
Blocks all trading during live broadcasts.

MARKET REGIME FILTER
Uses ADX and ATR.
TREND and TRANSITION allow trades.
RANGE blocks all trades.

HOW EA TAKES TRADES
H1 breakout logic with trend alignment, spread control, and risk validation.

HOW AI TAKES TRADES
AI evaluates multi-timeframe data, regime, volatility, and confidence score.
Returns BUY, SELL, or WAIT.

WAIT MODE
WAIT means protection, not error.
Triggered by news, Trump live, range market, or low confidence.

BEST PRACTICES
Use MEDIUM risk.
Do not disable protections.
Use VPS and keep Algo Trading enabled.


