All indicators

Support & Resistance External/Internal & BoS

Jun 18, 2025

Static chart image
Support and ResistanceSignalsLiquidityPivot Based (Retrospective)

The Support & Resistance External/Internal & BoS indicator is a comprehensive market structure analysis tool that identifies multi-layered support and resistance levels alongside real-time Break of Structure (BoS) signals. It dynamically adapts to any timeframe and asset, providing traders with precise institutional levels, session boundaries, and pivot-based price action insights.

Usage

The Usage section describes how the script can be used to navigate market trends and identify liquidity zones.

Market Structure Analysis

The indicator automatically plots two distinct layers of market structure:

  • External S&R: These represent major swing points (Higher Highs/Lower Lows) and define the primary trend. They are plotted with thicker lines and indicate significant reversal zones.
  • Internal S&R: These identify shorter-term price movements within the broader external range, highlighting minor corrections and intraday interest areas.

Break of Structure (BoS)

When price breaches a confirmed support or resistance level, the indicator triggers a BoS label:

  • BoS (Red): Occurs when an External level is broken, suggesting a potential primary trend reversal or strong continuation.
  • iBoS (Green): Occurs when an Internal level is broken, indicating a shift in short-term momentum.

Session & Institutional Levels

The tool provides critical context by plotting:

  • Pre-Market High/Low: Essential for identifying opening ranges and potential intraday breakout points.
  • Previous Day High/Low/Close: Standard institutional benchmarks for daily price action.
  • 52-Week High/Low: Long-term boundaries for identifying major market extremes.

Details

The script utilizes a dual-layered pivot detection algorithm with zero-lag capabilities. It monitors "Early Pivots" (unconfirmed structures) using dashed lines before they are fully validated by the required bar counts. The implementation uses coordinate memory-shift technology to ensure labels and lines sync instantly in the right margin without visual lag. For session levels, it includes a pre-market adjustment logic to maintain accuracy during extended trading hours.

Settings

Pivot Points

  • Max Pivots: Determines the number of recent pivot clusters maintained on the chart.
  • External/Internal Pivot Lengths: Sets the left and right strength (number of bars) required to confirm a pivot point.

S&R Visuals

  • Colors (External/Internal/Broken): Customize colors for support, resistance, and breached levels.
  • Early S&R Levels: Toggle visibility and colors for forming, unconfirmed levels.

Labels & Visibility

  • Market Structure (BoS): Toggles the display of BoS and iBoS labels.
  • Static Level Names: Displays text identifiers (e.g., "PD High") in the right margin.

Session Levels

  • Pre-Market Levels: Toggles the display of high/low levels from the pre-market session.
  • Previous Day Levels: Displays High, Low, and Close from the prior trading day.
  • 52 Week Levels: Displays long-term yearly high and low boundaries.

FAQ

How do I use this to find entry points? Traders often look for price to reject External Support/Resistance for reversals or wait for a confirmed BoS/iBoS label to enter in the direction of the breakout.

Why are some lines dashed? Dashed lines represent "Early" or unconfirmed pivots. These levels are forming in real-time but have not yet met the full bar-count confirmation criteria.

How can I access the Support & Resistance External/Internal & BoS indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.