PROTECTED SOURCE SCRIPT
已更新

HTF Price Sweep Levels

49
This indicator is a multi-timeframe liquidity sweep visualization tool designed to highlight Higher Timeframe (HTF) price sweeps directly on a lower-timeframe chart.

Core concept

The script internally reconstructs HTF candle structure while operating on a lower timeframe. By monitoring how an active HTF candle interacts with the previous completed HTF candle’s high and low, it detects moments where price temporarily exceeds those levels and then returns back within range — a behavior commonly associated with liquidity interaction and rejection.

The focus is on price behavior and market structure, not indicator-based calculations.

How it works

Supports multiple HTFs simultaneously (e.g., 15m, 30m, 1h, 4h, Daily).

For each enabled HTF:

Candles are reconstructed in real time from lower-timeframe data.

A sweep is identified only while the HTF candle is still forming, when price trades beyond the prior HTF high or low and subsequently closes back inside the range.

High-side and low-side sweeps are evaluated independently and plotted at the original HTF level.

Visualization

Detected sweeps are drawn as horizontal levels extending forward in time.

Visual separation between high and low sweeps using color and directional labeling.

Each level includes its originating timeframe label for clarity.

Levels are automatically removed once price decisively invalidates them.

Alerts

Alerts are triggered only when a new HTF sweep is confirmed, allowing traders to track significant multi-timeframe liquidity events without unnecessary noise.

Intended use

This script is intended as a contextual analysis tool to help traders observe potential liquidity-driven reactions and structural price behavior across timeframes.
It does not generate trade signals and should be used alongside the trader’s own analysis and risk management.
版本注释
Update

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。