PROTECTED SOURCE SCRIPT
已更新

Trinity Market Regime Detector Pro

43
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.
版本注释
Updated to remove the arrows up/down as not relevant and focus should be the table.
版本注释
The Multi-Indicator Status Dashboard is a custom TradingView indicator that combines momentum, trend, volume, and volatility indicators into a compact table, showing each one's current status with colored backgrounds (green for bullish/strong, red for bearish/weak, orange for neutral/warning). At the bottom, it calculates an Overall Bias based on how many of the 8 key factors are bullish, displaying it as BULLISH, BEARISH, or NEUTRAL along with the exact score (e.g., "BULLISH (6/8)"). This helps you quickly assess market conditions without switching between multiple indicators.

The dashboard includes these core components:
- Momentum tools like RSI, CCI, MACD Histogram, and Stochastic %K, which highlight overbought/oversold levels and short-term strength.
- Trend filters such as EMA 10/20 cross, price position relative to a higher-timeframe EMA50, and a SuperTrend (ATR-based, set to 14 period and 2.0 multiplier) that simply shows Bullish or Bearish.
- Volume confirmation via a basic volume trend and OBV (On Balance Volume) direction.
- Volatility context from the current ATR value and whether it's high, low, or normal compared to recent averages.
- Additional references like price vs VWAP and ADX for trend strength.

To use it effectively, add the script to your chart (it's set as an overlay, so the table floats on the price pane). Focus on the Overall Bias row for a high-level view—higher scores in BULLISH mean stronger confluence for longs, while lower scores in BEARISH signal potential shorts. The individual rows give deeper insight: for example, green on SuperTrend and OBV adds confidence to a bullish bias, while red on MACD and RSI might warn of reversals. It's great for confluence trading—only take trades when the bias aligns with your strategy, and use the colors as quick filters during fast markets.

Customization is straightforward through the indicator settings (double-click the indicator name or right-click → Settings → Inputs):
- Change the table position (Top Right is default, but you can move it to Top Left, Bottom Right, etc., to avoid overlapping price action).
- Adjust text size from Tiny to Huge for better readability on different screens.
- Modify colors for Bullish, Bearish, and Neutral to match your chart theme.
- Tweak any indicator lengths (e.g., make RSI 10 instead of 14, or change SuperTrend multiplier).
- Most importantly, set the Bullish Threshold (default 5) and Bearish Threshold (default 3)—raise the bullish number for stricter long signals requiring more agreement, or lower the bearish number for faster downside alerts. Experiment on historical charts to find what fits your style.

Overall, treat this as a confluence scanner rather than a standalone signal generator. It shines in trend-following or swing setups where multiple factors aligning increases probability. Start with the defaults, watch how the bias reacts in real-time, and fine-tune thresholds to reduce noise while catching high-quality opportunities.
版本注释
Fixed a bug on how ATR was being calculated and now resolved. No other changes.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。