OB Sweeps Reversal
May 13, 2025

The OB Sweeps Reversal indicator identifies and dynamically tracks bullish and bearish order blocks to pinpoint key zones where institutional activity is most prevalent. By classifying these zones based on their mitigation status and combining them with liquidity sweep detection, the tool provides a comprehensive framework for identifying high-precision reversal setups.
Usage
The Usage section focuses on interpreting the order block zones and the integrated signal logic. Traders can use the zones as standalone support and resistance or wait for confirmed entry signals.
- Order Block Interaction: A bounce off a bullish OB suggests a potential long setup, while a rejection from a bearish OB suggests a potential short.
- Liquidity Sweeps: The indicator detects when price sweeps recent highs or lows. A sweep followed by a snapback into an active OB generates a reversal entry signal.
- Mitigation Tracking: Zones change color and label status (Unmitigated, Mitigating, or Mitigated) based on price action, allowing users to see which levels remain valid.
- Risk Management: When enabled, the script plots ATR-based stop-loss and take-profit levels automatically upon a signal trigger.
Details
The script utilizes multi-timeframe (HTF) analysis to identify significant order blocks. An order block is defined by a specific breakout candle that exceeds a volume threshold (1.5x the SMA20 by default) and breaks previous structural highs or lows.
The "Sweep" logic monitors the current timeframe for price spikes beyond a percentage threshold of recent extremes. This is often used to identify "traps" or liquidity grabs before a reversal. The tool also includes a trend filter (200 EMA) and a momentum filter (candle direction) to ensure signals align with the prevailing market environment.
Settings
Order Block Settings
- HTF for Order Block: Sets the timeframe used to calculate the primary order blocks.
- Sweep Threshold %: The percentage distance price must travel beyond a high/low to be considered a sweep.
- HTF OB Lookback Bars: The number of bars checked to determine structural breakouts and sweeps.
- Show Last N OBs: Limits the number of displayed order blocks to keep the chart clean.
- OB Box Extension Bars: Determines how far into the future unmitigated zones extend.
Calculation & Visuals
- ATR Period: The lookback period for Average True Range used in stop/target calculations.
- Draw Stop/Target Lines: Toggles the visibility of risk management levels.
- Show Entry Labels: Toggles the contextual labels that appear on entry signals.
- OB Volume Threshold Multiplier: The required volume for an OB candle relative to its average.
- Minimum OB Size %: Filters out small candles to ensure only significant institutional moves are captured.
Filters
- FILTER: Use Trend Filter (200 EMA): Restricts signals to only those following the 200-period Exponential Moving Average trend.
- FILTER: Use Entry Bar Momentum Filter: Requires the entry candle (or previous candle) to close in the direction of the trade.
FAQ
How do I access the OB Sweeps Reversal?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What timeframes are best for this tool?
While it works on any timeframe, it is recommended for 15m to 4H charts to capture meaningful market structure shifts.
Why are there no signals appearing on my chart?
This tool is designed for precision and low-frequency setups. If filters like the 200 EMA or Momentum are enabled, many potential setups will be filtered out to ensure only high-confluence trades are highlighted.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

