OPEN-SOURCE SCRIPT

H1 Liquidity Sweep Tracker

256
🇬🇧 English: H1 Liquidity Sweep Tracker
Overview
The H1 Liquidity Sweep Tracker is a technical analysis tool designed for TradingView (Pine Script v5). It identifies "Liquidity Sweeps"—market movements where the price briefly breaches a significant level to trigger stop-loss orders before reversing.

Core Functions
H1 Level Detection: Regardless of your current timeframe (e.g., 1m, 5m, or 15m), the script automatically fetches the High and Low of the previous 1-hour candle.

Real-Time Monitoring: It tracks price action relative to these levels to identify failed breakouts.

Visual Indicators:

Horizontal Lines: Displays the H1 High (Red) and H1 Low (Green) from the previous hour.

Sweep Shapes: A triangle appears above/below the candle when a sweep is detected.

How it Works (The Logic)
A "Sweep" is triggered when the current price moves beyond the H1 boundary but fails to maintain that position:

Bullish Sweep: The price drops below the previous H1 Low (collecting sell-side liquidity) but closes back above it. This suggests a potential upward reversal.

Bearish Sweep: The price rises above the previous H1 High (collecting buy-side liquidity) but closes back below it. This suggests a potential downward reversal.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。