OPEN-SOURCE SCRIPT
更新済 BLUF Regime Overlay

paints the current gamma regime on the chart to show max pain, gamma flip, and major pain points.
リリースノート
v3.2 — Major update. Volume gating removed; new Bull/Bear Flip layer.The 6-component confluence is now 5-component — volume confirmation is out entirely. Side-by-side testing showed the volume-gated TREND chips were firing too often without earning their tier badges, while pure price-action regime trackers (BigBeluga-style trailing stops) gave cleaner flips on the same charts.
What's new:
- Bull/Bear Flip layer. Persistent regime state machine on close-based supertrend math — four ratcheting ATR trailing stops (1×/2×/3×/5×) extend from price; state flips when close breaches the outermost band in the opposite direction. Roughly 4-6 flips per 5m day instead of dozens of TREND chips. Each flip is stamped with the confluence tier at the flip bar (★ PRIME = 5/5 + MACD accel, ● STRONG = 4/5, ○ WEAK = 3/5).
- HVN-anchored stop highlight. When the active trailing stop sits within 0.2× ATR of a volume-profile peak, the line thickens and turns gold — "hard anchor" zones.
- Bull Flip / Bear Flip alerts and a new FLIP MODE dashboard row.
Defaults changed:
- TREND chips hidden by default (Bull/Bear flips are the primary visual now — re-enable in Inputs → "Show Regime Shift Signals" if you want the chip overlay back).
- HTF Mode now "Aligned" (was "Off").
- Flip Stop 4 ATR Mult default 5.0.
- Pine v6 upgrade.
Heads up: TradingView will reset deprecated inputs on first load — re-set the HTF Mode and Bull/Bear Flip groups if you had custom settings.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。