Session Sweep Reversal Detector
Author: Adeolu Gbadebo
Every trading session leaves behind a range — a high and a low that the market respects, tests, or eventually breaks. A large share of intraday reversals happen right around those boundaries: price pokes above the prior session's high or below its low, triggers the stops sitting there, and then snaps back inside the range. That behavior is usually described as a liquidity sweep, and it tends to mark short-term exhaustion rather than the start of a genuine breakout.
The Session Sweep Reversal Detector automates the two things a trader would otherwise do by eye: it draws the completed session's high and low as reference lines, and it watches everything that happens afterward for a qualifying sweep. A sweep is only confirmed when price penetrates the range by more than a configurable buffer and then closes back inside the range within a limited number of bars. If price breaks out and keeps going without closing back inside in time, no signal fires — the tool is built to filter noise, not to flag every wick that pokes past a line.
It works on any symbol and any intraday timeframe, though it's most useful on M5 to M30 charts where session structure is still visible without excessive noise. A common setup is to run it on EURUSD or GBPUSD with the session window aligned to London or New York hours, since those sessions tend to produce the cleanest range-and-sweep behavior.
| Input | Default | Purpose |
|---|---|---|
| InpSessionStartHour | 7 | Broker-time hour at which the session range begins forming. |
| InpSessionEndHour | 16 | Broker-time hour at which the session closes and its high/low freeze. |
| InpSweepBufferPips | 2.0 | Minimum penetration beyond the session high/low, in points, required to register as a breach. |
| InpReversalBars | 2 | Number of bars allowed for price to close back inside the range after a breach; otherwise the breach is discarded. |
| InpMaxSessionsToShow | 5 | Number of most recent days' session ranges and signals kept visible on the chart. |
Load the indicator on a chart with the session window matched to the market you trade — for example 7–16 broker time for a London-session bias, or shift it to cover the New York open. Keep SweepBufferPips tight enough to catch genuine stop-hunts but wide enough to ignore ordinary spread noise on your symbol; 2–3 points is a reasonable starting point on major FX pairs. Use the arrows as a shortlist of moments worth reviewing rather than an auto-trade signal, and combine them with price-action confirmation — a strong rejection candle or a break of a minor trendline back into the range adds real weight to the sweep signal.
Broker Execution Diagnostics MT5
Read-only MT5 script reporting broker volume, price, stops, freeze, spread and execution constraints.
Order Block Mitigation Tracker
An MT5 indicator that detects ATR-filtered institutional order blocks and tracks, in real time, whether each zone has been mitigated by returning price.
Multi-Timeframe FVG Depth Meter
Scans multiple timeframes for unfilled Fair Value Gaps, plots them as zones directly on your chart, and tracks local bull/bear imbalance depth with a histogram and live dashboard.
Trade Transaction Trace Logger MT5
Read-only OnTradeTransaction logger that records MT5 order, deal and position lifecycle events to local CSV and the Experts Journal.