PROTECTED SOURCE SCRIPT
更新済 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.
リリースノート
Updated to remove the arrows up/down as not relevant and focus should be the table. 保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 ただし、制限なく自由に使用できます – 詳細はこちらでご確認ください。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。