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が提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。