OPEN-SOURCE SCRIPT
Actualizado BLUF Regime Overlay

paints the current gamma regime on the chart to show max pain, gamma flip, and major pain points.
Notas de prensa
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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.