All indicators

CHoCH Sweep

By LuxAlgoDec 2, 2026

CHoCH Sweep is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Static chart image

The CHoCH Sweep indicator identifies price action setups based on the interplay between market structure shifts and liquidity sweeps. By monitoring for a Change of Character (CHoCH) that serves as an initiator, the tool tracks subsequent liquidity runs to detect potential reversals. This approach helps traders filter for high-conviction signals where institutional liquidity is captured, providing a structured framework to capitalize on failed breakouts and structural market turning points.

How to Trade the CHoCH Sweep?

The indicator functions through a multi-step process designed to catch reversals after structural failure. First, it identifies a CHoCH, which signals a potential change in the prevailing market trend. Once a CHoCH occurs, the indicator monitors for a sweep of the liquidity created by the swing point that initiated the shift.

A valid entry signal is generated only when price sweeps that liquidity and subsequently closes back inside the CHoCH range, indicating a failure of the previous structure to hold. Traders look for these confirmation signals to enter the market in the direction of the new trend. You can choose between different exit methodologies, such as ATR based stops or stops placed beyond the sweep wick, which allows for dynamic risk management depending on your preferred trading style. When the signal occurs, the indicator automatically plots a potential stop loss and take profit zone to assist with trade execution.

CHoCH Sweep Settings

Market Structure

  • Swing Length: Defines the number of bars on each side needed to confirm a swing high or low. Higher values prioritize larger market structures.
  • Show BOS: Toggles the display of trend continuation breaks.
  • Show CHoCH: Toggles the display of the structural shift labels that initiate a setup.

Sweep Setup

  • Setup Expiry: Determines the maximum number of bars allowed for the sweep and subsequent close back through the CHoCH level to occur.
  • Show Pending Levels: Visualizes the liquidity levels waiting to be swept and the trigger levels requiring a close.

Stop Loss / Take Profit

  • Exit Mode: Selects between ATR based exits or stops placed beyond the sweep wick.
  • ATR Length: Sets the lookback period for volatility calculations.
  • Stop ATR Multiplier: Adjusts the distance of the stop loss in ATR units.
  • Target ATR Multiplier: Adjusts the profit target distance in ATR units.
  • Sweep Stop Buffer: Adds extra room beyond the sweep wick for stop placement when using the sweep based exit mode.

Frequently Asked Questions

Free to use

Run it on Vela. Go further with a paid plan.

  • Up to 500 Custom Alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans
Original indicatorBuilt in-house by LuxAlgo

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.