PROTECTED SOURCE SCRIPT

NCC ICT: Liquidity & Structure Visualizer

141
This indicator is a technical analysis tool designed for the BTC/USDT market. It visualizes institutional order flow concepts commonly associated with Inner Circle Trader (ICT) methodologies. The script automates the detection of specific price action patterns—Liquidity Sweeps, Structural Shifts, and Fair Value Gaps—to help traders identify potential areas of interest on the chart.

Note: This is an indicator only, not a backtesting strategy. It does not execute trades but rather highlights technical setups for manual analysis.

Methodology & Calculations
The script uses a three-step logic engine to interpret market structure:

Rolling Liquidity (Internal Liquidity Sweeps):
Instead of using standard pivots which can lag, this script calculates a "Rolling High/Low" based on a user-defined lookback period (default: 10 bars).

Bullish Sweep: Detected when price wicks below the rolling low but closes back above it.

Bearish Sweep: Detected when price wicks above the rolling high but closes back below it.

Market Structure Shift (MSS) with Displacement:
A structure shift is only valid if accompanied by momentum. We calculate "Displacement" by comparing the current candle's body size to the Average True Range (ATR).

Logic: A shift is flagged if the candle body is greater than 1.5x the 14-period ATR. This filters out low-volatility noise and focuses on high-momentum moves.

Fair Value Gaps (FVG) & Equilibrium:
The script identifies 3-candle FVG patterns (inefficiencies) and plots the 0.5 Equilibrium level (the midpoint of the gap).

Visuals: These levels are plotted using a stepline style to show the exact price path. The indicator waits for a "Retest" of this 0.5 level to confirm the setup.

Features & Usage

Information Dashboard: A panel in the top-right corner displays the current technical "Stage" (e.g., Waiting for Sweep, Waiting for Retest) and provides a brief technical guide.

Dynamic Labels: Hovering over any plot label (e.g., "Bull FVG 0.5") displays a tooltip with specific details about that price level.

No Repainting: All calculations for Swings and Shifts rely on closed bars ([1] index or confirmed closes) to ensure the visuals remain static once formed.

Settings

Liquidity Lookback: Adjusts the sensitivity of the rolling high/low detection.

Displacement Multiplier: Sets the threshold for what constitutes a "high momentum" candle relative to ATR.

Style: Users can toggle the visibility of the dashboard and specific plot lines.

Disclaimer
For educational purposes only. This script is a theoretical demonstration of ICT concepts and does not constitute financial advice or a recommendation to buy or sell any asset. Past performance of technical patterns does not guarantee future results. Crypto markets are highly volatile; use at your own risk.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.