OPEN-SOURCE SCRIPT

ダウ理論 Dow Theory – Slim HH/LL Labels + BOS/CHOCH + Trend (TAKA)

311
ダウ理論の相場構造を“見える化”するインジケーター。
HH/LL(必要ならHL/LH)を自動ラベル化+ジグザグ描画、BOS/CHOCHを検出。
右上に Uptrend / Downtrend / Range を常時表示。全時間足・全銘柄対応。

■主な機能
・HH/LL(間引き可)+ジグザグ
・BOS(Break of Structure)/ CHOCH(転換)通知
・小波の自動フィルタ:変化率(%) と ATR×
・ADXフィルタでレンジ時の誤判定を抑制
・ライト/ダーク両モード視認性調整

■使い方(主要パラメータ)
・Pivot left/right:スイング感度(数値↑=ゆっくり&精度高め)
・Only HH/LL:要所だけ表示
・Min % / ATR×:小さすぎる波を間引き
・ADX 閾値:20〜25推奨(レンジ多い銘柄は上げる)
・表示ラベル上限:古いラベルを自動整理

■注意
・ピボットは right 本分が経過してから確定(確定足ベース)
・アラートは「Any alert()」で有効化

押し目買い/戻り売りの型づくり、構造学習、シナリオ共有に。
Granville × Dow Theory 併用推奨。
上位足でEMAトレンド(20/30/40)を確認、
下位足では本インジのHL/LH→HH/LLの継続サインを待って、EMA帯の押し/戻りで入る。
=グランビル#2(押し目買い)/#6(戻り売り)を“構造+平均線”の合流で狙う運用。


Dow Theory structure visualizer (indicator, not a strategy).
Auto labels HH/LL (optional HL/LH), draws a zigzag, detects BOS/CHOCH,
and shows Uptrend/Downtrend/Range at the top-right. Works on all timeframes & symbols.

■ Features
- HH/LL labels (filterable) + zigzag
- BOS (Break of Structure) / CHOCH alerts
- Noise filtering by % change and ATR multiplier
- ADX filter to suppress signals during ranges
- Optimized for light/dark modes

■ How to use (key inputs)
- Pivot left/right: swing sensitivity (higher = slower/cleaner)
- Only HH/LL: show key swings only
- Min % / ATR×: ignore tiny swings
- ADX threshold: 20–25 recommended
- Max labels: auto prune old labels

■ Notes
- Pivots confirm after ‘right’ bars (confirmed on closed bars)
- Enable alerts via “Any alert()”

Ideal for buy-the-dip / sell-the-rally planning and structure training

Granville × Dow Theory recommended.
Confirm the higher-timeframe EMA trend (20/30/40), then on the lower timeframe wait for this indicator’s continuation signal—HL→HH in uptrends or LH→LL in downtrends—and enter on pullbacks/returns to the EMA band.
In short, target Granville #2 (buy the dip) and #6 (sell the rally) at the confluence of structure + moving averages

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.