Universal Scalping Sweep
- Experts
- Version: 1.0
- Activations: 5
UNIVERSAL TRADER ADAPTIVE SWEEP
SHORT DESCRIPTION
Universal Trader Adaptive Sweep is an M1 Expert Advisor for MetaTrader 5 that detects liquidity sweeps beyond adaptive market structure and seeks confirmed reclaims with dynamic quality and spread filters.
OVERVIEW
The strategy is designed for short-term intraday trading on M1. Its purpose is to identify moments when price briefly penetrates a recent high or low, shows rejection through wick behavior and closes back inside the structure. The EA does not use a single fixed sweep distance or wick requirement for every market. Internal reference levels are derived from the recent distribution of volatility, structure, spread and wick behavior of the active symbol.
TRADING LOGIC
For a potential BUY, price must sweep below the adaptive structure low, return above that structure and show lower-wick behavior consistent with recent market conditions. For a potential SELL, the opposite applies above the structure high. Strong reclaim candles can qualify directly; otherwise the EA creates a short-lived reversal track and waits for a directional confirmation candle to reclaim a meaningful portion of the swept move.
Each candidate receives an internal quality score that combines sweep geometry, wick quality, close location, candle body, spread quality and reversal context. A dynamic quality floor becomes more or less demanding according to trend alignment, efficiency, alternation, volume and spread. Only candidates above that floor are eligible for execution.
ADAPTIVE ENGINE AND FILTERS
- Adaptive structure length driven by ATR regime and market efficiency.
- Sweep penetration normalized by ATR rather than raw price distance.
- Wick references derived from recent wick distribution.
- Dynamic confirmation window according to volatility.
- Adaptive spread filter using recent median, upper distribution and ATR.
- BUY and SELL logic enabled independently.
- One position at a time; no grid and no martingale logic.
- Server-side emergency Stop Loss plus internal USD management.
RISK AND POSITION MANAGEMENT
USD management can scale proportionally with lot size through the reference-lot system. The EA includes direction proof, minimum profit protection, trailback, stretched target, soft/hard/extreme loss levels, minimum and maximum holding time, maximum daily trades and losses, daily loss limit, optional daily profit target, operational entry window and forced close.
MAIN USER PARAMETERS
LOTE; ESCALAR_MATEMATICA_POR_LOTE; LOTE_REFERENCIA_MATEMATICA; MIN_PROVA_DIRECAO_USD; PROTECT_LUCRO_MINIMO_USD; TRAILBACK_USD; ALVO_ESTICADO_USD; LOSS_SOFT_USD; LOSS_HARD_USD; LOSS_EXTREMO_USD; MIN_HOLD_SECONDS; MAX_HOLD_SECONDS; MAX_TRADES_DIA; MAX_LOSSES_DIA; LIMITE_LOSS_DIA_USD; META_LUCRO_DIA_USD and operational times.
MONITORING AND AUDIT
An on-chart dashboard, diagnostic logs and optional CSV audit provide detailed visibility into market context, adaptive structure, spread, quality scores and trade events.
IMPORTANT
This EA operates exclusively on M1. The adaptive design reduces dependence on fixed price thresholds, but it does not remove market risk. Every symbol and broker environment should be independently backtested and validated. Historical results do not guarantee future performance. Use conservative position sizing and daily limits appropriate for your account.

