PROTECTED SOURCE SCRIPT
Actualizado Trinity Market Regime Detector Pro

Decided to release this one to the community to enjoy. Changes from the original script.
Trinity Market Regime Detector – Evolution Summary
#### Critical Bug Fixes
- Fixed false long signals when –DI was dominant (DMI direction is now fully respected)
- Fixed real breakouts and squeeze breakouts firing against the higher-timeframe trend
- Fixed table text not scaling when choosing “Tiny” size (now truly tiny → large)
- Fixed alert messages that contained series strings (now 100% const-string compliant)
#### Major Logic & Accuracy Improvements
- Added proper **Higher-Timeframe MA filter** (default 200 EMA on Daily) – fully configurable (SMA/EMA/WMA + any timeframe)
- All breakout signals now require alignment with the HTF trend (when enabled) → dramatically reduces whipsaws
- Added **CCI (20)** with bold green/red highlighting at ±100
- Improved volume logic (high/low volume now more adaptive)
- Improved ATR low-volatility detection
- Squeeze breakouts now only fire with correct DMI + HTF direction
- Fakeouts clearly marked with orange X
- Bias hierarchy completely rewritten and made crystal-clear
#### Visual & Usability Upgrades
- Perfect dynamic table scaling (no more gaps when hiding ALMA/RSI/CCI)
- Option for **zero table** – super-clean label-only mode (v2.9)
- Background tinting for Dead Market (red), Squeeze (yellow), Strong Trend (green)
- ALMA 34 and HTF MA plotted on chart with color-coding
- Clear on-chart arrows: green/red triangles for real breakouts, aqua diamonds for squeeze breakouts
- All labels use proper large/colored text for instant readability
#### Alert System Overhaul
- 100% working alerts (no more compilation errors)
- Separate alerts for:
- Real volume-confirmed breakouts
- High-probability squeeze breakouts
- Regime changes
- Fakeouts
- Clean, professional alert messages
In short:
The original was already excellent.
We turned it into a **bulletproof, professional-grade, zero-noise market regime tool** that serious traders can actually rely on every single day.
Trinity Market Regime Detector – Evolution Summary
#### Critical Bug Fixes
- Fixed false long signals when –DI was dominant (DMI direction is now fully respected)
- Fixed real breakouts and squeeze breakouts firing against the higher-timeframe trend
- Fixed table text not scaling when choosing “Tiny” size (now truly tiny → large)
- Fixed alert messages that contained series strings (now 100% const-string compliant)
#### Major Logic & Accuracy Improvements
- Added proper **Higher-Timeframe MA filter** (default 200 EMA on Daily) – fully configurable (SMA/EMA/WMA + any timeframe)
- All breakout signals now require alignment with the HTF trend (when enabled) → dramatically reduces whipsaws
- Added **CCI (20)** with bold green/red highlighting at ±100
- Improved volume logic (high/low volume now more adaptive)
- Improved ATR low-volatility detection
- Squeeze breakouts now only fire with correct DMI + HTF direction
- Fakeouts clearly marked with orange X
- Bias hierarchy completely rewritten and made crystal-clear
#### Visual & Usability Upgrades
- Perfect dynamic table scaling (no more gaps when hiding ALMA/RSI/CCI)
- Option for **zero table** – super-clean label-only mode (v2.9)
- Background tinting for Dead Market (red), Squeeze (yellow), Strong Trend (green)
- ALMA 34 and HTF MA plotted on chart with color-coding
- Clear on-chart arrows: green/red triangles for real breakouts, aqua diamonds for squeeze breakouts
- All labels use proper large/colored text for instant readability
#### Alert System Overhaul
- 100% working alerts (no more compilation errors)
- Separate alerts for:
- Real volume-confirmed breakouts
- High-probability squeeze breakouts
- Regime changes
- Fakeouts
- Clean, professional alert messages
In short:
The original was already excellent.
We turned it into a **bulletproof, professional-grade, zero-noise market regime tool** that serious traders can actually rely on every single day.
Notas de prensa
Updated to remove the arrows up/down as not relevant and focus should be the table. Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
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 o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
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 o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.