INVITE-ONLY SCRIPT
HTF Swing Compression Breakout

This indicator identifies higher-timeframe (HTF) swing structure and highlights close-based breakouts that occur after structural compression.
HTF swing highs and lows are calculated using pivot points from a user-defined higher timeframe. When the distance between the most recent HTF swing high and swing low contracts below a configurable threshold, the structure is considered compressed.
Once compression is present, the script monitors for price closing outside of the HTF structure:
A close above the HTF swing high marks an upside breakout
A close below the HTF swing low marks a downside breakout
To reduce repeated signals, only one breakout per direction is allowed until price closes back inside the HTF range, at which point the state resets.
Key features:
Higher-timeframe swing high / low detection
Compression logic based on absolute swing distance
Close-only breakout confirmation
Directional state control to prevent duplicate signals
Optional visual swing structure plotting
Optional alert conditions
This script is intended as a structural analysis and alerting tool. It does not include risk management, position sizing, or trade execution logic.
HTF swing highs and lows are calculated using pivot points from a user-defined higher timeframe. When the distance between the most recent HTF swing high and swing low contracts below a configurable threshold, the structure is considered compressed.
Once compression is present, the script monitors for price closing outside of the HTF structure:
A close above the HTF swing high marks an upside breakout
A close below the HTF swing low marks a downside breakout
To reduce repeated signals, only one breakout per direction is allowed until price closes back inside the HTF range, at which point the state resets.
Key features:
Higher-timeframe swing high / low detection
Compression logic based on absolute swing distance
Close-only breakout confirmation
Directional state control to prevent duplicate signals
Optional visual swing structure plotting
Optional alert conditions
This script is intended as a structural analysis and alerting tool. It does not include risk management, position sizing, or trade execution logic.
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡readysetfire。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
The following settings reflect how the author typically uses this indicator for structural analysis on MES:
Chart timeframe: 30-minute
HTF Swing Timeframe: 30-minute
HTF Pivot Strength: 3
Max HTF Swing Distance: 24 points
Alerts: Enabled
HTF Swing H
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡readysetfire。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
The following settings reflect how the author typically uses this indicator for structural analysis on MES:
Chart timeframe: 30-minute
HTF Swing Timeframe: 30-minute
HTF Pivot Strength: 3
Max HTF Swing Distance: 24 points
Alerts: Enabled
HTF Swing H
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。