Approx STH Unrealized Profit [Relative %]This indicator estimates the unrealized profit or loss of short-term holders (STH) without requiring on-chain data. Instead of using actual STH Realized Price (average purchase price), it employs a 155-day Simple Moving Average (SMA) to approximate the behavior of "recent buyers."
How It Works
The indicator calculates the percentage deviation between the current price and the 155-day SMA using the formula:
(Current Price - 155 SMA) / 155 SMA * 100%.
Positive values indicate profit, while negative values show loss. Key threshold levels are set at +50% (overbought) and -30% (oversold).
Trading Applications
Profit > 50% - STH are experiencing significant profits, suggesting potential correction. Consider taking partial profits.
0% < Profit < 50% - Moderate profits indicate the trend may continue. Maintain positions.
Profit ≈ 0% - Price is near STH's average entry point, showing market indecision.
-30% < Profit < 0% - STH are at a loss, potentially signaling accumulation opportunities.
Profit < -30% - Extreme oversold conditions may present buying opportunities.
Limitations
SMA only approximates STH behavior.
May produce false signals during sideways markets.
SMA lag can be noticeable in strong trending markets.
Recommendation
For improved accuracy, combine this indicator with trend-following tools (200 EMA, Volume analysis) and other technical indicators. It serves best as a supplementary tool for identifying overbought/oversold market conditions within your trading strategy.
Sentiment
Sector Hourly Trend + Dynamic % Here’s a concise but clear description you can give to other users:
---
**📊 Sector Hourly Trend + Dynamic % Change Table (Pine Script v6)**
This TradingView indicator displays a fixed on-screen table showing the **real-time performance** of the 11 major SPDR sector ETFs.
**Features:**
* **Hourly Trend Column:** Uses 60-minute candle data to detect the sector’s current direction vs. the previous hour:
* **^** (green) → sector is up over the past hour.
* **v** (red) → sector is down over the past hour.
* **–** (gray) → no change.
* **Dynamic % Change Column:** Calculates the percentage move over a user-defined window (in minutes) using 1-minute data.
* Background colors: bright green for positive, bright red for negative, gray for no change.
* Text color: black for maximum contrast.
* **Sector Column:** Lists each SPDR sector by name, color-coded for easy identification.
* **Customizable Position:** Choose screen corner and fine-tune with X/Y offsets to avoid overlapping the TradingView Pro badge or UI buttons.
* **Always On-Screen:** The table is fixed to the chart’s viewport, so it stays visible regardless of zoom or scroll.
**Use Cases:**
* Quick visual snapshot of which sectors are leading or lagging intraday.
* Monitor short-term sector rotation without switching tickers.
* Combine with your trading strategy to align trades with sector momentum.
Cycle Phase & ETA Tracker [Robust v4]
Cycle Phase & ETA Tracker
Description
The Cycle Phase & ETA Tracker is a powerful tool for analyzing market cycles and predicting the completion of the current cycle (Estimated Time of Arrival, or ETA). It visualizes the cycle phase (0–100%) using a smoothed signal and displays the forecasted completion date with an optional confidence band based on cycle length variability. Ideal for traders looking to time their trades based on cyclical patterns, this indicator offers flexible settings for robust cycle analysis.
Key Features
Cycle Phase Visualization: Tracks the current cycle phase (0–100%) with color-coded zones: green (0–33%), blue (33–66%), orange (66–100%).
ETA Forecast: Shows a vertical line and label indicating the estimated date of cycle completion.
Confidence Band (±σ): Displays a band around the ETA to reflect uncertainty, calculated using the standard deviation of cycle lengths.
Multiple Averaging Methods: Choose from three methods to calculate average cycle length:
Median (Robust): Uses the median for resilience against outliers.
Weighted Mean: Prioritizes recent cycles with linear or quadratic weights.
Simple Mean: Applies equal weights to all cycles.
Adaptive Cycle Length: Automatically adjusts cycle length based on the timeframe or allows a fixed length.
Debug Histogram: Optionally displays the smoothed signal for diagnostic purposes.
Setup and Usage
Add the Indicator:
Search for "Cycle Phase & ETA Tracker " in TradingView’s indicator library and apply it to your chart.
Configure Parameters:
Core Settings:
Track Last N Cycles: Sets the number of recent cycles used to calculate the average cycle length (default: 20). Higher values provide stability but may lag market shifts.
Source: Selects the data source for analysis (e.g., close, open, high; default: close price).
Use Adaptive Cycle Length?: Enables automatic cycle length adjustment based on timeframe (e.g., shorter for intraday, longer for daily) or uses a fixed length if disabled.
Fixed Cycle Length: Defines the cycle length in bars when adaptive mode is off (default: 14). Smaller values increase sensitivity to short-term cycles.
Show Debug Histogram: Enables a histogram of the smoothed signal for debugging signal behavior.
Cycle Length Estimation:
Average Mode: Selects the method for calculating average cycle length: "Median (Robust)", "Weighted Mean", or "Simple Mean".
Weights (for Weighted Mean): For "Weighted Mean", chooses "linear" (moderate emphasis on recent cycles) or "quadratic" (strong emphasis on recent cycles).
ETA Visualization:
Show ETA Line & Label: Toggles the display of the ETA line and date label.
Show ETA Confidence Band (±σ): Toggles the confidence band around the ETA, showing the uncertainty range.
Band Transparency: Adjusts the transparency of the confidence band (0 = fully transparent, 100 = fully opaque; default: 85).
ETA Color: Sets the color for the ETA line, label, and confidence band (default: orange).
Interpretation:
The cycle phase (0–100%) indicates progress: green for the start, blue for the middle, and orange for the end of the cycle.
The ETA line and label show the predicted cycle completion date.
The confidence band reflects the uncertainty range (±1 standard deviation) of the ETA.
If a warning "Insufficient cycles for ETA" appears, wait for the indicator to collect at least 3 cycles.
Limitations
Requires at least 3 cycles for reliable ETA and confidence band calculations.
On low timeframes or low-volatility markets, zero-crossings may be infrequent, delaying ETA updates.
Accuracy depends on proper cycle length settings (adaptive or fixed).
Notes
Test the indicator across different assets and timeframes to optimize settings.
Use the debug histogram to troubleshoot if the ETA appears inaccurate.
For feedback or suggestions, contact the author via TradingView.
Cycle Phase & ETA Tracker
Описание
Индикатор Cycle Phase & ETA Tracker предназначен для анализа рыночных циклов и прогнозирования времени завершения текущего цикла (ETA — Estimated Time of Arrival). Он отслеживает фазы цикла (0–100%) на основе сглаженного сигнала и отображает предполагаемую дату завершения цикла с опциональной доверительной полосой, основанной на стандартном отклонении длин циклов. Индикатор идеально подходит для трейдеров, которые хотят выявлять циклические закономерности и планировать свои действия на основе прогнозируемого времени.
Ключевые особенности
Фазы цикла: Визуализирует текущую фазу цикла (0–100%) с цветовой кодировкой: зеленый (0–33%), синий (33–66%), оранжевый (66–100%).
Прогноз ETA: Показывает вертикальную линию и метку с предполагаемой датой завершения цикла.
Доверительная полоса (±σ): Отображает зону неопределенности вокруг ETA, основанную на стандартном отклонении длин циклов.
Гибкие методы усреднения: Поддерживает три метода расчета средней длины цикла:
Median (Robust): Медиана, устойчивая к выбросам.
Weighted Mean: Взвешенное среднее, где недавние циклы имеют больший вес (линейный или квадратичный).
Simple Mean: Простое среднее с равными весами.
Адаптивная длина цикла: Автоматически подстраивает длину цикла под таймфрейм или позволяет задать фиксированную длину.
Отладочная гистограмма: Опционально отображает сглаженный сигнал для анализа.
Настройка и использование
Добавьте индикатор:
Найдите "Cycle Phase & ETA Tracker " в библиотеке индикаторов TradingView и добавьте его на график.
Настройте параметры:
Core Settings:
Track Last N Cycles: Количество последних циклов для расчета средней длины (по умолчанию 20). Большие значения дают более стабильные результаты, но могут запаздывать.
Source: Источник данных (по умолчанию цена закрытия).
Use Adaptive Cycle Length?: Включите для автоматической настройки длины цикла по таймфрейму или отключите для использования фиксированной длины.
Fixed Cycle Length: Длина цикла в барах, если адаптивная длина отключена (по умолчанию 14).
Show Debug Histogram: Включите для отображения сглаженного сигнала (полезно для отладки).
Cycle Length Estimation:
Average Mode: Выберите метод усреднения: "Median (Robust)", "Weighted Mean" или "Simple Mean".
Weights (for Weighted Mean): Для режима "Weighted Mean" выберите "linear" (умеренный вес для новых циклов) или "quadratic" (сильный вес для новых циклов).
ETA Visualization:
Show ETA Line & Label: Включите для отображения линии и метки ETA.
Show ETA Confidence Band (±σ): Включите для отображения доверительной полосы.
Band Transparency: Прозрачность полосы (0 — полностью прозрачная, 100 — полностью непрозрачная, по умолчанию 85).
ETA Color: Цвет для линии, метки и полосы (по умолчанию оранжевый).
Интерпретация:
Фаза цикла (0–100%) показывает прогресс текущего цикла: зеленый — начало, синий — середина, оранжевый — конец.
Линия и метка ETA указывают предполагаемую дату завершения цикла.
Доверительная полоса показывает диапазон неопределенности (±1 стандартное отклонение).
Если отображается предупреждение "Insufficient cycles for ETA", дождитесь, пока индикатор соберет минимум 3 цикла.
Ограничения
Требуется минимум 3 цикла для надежного расчета ETA и доверительной полосы.
На низких таймфреймах или рынках с низкой волатильностью пересечения нуля могут быть редкими, что замедляет обновление ETA.
Эффективность зависит от правильной настройки длины цикла (fixedL или адаптивной).
Примечания
Протестируйте индикатор на разных таймфреймах и активах, чтобы подобрать оптимальные параметры.
Используйте отладочную гистограмму для анализа сигнала, если ETA кажется неточным.
Для вопросов или предложений по улучшению свяжитесь через TradingView.
RiskOnRiskOff-UpdatedRisk On / Risk Off Dashboard (Composite Z-Score)
This indicator measures global market risk appetite by combining multiple "Risk-On" and "Risk-Off" assets into a single composite signal. It calculates the momentum (ROC) of each selected asset, normalizes them using a rolling Z-Score, and averages them into two baskets:
Risk-On basket includes equity indices (S&P 500, Nasdaq 100, Russell 2000, DAX), high yield bonds, growth-sensitive commodities (oil, copper), and crypto assets (BTC, ETH, total crypto market cap).
Risk-Off basket includes volatility (VIX), the US Dollar Index (DXY), Gold, US 10Y yield, and USDT dominance.
The difference between the Risk-On and Risk-Off composites produces the main signal:
Above the Risk-On threshold → markets are in risk-seeking mode (green background).
Below the Risk-Off threshold → markets are in risk-averse mode (red background).
Between thresholds → neutral / indecisive regime (yellow background).
How to use:
In Risk-On mode, long setups generally have higher probability of success.
In Risk-Off mode, prioritize defensive strategies, hedges, or shorts.
Neutral regime suggests reducing position size or waiting for a clearer trend.
All symbols are customizable via the input panel to fit your preferred market focus (equities, crypto, FX, etc.). The indicator works on any timeframe, with recommended use on daily charts for macro regime analysis.
Note: ROC lookback, Z-Score window, and smoothing length can be adjusted for more responsive or more stable signals.
twitter: @0xdonomar
Traders Reality Rate Spike Monitor 0.1 betaTraders Reality Rate Spike Monitor
## **Early Warning System for Interest Rate-Driven Market Crashes**
Based on critical market analysis revealing the dangerous correlation between interest rate spikes and major market selloffs, this indicator provides **three-tier alerts** for US 10-Year Treasury yield acceleration.
### **📊 Key Market Intelligence:**
**Historical Precedent:** The 2018 market crash occurred when unrealized bank losses hit $256 billion with interest rates at just 2.5%. **Current unrealized losses have reached $560 billion** - more than double the 2018 levels - while rates sit at 4.5%.
**Critical Vulnerabilities:**
- **$559 billion in tech sector debt** maturing through 2025
- **65% of investment-grade debt** rated BBB (vulnerable to adverse conditions)
- **$9.5 trillion in total debt** requiring refinancing
- Every 1% rate increase costs the economy **$360 billion annually**
### **🚨 Alert System:**
**📊 WATCH (20+ basis points/3 days):** Early positioning signal
**⚠️ WARNING (30+ basis points/3 days):** Prepare for volatility
**🚨 CRITICAL (40+ basis points/3 days):** Historical crash threshold
### **💡 Why This Matters:**
Interest rate spikes historically trigger major market corrections:
- **2018:** 70 basis points spike → 20% S&P 500 crash
- **2025:** Similar pattern led to massive selloffs
- **Current risk:** 2x higher unrealized losses than 2018
### **⚡ Features:**
✅ **Zero chart clutter** - invisible until alerts trigger
✅ **Dynamic calculation** - automatically adjusts to current yield levels
✅ **Multi-timeframe compatibility** - works on any chart timeframe
✅ **Professional alerts** - with actual basis point calculations
### **🎯 Use Case:**
Perfect for traders and investors who understand that **debt refinancing pressure** and **unrealized bank losses** create systemic risks that manifest through interest rate volatility. When rates spike rapidly, leveraged positions unwind and markets crash.
**"Every point costs us $360 billion a year. Think of that."** - This indicator helps you see those critical rate movements before the market does.
---
**Disclaimer:** This indicator is for educational purposes. Past performance does not guarantee future results. Always manage risk appropriately.
---
This description positions your indicator as a **serious professional tool** based on real market analysis rather than just another technical indicator! 🚀
Correlation Heatmap Matrix [TradingFinder] 20 Assets Variable🔵 Introduction
Correlation is one of the most important statistical and analytical metrics in financial markets, data mining, and data science. It measures the strength and direction of the relationship between two variables.
The correlation coefficient always ranges between +1 and -1 : a perfect positive correlation (+1) means that two assets or currency pairs move together in the same direction and at a constant ratio, a correlation of zero (0) indicates no clear linear relationship, and a perfect negative correlation (-1) means they move in exactly opposite directions.
While the Pearson Correlation Coefficient is the most common method for calculation, other statistical methods like Spearman and Kendall are also used depending on the context.
In financial market analysis, correlation is a key tool for Forex, the Stock Market, and the Cryptocurrency Market because it allows traders to assess the price relationship between currency pairs, stocks, or coins. For example, in Forex, EUR/USD and GBP/USD often have a high positive correlation; in stocks, companies from the same sector such as Apple and Microsoft tend to move similarly; and in crypto, most altcoins show a strong positive correlation with Bitcoin.
Using a Correlation Heatmap in these markets visually displays the strength and direction of these relationships, helping traders make more accurate decisions for risk management and strategy optimization.
🟣 Correlation in Financial Markets
In finance, correlation refers to measuring how closely two assets move together over time. These assets can be stocks, currency pairs, commodities, indices, or cryptocurrencies. The main goal of correlation analysis in trading is to understand these movement patterns and use them for risk management, trend forecasting, and developing trading strategies.
🟣 Correlation Heatmap
A correlation heatmap is a visual tool that presents the correlation between multiple assets in a color-coded table. Each cell shows the correlation coefficient between two assets, with colors indicating its strength and direction. Warm colors (such as red or orange) represent strong negative correlation, cool colors (such as blue or cyan) represent strong positive correlation, and mid-range tones (such as yellow or green) indicate correlations that are close to neutral.
🟣 Practical Applications in Markets
Forex : Identify currency pairs that move together or in opposite directions, avoid overexposure to similar trades, and spot unusual divergences.
Crypto : Examine the dependency of altcoins on Bitcoin and find independent movers for portfolio diversification.
Stocks : Detect relationships between stocks in the same industry or find outliers that move differently from their sector.
🟣 Key Uses of Correlation in Trading
Risk management and diversification: Select assets with low or negative correlation to reduce portfolio volatility.
Avoiding overexposure: Prevent opening multiple positions on highly correlated assets.
Pairs trading: Exploit temporary deviations between historically correlated assets for arbitrage opportunities.
Intermarket analysis: Study the relationships between different markets like stocks, currencies, commodities, and bonds.
Divergence detection: Spot when two typically correlated assets move apart as a possible trend change signal.
Market forecasting: Use correlated asset movements to anticipate others’ behavior.
Event reaction analysis: Evaluate how groups of assets respond to economic or political events.
❗ Important Note
It’s important to note that correlation does not imply causation — it only reflects co-movement between assets. Correlation is also dynamic and can change over time, which is why analyzing it across multiple timeframes provides a more accurate picture. Combining correlation heatmaps with other analytical tools can significantly improve the precision of trading decisions.
🔵 How to Use
The Correlation Heatmap Matrix indicator is designed to analyze and manage the relationships between multiple assets at once. After adding the tool to your chart, start by selecting the assets you want to compare (up to 20).
Then, choose the Correlation Period that fits your trading strategy. Shorter periods (e.g., 20 bars) are more sensitive to recent price movements, making them suitable for short-term trading, while longer periods (e.g., 100 or 200 bars) provide a broader view of correlation trends over time.
The indicator outputs a color-coded matrix where each cell represents the correlation between two assets. Warm colors like red and orange signal strong negative correlation, while cool colors like blue and cyan indicate strong positive correlation. Mid-range tones such as yellow or green suggest correlations that are close to neutral. This visual representation makes it easy to spot market patterns at a glance.
One of the most valuable uses of this tool is in portfolio risk management. Portfolios with highly correlated assets are more vulnerable to market swings. By using the heatmap, traders can find assets with low or negative correlation to reduce overall risk.
Another key benefit is preventing overexposure. For example, if EUR/USD and GBP/USD have a high positive correlation, opening trades on both is almost like doubling the position size on one asset, increasing risk unnecessarily. The heatmap makes such relationships clear, helping you avoid them.
The indicator is also useful for pairs trading, where a trader identifies assets that are usually correlated but have temporarily diverged — a potential arbitrage or mean-reversion opportunity.
Additionally, the tool supports intermarket analysis, allowing traders to see how movements in one market (e.g., crude oil) may impact others (e.g., the Canadian dollar). Divergence detection is another advantage: if two typically aligned assets suddenly move in opposite directions, it could signal a major trend shift or a news-driven move.
Overall, the Correlation Heatmap Matrix is not just an analytical indicator but also a fast, visual alert system for monitoring multiple markets at once. This is particularly valuable for traders in fast-moving environments like Forex and crypto.
🔵 Settings
🟣 Logic
Correlation Period : Number of bars used to calculate correlation between assets.
🟣 Display
Table on Chart : Enable/disable displaying the heatmap directly on the chart.
Table Size : Choose the table size (from very small to very large).
Table Position : Set the table location on the chart (top, middle, or bottom in various alignments).
🟣 Symbol Custom
Select Market : Choose the market type (Forex, Stocks, Crypto, or Custom).
Symbol 1 to Symbol 20: In custom mode, you can define up to 20 assets for correlation calculation.
🔵 Conclusion
The Correlation Heatmap Matrix is a powerful tool for analyzing correlations across multiple assets in Forex, crypto, and stock markets. By displaying a color-coded table, it visually conveys both the strength and direction of correlations — warm colors for strong negative correlation, cool colors for strong positive correlation, and mid-range tones such as yellow or green for near-zero or neutral correlation.
This helps traders select assets with low or negative correlation for diversification, avoid overexposure to similar trades, identify arbitrage and pairs trading opportunities, and detect unusual divergences between typically aligned assets. With support for custom mode and up to 20 symbols, it offers high flexibility for different trading strategies, making it a valuable complement to technical analysis and risk management.
VWATR + VIX + VVIX Trend Regime### 🤖 VWATR + VIX + VVIX Trend Regime — Your Ultimate Volatility Dashboard! 📊
This isn't just another indicator; it's a comprehensive dashboard that brings together everything you need to understand market volatility focused on Futures. It merges price-based movement with market-wide fear and sentiment, giving you a powerful edge in your trading and risk management. Think of it as your personal volatility sidekick, ready to help you navigate market uncertainty like a pro!
***
### ✨ What's Inside?
* **VWATR (Volume-Weighted ATR):** A super-smart measure of price movement that pays close attention to where the big money is flowing.
* **VIX (The "Fear Gauge"):** Tracks the expected volatility of the S&P 500, essentially telling you how nervous the market is feeling.
* **VVIX (The "VIX of VIX"):** This one's for the pros! It measures how volatile the VIX itself is, giving you an early heads-up on potential fear spikes.
* **VX Term Structure:** A clever way to see if traders are preparing for a crisis. It compares the two nearest VIX futures to spot a rare signal called "backwardation."
* **Z-Scores:** It helps you spot when VIX and VVIX are at historic highs or lows, making it easier to predict when things might return to normal.
* **Divergence Score:** A unique tool to flag potential market shifts when the VIX and VVIX start moving in completely different directions.
* **Regime Classification:** The script automatically labels the market as "Full Panic," "Known Crisis," "Surface Calm," "Stress," or "Normal," so you always know where you stand.
* **Gradient Bars:** A visual treat! The background of your chart changes color to reflect real-time volatility shifts, giving you an instant feel for the market's mood.
* **Alerts:** Get push notifications on your phone for key events like "Full Panic" or "Backwardation" so you never miss a beat.
***
### 📝 Panel/Table Outputs
This is your mission control! The on-screen table gives you a clean summary of the current market regime, VIX and VVIX values, their ratios, term structure, Z-scores, and signals. Everything you need, right where you can see it.
***
### 🚀 How to Get Started
1. **Check your data:** You'll need access to real-time data for VIX, VVIX, VX1!, and VX2!. A paid subscription might be necessary for this.
2. **Add it to your chart:** Use the indicator on any chart (we've set it to `overlay=false`) to get your full volatility dashboard.
3. **Tweak it to perfection:** Head over to the Settings panel to customize the thresholds, colors, and your all-important "Jolt Value."
4. **Start trading smarter:** Use the dashboard to inform your trades, hedge your portfolio, and manage risk with confidence.
***
### ⚙️ Customization & Key Settings
* `showVWATR`: Toggle your price-volatility metric on or off.
* `showExpectedVol`: See the expected volatility as a percentage of the current price.
* `joltLevel`: This is a very important line on your chart! It's your personal trigger for when volatility is getting a little too wild. More on this below.
* `enableGradientBars`: Turn the awesome colored background on or off.
* `enableTable`: Hide or show your information table.
* `VIX/VVIX/VX1!/VX2! symbols`: If your broker uses different symbols for these, you can change them here.
* `VIX/VVIX thresholds`: Adjust these levels to fine-tune the indicator to your personal risk tolerance.
***
### 💡 Jolt Value: A Quick Guide for Smart Traders 🧠
The **jolt value** is your personal tripwire for volatility. Think of it as a warning light on your car's dashboard. You set the level, and when volatility (VWATR) crosses that line, you get an instant signal that something interesting is happening.
**How to Set Your Jolt Value:**
The ideal jolt value is dynamic. You want to keep it just a little above the current VIX level to stay alert without getting too many false alarms.
| Current VIX Level | Market Regime | Recommended Jolt Value |
| :--- | :--- | :--- |
| Under 15 | Calm/Complacent | 15–16 |
| 15–20 | Typical/Normal | 16–18 |
| 20–30 | Cautious/Active | 18–22 |
| Over 30 | Stress/Panic | 30+ |
**A Pro Tip for August 2025:** Since the VIX is hovering around 14.7, setting your jolt value to **16.5** is a great starting point for keeping an eye on things. If the VIX starts to climb above 20, you should adjust your jolt level to match the new reality.
***
### ⚠️ Important Things to Note
* You might experience some data delays if you're not on a paid TradingView plan or your broker does not provide real-time data for the VIX also VIX is only active during NY session, so it's not advised to use it outside of normal trading hours!
US Macro Cycle (Z-Score Model)US Macro Cycle (Z-Score Model)
This indicator tracks the US economic cycle in real time using a weighted composite of seven macro and market-based indicators, each converted into a rolling Z-score for comparability. The model identifies the current phase of the cycle — Expansion, Peak, Contraction, or Recovery — and suggests sector tilts based on historical performance in each phase.
Core Components:
Yield Curve (10y–2y): Positive & steepening = growth; inverted = slowdown risk.
Credit Spreads (HYG/LQD): Tightening = risk-on; widening = risk-off.
Sector Leadership (Cyclicals vs. Defensives): Measures market leadership regime.
Copper/Gold Ratio: Higher copper = growth signal; higher gold = defensive.
SPY vs. 200-day MA: Equity trend strength.
SPY/IEF Ratio: Stocks vs. bonds relative strength.
VIX (Inverted): Low/falling volatility = supportive; high/rising = risk-off.
Methodology:
Each series is transformed into a rolling Z-score over the selected lookback period (optionally using median/MAD for robustness and winsorization to clip outliers).
Z-scores are combined using user-defined weights and normalized.
The smoothed composite is compared against phase thresholds to classify the macro environment.
Features:
Customizable Weights: Emphasize the indicators most relevant to your strategy.
Adjustable Thresholds: Fine-tune cycle phase definitions.
Background Coloring: Visual cue for the current phase.
Summary Table: Displays composite Z, confidence %, and individual Z-scores.
Alerts: Trigger when the phase changes, with details on the composite score and recommended tilt.
Use Cases:
Align sector rotation or relative strength strategies with the macro backdrop.
Identify favorable or defensive phases for tactical allocation.
Monitor macro turning points to manage portfolio risk.
It's doesn't fill nan gaps so there is quite a bit of zeroes, non-repainting.
ICT Weekly Profiles v3 — CE + MWR + Consolidation Reversal (v6)ICT Weekly Profiles v3 — CE + MWR + Consolidation Reversal (v6)
rsi 8 beta 2🔔 How to Use for Entry
BUY Entry when:
Yellow BUY arrow appears
GOLD bar > USD bar
Delta (strength difference) is positive
SELL Entry when:
Blue SELL arrow appears
USD bar > GOLD bar
Delta is negative
Exit either on the opposite arrow or when strength starts weakening.
rsi beta 1📊 Part 1 — Strength Meter (Table)
At the top-right (or wherever you set in the settings) there’s a meter with two bars:
USD (blue/aqua)
GOLD (yellow)
Longer bar = stronger currency.
If GOLD’s bar is longer than USD’s → Gold is stronger (XAUUSD bullish bias).
If USD’s bar is longer than GOLD’s → Gold is weaker (XAUUSD bearish bias).
📉 Part 2 — Candlestick Colors
Pale yellow candles = Gold is stronger than USD.
Pale blue candles = USD is stronger than Gold.
📌 Part 3 — Signal Arrows
Yellow triangle below candle = BUY signal → Gold strength just crossed above USD strength.
Blue triangle above candle = SELL signal → Gold strength just crossed below USD strength.
💬 Part 4 — Price Labels (Optional)
If Show Price Label is turned ON:
Arrows will display the price:
"RSI8 BUY Price" for buy signals
"RSI8 SELL Price" for sell signals
🔔 How to Use for Entry
BUY Entry when:
Yellow BUY arrow appears
GOLD bar > USD bar
Delta (strength difference) is positive
SELL Entry when:
Blue SELL arrow appears
USD bar > GOLD bar
Delta is negative
Exit either on the opposite arrow or when strength starts weakening.
Time & Sales (Tape) - TableWhat it is
A compact Time & Sales (tape) visualizer rendered as a table on your chart. It reconstructs prints from a lower timeframe (e.g., 1-second) or, optionally, streams them in Live Tick mode. Each row shows Date, Time, Side (▲ up / ▼ down), Last, and Volume (or Price Volume), with a dynamic scale bar summarizing buy vs sell activity across the visible rows.
Note for newcomers
This is not a “go-to” oscillator or a signal generator. It’s an old-school tape reader that shows the market’s pulse in real time—prints, pace, and the balance between buying and selling. It’s descriptive, not predictive. Use it to observe flow and context on top of your existing method (price/volume/structure), not as a stand-alone “magic wand.”
What it shows
Date: user-selectable format (YYYY-MM-DD, DD-MM-YYYY, MM-DD, DD-MM).
Time: formatted in the selected timezone (New York - UTC-5/-4 by default).
Side: ▲ when last price increased vs the previous print, ▼ when it decreased.
Last: last traded price (formatted to symbol tick size).
Volume: either raw Volume or Price Volume (= HLC3 × Volume).
Dynamic Scale Bar: stacked “blocks” showing the proportion of buy vs sell volume over the current table window.
How it works
When Implement By Timeframe
Aggregates prints from a user-selected lower timeframe (using request.security_lower_tf). If the chosen timeframe is invalid (i.e., higher than the chart), it automatically falls back to 1S. The table is rebuilt on the last bar update.
When Implement By Live Tick
Streams prints only while the chart is in real time (using barstate.isrealtime). This mode does not backfill historical ticks; it appends as new ticks arrive.
Inputs
Timezone: maps timestamps to your chosen session/region.
Date Format: YYYY-MM-DD, DD-MM-YYYY, MM-DD, or DD-MM.
Table Location / Size: choose where the table sits and its font size.
Show Dynamic Volume Scale Bar: toggle the header scale bar.
Implement By: Timeframe (lower-TF reconstruction) or Live Tick.
Timeframe: lower-TF source (e.g., 1S). Falls back automatically if invalid.
Length (№ of Rows): number of rows displayed.
Size Type
Volume = raw exchange volume.
Price Volume = HLC3 × Volume (emphasizes prints at higher prices).
Repainting
Does not repaint historical rows.
Timeframe mode reconstructs from completed lower-TF bars and draws a fixed history window.
Live Tick mode only adds rows in real time; no historical backfill.
The table itself is redrawn on the last bar update for layout, but previously printed rows aren’t revised with future data.
Notes & limitations
Lower-TF aggregation depends on data availability for your symbol/plan. If you request very granular timeframes far back in history, data may be limited by platform constraints.
For performance on long histories, reduce Length (№ of Rows) or use Timeframe mode with 1S/5S as appropriate.
“Price Volume” is a derived metric, not exchange-reported volume. Use it if you want to weight volume by price (HLC3).
Use case
This module provides a fast, at-a-glance tape read directly on the chart: spot bursts of buys vs sells, see the pace and size of flow, and reference exact date/time and last price without leaving your layout. It’s designed as a supporting tool for discretionary execution and for documenting trade ideas that reference tape behavior.
Credits
Timezone helper: n00btraders/Timezone (imported library).
Built for Pine v6.
Disclosure
This script is an educational visualization. It does not place trades and is not financial or investment advice.
SMZ Scanner 1H (Fib 0.618–0.786) — stableQuickly spot when your watchlist tickers enter high-probability Smart Money Zones. This scanner checks up to 40 symbols on 1-hour candles, using the 0.618–0.786 Fibonacci retracement of the latest impulse leg (based on swing highs/lows).
What it does:
• Scans your custom list of tickers (up to 40 at once).
• Identifies fresh bullish or bearish impulses.
• Marks when price enters the key Fib retracement zone.
• Sends one clean alert per bar with all tickers that just hit.
Perfect for:
Swing traders and intraday traders tracking Smart Money Zone re-entries without flipping through dozens of charts.
915 Candle High/Low RaysDraws horizontal rays from the high and low of the first 5-minute candle for any selected date in the NSE equity session (09:15–15:30). Features include:
- Date picker for any trading day (defaults to today, exchange timezone)
- Session-limited rays (do not extend past the session end)
- Option to project levels to all timeframes
- Customizable ray style, label display, and color
- Optional breakout alerts for high/low crossing
- Designed for Indian markets and any NSE equity symbol
Multi - Timeframe 3 EMA Bull/Bear Table此指标是一个图标指标,适用于短线交易以及中线交易,它明确的显示出来了用EMA来表示方向指示,1分钟不可使用,此图表更新了多次以及修改了多次,在实际回测中有明显的提醒作用,不过多用于参考,不可作为主要指标使用,代码稍复杂如有加以改进的地方请提出,其中核心使用了EMA的20,50,200周期来作为参考,目的是能识别多周期和时间的方向指示,注意:此指标建议仅用于方向参考,不用于主要指标交易。
This indicator is a graphical indicator suitable for short-term and medium-term trading. It clearly shows the direction indicated by the EMA. It cannot be used for 1-minute intervals. This chart has been updated and modified multiple times, and it has a significant alerting effect in actual backtesting; however, it is mainly for reference and should not be used as the primary indicator. The code is somewhat complex, so please suggest improvements if there are any. The core uses the 20, 50, and 200 EMA periods as references, with the aim of identifying the direction indicators across multiple periods and timeframes. Note: This indicator is recommended only for directional reference and not for main indicator trading.
Breakout Volume Momentum [5m]Breakout Volume Momentum Indicator (Pine Script v5)
This TradingView Pine Script v5 indicator plots a green dot below a 5-minute price bar whenever all the breakout and volume conditions are met. It is optimized for live intraday trading (not backtesting) and includes customizable inputs for thresholds and trading session times. Key features and conditions of this indicator:
Gap Up Threshold: Current price is up at least X% (default 20%) from the previous day’s close (uses higher-timeframe daily data) before any signal can trigger.
Relative Volume (RVOL): Current bar’s volume is at least Y× (default 2×) the average volume of the last 20 bars. This ensures unusually high volume is present, indicating strong interest.
Trend Alignment: Price is trading above the VWAP (Volume-Weighted Average Price) and above a fast EMA. In addition, the fast EMA (default 9) is above the slower EMA (default 20) to confirm bullish momentum
tradingview.com
tradingview.com
. These filters ensure the stock is in an intraday uptrend (above the average price and rising EMAs).
Intraday Breakout (optional): Optionally require the price to break above the recent intraday high (default last 30 bars). If enabled, a signal only occurs when the stock exceeds its prior range high, confirming a breakout. This can be toggled on/off in the settings.
Avoid Parabolic Spikes: The script skips any bar with an excessively large range (default >12% from low to high), to avoid triggering on spiky or unsustainable parabolic candles.
Time Window Filter: Signals are restricted to a specific session window (by default 09:30 – 11:00 exchange time, typically the morning session) and will not trigger outside these hours. The session window is adjustable via inputs
stackoverflow.com
.
Alerts: An alert condition is provided so you can set a Trading View alert to send a push notification when a green dot signal fires. The alert message includes the ticker and price at the time of signal.
Combined Futures Open Interest [Sam SDF-Solutions]The Combined Futures Open Interest indicator is designed to provide comprehensive analysis of market positioning by aggregating open interest data from the two nearest futures contracts. This dual-contract approach captures the complete picture of market participation, including rollover dynamics between front and back month contracts, offering traders crucial insights into institutional positioning and market sentiment.
Key Features:
Dual-Contract Aggregation: Automatically identifies and combines open interest from the first and second nearest futures contracts (e.g., ES1! + ES2!), providing a complete view of market positioning that single-contract analysis might miss.
Multi-Period Analysis: Tracks open interest changes across multiple timeframes:
1 Day: Immediate market sentiment shifts
1 Week: Short-term positioning trends
1 Month: Medium-term institutional flows
3 Months: Quarterly positioning aligned with contract expiration cycles
Smart Data Handling: Utilizes last known values when data is temporarily unavailable, preventing false signals from data gaps while clearly indicating when stale data is being used.
EMA Smoothing: Incorporates a customizable Exponential Moving Average (default 65 periods) to identify the underlying trend in open interest, filtering out daily noise and highlighting significant deviations.
Dynamic Visualization:
Color-coded main line showing directional changes (green for increases, red for decreases)
Optional fill areas between OI and EMA to visualize momentum
Separate contract lines for detailed rollover analysis
Customizable labels for significant percentage changes
Comprehensive Information Table: Displays real-time statistics including:
Current total open interest across both contracts
Period-over-period changes in absolute and percentage terms
EMA deviation metrics
Visual status indicators for quick assessment
Contract symbols and data quality warnings
Alert System: Configurable alerts for:
Significant daily changes (customizable threshold)
EMA crossovers indicating trend changes
Large percentage movements suggesting institutional activity
How It Works:
Contract Detection: The indicator automatically identifies the base futures symbol and constructs the appropriate contract codes for the two nearest expirations, or accepts manual symbol input for non-standard contracts.
Data Aggregation: Open interest data from both contracts is retrieved and summed, providing a complete picture that accounts for positions rolling between contracts.
Historical Comparison: The indicator calculates changes from multiple lookback periods (1/5/22/66 days) to show how positioning has evolved across different time horizons.
Trend Analysis: The EMA overlay helps identify whether current open interest is above or below its smoothed average, indicating momentum in position building or reduction.
Visual Feedback: The main line changes color based on daily changes, while the optional table provides detailed numerical analysis for traders requiring precise data.
___________________
This indicator is essential for futures traders, particularly those focused on index futures, commodities, or currency futures where understanding the aggregate positioning across nearby contracts is crucial. It's especially valuable during rollover periods when positions shift between contracts, and for identifying institutional accumulation or distribution patterns that single-contract analysis might miss. By combining multiple timeframe analysis with intelligent data handling and clear visualization, it simplifies the complex task of monitoring open interest dynamics across the futures curve.
Demand Index (James Sibbet)This indicator is a faithful implementation of James Sibbet’s Demand Index — a leading volume-price oscillator designed to anticipate trend reversals, confirm momentum, and highlight divergences between price and volume pressure.
Key Features
• Original Sibbet Formula with H + L + 2C price input and 0.375 exponential factor.
• Buy/Sell Power Calculation with EMA smoothing (ATAS default settings).
• Demand Index SMA for trend confirmation.
• Zero-Line Centering for quick bullish/bearish identification.
• Red/Green Coloring for immediate sentiment visualization.
How to Use
1. Above Zero → Bullish pressure dominates (green).
2. Below Zero → Bearish pressure dominates (red).
3. Divergences → Price making new highs/lows without confirmation in DI often precedes reversals.
4. Use DI SMA for signal smoothing and better trend filtering.
IU Indicators DashboardDESCRIPTION
The IU Indicators Dashboard is a comprehensive multi-stock monitoring tool that provides real-time technical analysis for up to 10 different stocks simultaneously. This powerful indicator creates a customizable table overlay that displays the trend status of multiple technical indicators across your selected stocks, giving you an instant overview of market conditions without switching between charts.
Perfect for portfolio monitoring, sector analysis, and quick market screening, this dashboard consolidates critical technical data into one easy-to-read interface with color-coded trend signals.
USER INPUTS
Stock Selection (10 Configurable Stocks):
- Stock 1-10: Customize any symbols (Default: NSE:CDSL, NSE:RELIANCE, NSE:VEDL, NSE:TCS, NSE:BEL, NSE:BHEL, NSE:TATAPOWER, NSE:TATASTEEL, NSE:ITC, NSE:LT)
Technical Indicator Parameters:
- EMA 1 Length: First Exponential Moving Average period (Default: 20)
- EMA 2 Length: Second Exponential Moving Average period (Default: 50)
- EMA 3 Length: Third Exponential Moving Average period (Default: 200)
- RSI Length: Relative Strength Index calculation period (Default: 14)
- SuperTrend Length: SuperTrend indicator period (Default: 10)
- SuperTrend Factor: SuperTrend multiplier factor (Default: 3.0)
Visual Customization:
- Table Size: Choose from Normal, Tiny, Small, or Large
- Table Background Color: Customize dashboard background
- Table Frame Color: Set frame border color
- Table Border Color: Configure border styling
- Text Color: Set text display color
- Bullish Color: Color for positive/bullish signals (Default: Green)
- Bearish Color: Color for negative/bearish signals (Default: Red)
LOGIC OF THE INDICATOR
The dashboard employs a multi-timeframe analysis approach using five key technical indicators:
1. Triple EMA Analysis
- Compares current price against three different EMA periods (20, 50, 200)
- Bullish Signal: Price above EMA level
- Bearish Signal: Price below EMA level
- Provides short-term, medium-term, and long-term trend perspective
2. RSI Momentum Analysis
- Uses 14-period RSI with 50-level threshold
- Bullish Signal: RSI > 50 (upward momentum)
- Bearish Signal: RSI < 50 (downward momentum)
- Identifies momentum strength and potential reversals
3. SuperTrend Direction
- Utilizes SuperTrend with configurable length and factor
- Bullish Signal: SuperTrend direction = -1 (uptrend)
- Bearish Signal: SuperTrend direction = 1 (downtrend)
- Provides clear trend direction with volatility-adjusted signals
4. MACD Histogram Analysis
- Uses standard MACD (12, 26, 9) histogram values
- Bullish Signal: Histogram > 0 (bullish momentum)
- Bearish Signal: Histogram < 0 (bearish momentum)
- Identifies momentum shifts and trend confirmations
5. Real-time Data Processing
- Implements request.security() for multi-symbol data retrieval
- Uses barstate.isrealtime logic for accurate live data
- Processes data only on the last bar for optimal performance
WHY IT IS UNIQUE
Multi-Stock Monitoring
- Monitor up to 10 different stocks simultaneously on a single chart
- No need to switch between multiple charts or timeframes
Highly Customizable Interface
- Full color customization for personalized visual experience
- Adjustable table size and positioning
- Clean, professional dashboard design
Real-time Analysis
- Live data processing with proper real-time handling
- Instant visual feedback through color-coded signals
- Optimized performance with smart data retrieval
Comprehensive Technical Coverage
- Combines trend-following, momentum, and volatility indicators
- Multiple timeframe perspective through different EMA periods
- Balanced approach using both lagging and leading indicators
Flexible Configuration
- Easy symbol switching for different markets (NSE, BSE, NYSE, NASDAQ)
- Adjustable indicator parameters for different trading styles
- Suitable for both swing trading and position trading
HOW USERS CAN BENEFIT FROM IT
Portfolio Management
- Quick Portfolio Health Check: Instantly assess the technical status of your entire stock portfolio
- Diversification Analysis: Monitor stocks across different sectors to ensure balanced exposure
- Risk Management: Identify which positions are showing bearish signals for potential exit strategies
- Rebalancing Decisions: Spot strongest performers for potential position increases
Market Screening and Analysis
- Sector Rotation: Compare different sector stocks to identify rotation opportunities
- Relative Strength Analysis: Quickly identify which stocks are outperforming or underperforming
- Market Breadth Assessment: Gauge overall market sentiment by monitoring diverse stock selections
- Trend Confirmation: Validate market trends by observing multiple stock behaviors
Time-Efficient Trading
- Single-Glance Analysis: Get complete technical overview without chart-hopping
- Pre-Market Preparation: Quickly assess overnight changes across multiple positions
- Intraday Monitoring: Track multiple opportunities simultaneously during trading hours
- End-of-Day Review: Efficiently review all watched stocks for next-day planning
Strategic Decision Making
- Entry Point Identification: Spot stocks showing bullish alignment across multiple indicators
- Exit Signal Recognition: Identify positions showing deteriorating technical conditions
- Swing Trading Opportunities: Find stocks with favorable technical setups for swing trades
- Long-term Investment Guidance: Use 200 EMA signals for long-term position decisions
Educational Benefits
- Pattern Recognition: Learn how different indicators behave across various market conditions
- Correlation Analysis: Understand how stocks move relative to each other
- Technical Analysis Learning: Observe multiple indicator interactions in real-time
- Market Sentiment Understanding: Develop better market timing skills through multi-stock observation
Workflow Optimization
- Reduced Chart Clutter: Keep your main chart clean while monitoring multiple stocks
- Faster Analysis: Complete technical analysis of 10 stocks in seconds instead of minutes
- Consistent Methodology: Apply the same technical criteria across all monitored stocks
- Alert Integration: Easy visual identification of stocks requiring immediate attention
This indicator is designed for traders and investors who want to maximize their market awareness while minimizing analysis time. Whether you're managing a portfolio, screening for opportunities, or learning technical analysis, the IU Indicators Dashboard provides the comprehensive overview you need for better trading decisions.
DISCLAIMER :
This indicator is not financial advice, it's for educational purposes only highlighting the power of coding( pine script) in TradingView, I am not a SEBI-registered advisor. Trading and investing involve risk, and you should consult with a qualified financial advisor before making any trading decisions. I do not guarantee profits or take responsibility for any losses you may incur.
RSI (14) with Auto Zone Colors — Overbought/Oversold HighlighterThis indicator plots the Relative Strength Index (RSI 14) with dynamic color changes for instant visual clarity:
✅ Green line in overbought zone (≥70)
✅ Red line in oversold zone (≤30)
✅ White line in neutral range (30–70)
Includes reference lines at 70, 50, and 30 for quick decision-making. Perfect for spotting momentum extremes, divergences, and potential reversal points without squinting at numbers. Works on any timeframe.
Quant Signals: Entropy w/ ForecastThis is the first of many quantitative signals I plan to create for TV users.
Most technical analysis (TA) tools—like moving averages, oscillators, or chart patterns—are heuristic: they’re based on visually identifiable shapes, threshold crossovers, or empirically chosen rules. These methods rarely quantify the information content or structural complexity of market data. By quantifying market predictability before making a forecast, this method filters out noise and focuses your trading only during statistically favorable conditions—something traditional TA cannot objectively measure.
This MEPP-based approach is quantitative and model-free:
It comes from information theory and measures Shannon entropy rate to assess how predictable the market is at any moment.
Instead of interpreting price formations, it uses a data-compression algorithm (Lempel–Ziv) to capture hidden structure in the sequence of returns.
Forecasts are generated using a principle from statistical physics (Maximum Entropy Production), not historical chart patterns.
In short, this method measures the market's predictability BEFORE deciding a directional forecast is worth trusting. This tool is to inform TA traders on the market's current regime, whether it is smooth and predictable or it is volatile and turbulent.
Technical Introduction:
In information theory, Shannon entropy measures the uncertainty (or information content) in a sequence of data. For markets, the entropy rate captures how much new information price returns generate over time:
Low entropy rate → price changes are more structured and predictable.
High entropy rate → price changes are more random and unpredictable.
By discretizing recent returns into quartile-based states, this indicator:
Calculates the normalized entropy rate as a regime filter.
Uses MEPP to forecast the next state that maximizes entropy production.
Displays both the regime status (predictable vs chaotic) and the forecast bias (bullish/bearish) in a dashboard.
Measurements & How to Use Them
TLDR: HIGH ENTROPY -> information generation/market shift -> Don't trust forecast/strategy
1. H (bits/sym)
Shannon entropy rate of the last μ discrete returns, in bits per symbol (0–2).
Lower → more predictable; higher → more random.
Use as a raw measure of market structure.
2. H_max (log₂Ω)
Theoretical maximum entropy for Ω states. Here Ω = 4 → H_max = 2.0 bits.
Reference value for normalization.
3. Entropy (norm)
H / H_max, scaled between 0 and 1.
< 0.5–0.6 → predictable regime; > 0.6 → chaotic regime.
Main regime filter — forecasts are more reliable when below your threshold.
4. Regime
Label based on Entropy (norm) vs your entThresh.
LOW (predictable) = higher odds forecast will be correct.
HIGH (chaotic) = forecasts less reliable.
5. Next State (MEPP Forecast)
Discrete return state (1–4) predicted to occur next, chosen to maximize entropy production:
Large Down (strong bearish)
Small Down (mild bearish)
Small Up (mild bullish)
Large Up (strong bullish)
Use as your bias direction.
6. Bias
Simplified label from the Next State:
States 1–2 = Bearish bias (red)
States 3–4 = Bullish bias (green)
Align strategy direction with bias only in LOW regime.