OPEN-SOURCE SCRIPT

Daily Gap Highlighter (Partial Gaps + Age Filter)

43
Daily Gap Highlighter – 部分的な窓の未埋めエリアを自動描画

このインジケーターは、日足チャートにおける窓(ギャップ)を自動で検出し、
その後の値動きで一部だけ埋まった場合も、埋め残し部分だけを正確に描画するツールです。

🔍 主な特徴

日足ベースで窓を検出
上窓:当日の安値 > 前日の高値
下窓:当日の高値 < 前日の安値

部分的な窓埋めにも対応
例:窓の90%が埋まった → 残り10%だけ窓として残す

完全に埋まった窓は自動的に削除

窓の“鮮度フィルター”を搭載
指定した日数(デフォルト90日)を経過した古い窓は自動で非表示にできます。

トレンド転換ポイントの可視化に最適
未埋めギャップは多くのトレーダーが注目する価格帯であり、
サポート/レジスタンスとして高い機能を持ちます。

📈 活用例

スイングトレードでのターゲット設定

窓埋めの完了・未完了の判定

重要水平ラインとしての分析

長期的な価格メモリーの可視化

日足チャートを使うトレーダーの方にとって、
“本当に意味のある未埋め窓だけ”が残る実用的なインジケーターです。

🇺🇸 English Description (for TradingView Community)
Daily Gap Highlighter – Precise Partial Gap Visualization

This indicator automatically detects daily price gaps and visualizes them on the chart —
but with one powerful upgrade:

It keeps only the unfilled portion of the gap.

🔍 Key Features

Daily-based gap detection
Up Gap: Today’s Low > Previous High
Down Gap: Today’s High < Previous Low

Partial gap filling supported
Example: If 90% of the gap has been filled,
→ Only the remaining 10% is still shown as an active gap.

Fully filled gaps are automatically removed

Gap “age filter” included
Automatically hide gaps older than a chosen number of days (default: 90).

Great for identifying key market levels
Unfilled gaps often act as strong support/resistance zones
and are widely watched by professional traders.

📈 Use Cases

Setting targets for swing trades

Determining whether a gap is filled or partially filled

Highlighting significant horizontal price levels

Visualizing long-term market memory zones

This tool is ideal for traders who want
a clean and accurate view of meaningful unfilled gaps only.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.