NeuroSwarm BTC — Crowd vs Experts Forecast TrackerEnglish:
NeuroSwarm — Crowd vs Experts Forecast Tracker (BTC)
This indicator visualizes monthly forecasts collected from two independent groups:
Crowd – a large sample of retail traders
Experts – a smaller, curated group of analysts and experienced market participants
For each month, the following values are displayed as horizontal levels on the chart:
Median forecast of the Crowd
Average forecast of the Crowd
Median forecast of Experts
Average forecast of Experts
Shaded zones showing the range between median and mean
The values remain fixed throughout each month. This allows traders to compare sentiment dynamics between groups and see how expectations evolve relative to actual market movement.
Purpose:
This indicator is designed for sentiment analysis — NOT for generating trading signals.
It helps identify divergences between retail expectations and expert forecasts, which can be informative during trend transitions.
Data source:
All values come from monthly surveys conducted within the NeuroSwarm project (1–5 of every month).
Crowd and Expert groups are collected separately to avoid bias and to preserve independent aggregation.
Interface language note:
The indicator’s interface may contain non-English labels for ease of use, but full English documentation is provided here in compliance with TradingView House Rules.
Русская версия (optional, allowed only AFTER English):
NeuroSwarm — Мудрость Толпы vs Эксперты (BTC)
Индикатор показывает ежемесячные прогнозы двух групп:
Толпа: медиана и средняя прогнозов
Эксперты: медиана и средняя прогнозов
Значения фиксируются на весь месяц и отображаются на графике горизонтальными уровнями.
Заливка показывает диапазон между медианой и средней.
Цель индикатора — визуализировать настроение толпы и экспертов и сравнить его с реальным движением цены.
Это аналитический инструмент, а не торговая стратегия.
Данные берутся из ежемесячных опросов (1–5 числа), проводимых в рамках проекта NeuroSwarm.
Sentiment
RRG Style RS & Momentum (vs Benchmark) by AKM
## What this indicator does
This indicator is an **RRG‑style Relative Strength & Momentum tool**.
It compares the current symbol to a chosen benchmark (e.g. NIFTY / NIFTY 500) and plots:
- **RS‑Ratio**: Out/under‑performance of the symbol vs the benchmark, normalized around 100.
- **RS‑Momentum**: Momentum of that relative strength, also normalized around 100.
- **RS‑Signal**: A smoothed signal line of RS‑Ratio (EMA of RS‑Ratio).
Using these two axes (RS‑Ratio and RS‑Momentum), each bar is classified into one of four **RRG‑style quadrants**:
- **LEADING** – RS‑Ratio > 100 and RS‑Momentum > 100
- **WEAKENING** – RS‑Ratio > 100 and RS‑Momentum < 100
- **LAGGING** – RS‑Ratio < 100 and RS‑Momentum < 100
- **IMPROVING** – RS‑Ratio < 100 and RS‑Momentum > 100
The chart background is color‑coded by quadrant, and a label on the center (100) line shows the current zone name (LEADING / WEAKENING / LAGGING / IMPROVING) in real time.
> **Concept credit:**
> The conceptual framework of “Relative Strength vs Momentum” in four quadrants (Leading, Weakening, Lagging, Improving) is inspired by **Relative Rotation Graphs® (RRG®)**, created by **Julius de Kempenaer** and commercialized through RRG Research and platforms like Bloomberg, StockCharts, Optuma, etc.
> This script is only an RRG‑inspired *1‑symbol vs benchmark* implementation inside Pine, not an official RRG product.
***
## Inputs
- **Benchmark symbol**:
Default `NSE:NIFTY`. You can set `NSE:NIFTY500`, `NSE:BANKNIFTY`, sector indices, etc.
- **RS base length (`rsLen`)**:
EMA length for smoothing the raw price ratio (symbol / benchmark). Lower = more sensitive, higher = smoother.
- **Smoothing length (`smoothLen`)**:
Secondary smoothing for RS‑Ratio. Default 14.
- **Signal length (`signalLen`)**:
EMA length for the RS‑Signal line (EMA of RS‑Ratio).
- **Momentum length (`momLen`)**:
Lookback for optional ROC‑based momentum.
- **Use ROC‑based momentum**:
If `false` (default): RS‑Momentum is computed as RS‑Ratio / EMA(RS‑Ratio) × 100 (ratio‑style).
If `true`: RS‑Momentum uses ROC(RS‑Ratio, momLen) + 100 (ROC‑style).
- **Show quadrant background**:
Toggles colored background by quadrant.
- **Show zone name on background**:
Shows a label on the 100‑line with the current quadrant name.
***
## How to read it
There is a horizontal center line at **100**:
- **RS‑Ratio > 100** → symbol is outperforming the benchmark.
- **RS‑Ratio < 100** → symbol is underperforming the benchmark.
- **RS‑Momentum > 100** → relative strength is improving (momentum picking up).
- **RS‑Momentum < 100** → relative strength is fading.
The four zones behave similar to classic RRG quadrants:
- **LEADING (lime/green background)**
- RS‑Ratio > 100 and RS‑Momentum > 100.
- Symbol is **stronger than the benchmark and momentum is strong**.
- This is where leadership typically resides.
- **WEAKENING (orange background)**
- RS‑Ratio > 100 and RS‑Momentum < 100.
- Still outperforming, but momentum is rolling over.
- Late‑stage leadership / time to be more selective and manage exits.
- **LAGGING (red background)**
- RS‑Ratio < 100 and RS‑Momentum < 100.
- Underperforming with weak momentum.
- Worst zone for aggressive longs.
- **IMPROVING (green background)**
- RS‑Ratio < 100 and RS‑Momentum > 100.
- Still weaker than benchmark, but momentum is improving.
- Early turnaround zone where future leaders often start.
The **white RS‑Signal line** is just a smoother of RS‑Ratio, helpful to visually see RS trend and crossovers.
***
## Practical trading use (RRG‑style workflow)
This indicator is designed as a **selection and context filter**, not a stand‑alone entry/exit system.
### 1. Sector and stock selection
1. Apply it to **sector indices** vs a broad benchmark (e.g., Nifty IT vs NIFTY 500, Nifty Auto vs NIFTY 500).
2. Focus on sectors where:
- The zone label is **IMPROVING → LEADING** over recent bars.
- RS‑Ratio is rising and staying above 100 in LEADING.
3. Then, on individual stocks inside those strong sectors, use the same benchmark and indicator:
- Prefer stocks that are also in **LEADING** (or just moved from **IMPROVING** into **LEADING**).
This recreates the essence of using RRG to find sectors/stocks with strong relative strength and momentum.
### 2. Combining with your price setup
Once a stock/sector passes the RS filter:
- Use your own price‑action / indicator rules for entries (EMA trends, VWAP pullbacks, breakouts, etc.).
- Example for longs:
- Only take long setups when:
- Sector index AND stock are in **LEADING** or newly from **IMPROVING → LEADING**, and
- Price is in an uptrend on your main chart (e.g., above 20/50 EMA, higher highs and higher lows).
### 3. Managing exits and rotation
- When a held symbol shifts from **LEADING → WEAKENING → LAGGING** and RS‑Momentum stays < 100, consider:
- Tightening stops.
- Partially booking profits.
- Rotating into other names still in LEADING / IMPROVING.
This mirrors how many investors use “sector rotation” and RRG to stay in stronger groups and reduce exposure in weakening ones.
***
## Disclaimers
- This script is for **educational and analytical purposes only** and is **not financial advice or a recommendation** to buy/sell any security.
- **Relative Rotation Graphs® / RRG®** and the four‑quadrant concept belong to **Julius de Kempenaer and RRG Research**; this Pine implementation is an independent, simplified adaptation for one symbol vs a benchmark and is **not an official RRG product or library**.
Nexural Flow Pro
NEXURAL FLOW PRO
Pure Order Flow Visualization for TradingView
WHAT THIS INDICATOR ACTUALLY IS
Nexural Flow Pro is a buy and sell volume separation tool that visualizes the ongoing battle between buyers and sellers on every bar. It uses TradingViews most accurate native function for approximating order flow by pulling tick direction data from lower timeframes and aggregating it into clean visual columns.
This indicator shows you who is in control right now. Not who was in control yesterday. Not what some lagging moving average thinks. It answers the most fundamental question in trading which is are buyers or sellers more aggressive at this moment.
The core premise is simple. When buyers are hitting the ask aggressively the price tends to go up. When sellers are hitting the bid aggressively the price tends to go down. This indicator attempts to measure that aggression using the best data TradingView provides.
WHAT THIS INDICATOR IS NOT
I need to be completely transparent with you because I believe education matters more than anything else
This is not true order flow. Real order flow requires access to the raw tape which shows every single trade as it happens along with whether it hit the bid or ask. It requires Level 2 depth of market data showing resting limit orders. It requires footprint charts that break down volume at each price level within a candle.
TradingView does not provide any of this data.
What TradingView does provide is tick direction data from lower timeframes which can be aggregated to approximate buy versus sell volume. This approximation is useful but it is not the same as reading the actual tape.
If you are a professional scalper or a futures day trader who needs precision order flow you should be using Sierra Chart or a similar platform with real market depth access. I use Sierra Chart myself for serious order flow work. This indicator exists for traders who either cannot access those platforms or who want supplementary confluence on TradingView.
HOW THE DATA WORKS
The indicator uses a Pine Script function called requestUpAndDownVolume which pulls volume data from a lower timeframe and categorizes it based on tick direction. When price ticks up on that lower timeframe the volume is counted as buying. When price ticks down the volume is counted as selling.
You have four timeframe modes to choose from.
Auto mode selects a sensible lower timeframe based on your current chart. On intraday charts it pulls from the one minute. On daily charts it pulls from the five minute.
Aggressive mode uses the smallest possible timeframe for maximum granularity. On intraday charts this means one second data when available.
Conservative mode uses slightly larger lower timeframes which can reduce noise but also reduces precision.
Custom mode lets you specify exactly which timeframe to pull data from.
When real tick data is not available such as on some symbols or during certain conditions the indicator falls back to a synthetic calculation based on where price closed within the candle range. This fallback is clearly labeled in the info panel so you always know what type of data you are seeing.
THE VISUAL SYSTEM
You have two display modes.
Stacked mode shows buy volume sitting on top of sell volume in a single column. This makes it easy to see total volume at a glance while still understanding the composition. The dividing line between green and red tells you instantly who dominated that bar.
Side by Side mode shows buy volume as an upward histogram and sell volume as a downward histogram. This creates a cleaner separation and makes it easier to compare the raw sizes of each.
Column colors shift based on context. High volume bars get more saturated colors. Low volume bars fade toward gray because they carry less significance. Strong imbalances get even more vivid coloring to draw your attention.
The imbalance glow feature adds a white border around columns where the buy to sell ratio exceeds three to one or vice versa. These moments represent potential exhaustion or continuation signals depending on context.
THE INFO PANEL
The panel in the corner gives you a real time dashboard of the current bar.
Bias tells you whether buyers or sellers are dominant and whether that dominance is mild or strong.
Delta shows the net difference between buy and sell volume. Positive delta means more buying. Negative delta means more selling.
Imbalance displays the ratio between the dominant and passive side. A three to one ratio means the dominant side has three times the volume of the other.
Buy and Sell rows show the actual volume numbers along with their percentage of total volume.
Volume Status tells you whether current volume is high normal or low compared to the fifty bar average. This matters because a strong imbalance on low volume means much less than the same imbalance on high volume.
Session Delta tracks the cumulative delta for the entire trading day. This helps you understand the overall flow bias since the session opened.
The data type indicator in the header shows REAL when you have actual tick data and SYNTH when the indicator is using the fallback calculation.
HOW TO ACTUALLY USE THIS
Here is my honest guidance on extracting value from this tool.
Use it for confluence not as a primary signal. If you see a support level on your chart and Flow Pro shows aggressive buying with a strong imbalance that is meaningful confluence. If you are about to short a resistance level and Flow Pro shows zero selling interest you might reconsider.
Pay attention to volume context. A ninety percent buy bar means nothing if total volume is a fraction of average. Always check the volume status before getting excited about an imbalance.
Watch for divergences between price and delta. If price is making new highs but delta is getting weaker that suggests buying pressure is fading. The opposite is also true. Price making new lows with weakening negative delta can signal seller exhaustion.
Use session delta for intraday bias. If session delta is deeply positive all day and you are looking to short you are fighting the flow. That does not mean you cannot short but you should demand a better setup.
The imbalance glow is a flag not a signal. When you see that white border it means something notable is happening. Whether that something leads to continuation or reversal depends on the context around it. Learn to read what happens after these moments.
Do not use this on low liquidity symbols. The tick direction approximation works best on liquid markets like ES SPY QQQ NQ and major forex pairs. On illiquid small caps the data becomes much less reliable.
STRENGTHS OF THIS APPROACH
This uses the absolute best data source TradingView offers for order flow approximation. There is no secret function or hidden data that would make this more accurate on this platform.
The visualization is clean and immediately readable. You do not need to interpret complex footprints or read raw tape. The information is distilled into an intuitive format.
Session tracking gives you cumulative context that single bar analysis cannot provide.
The honest data labeling tells you exactly what you are looking at. No pretending synthetic data is real.
It works on any symbol and any timeframe with appropriate data source adjustment.
LIMITATIONS YOU NEED TO UNDERSTAND
The tick direction method is an approximation. A large institutional order might execute across multiple price levels and get miscategorized. The indicator cannot know the true intent behind the volume.
There is no price level breakdown. Real footprint charts show you exactly how much volume traded at each price within a bar. This indicator aggregates everything into a single bar level summary.
You cannot see resting orders. The depth of market showing limit orders waiting to be filled is invisible on TradingView. You only see what already traded not what is waiting to trade.
Absorption detection is heuristic based. The indicator can flag high volume bars with small price movement but it cannot confirm whether that volume was actually absorbed by passive limit orders or simply mixed aggressive flow.
The one second data has gaps. Not all symbols support one second resolution and even when they do the data can be incomplete during fast markets.
WHO THIS IS FOR
Swing traders who want to add volume flow context to their technical analysis without switching platforms.
TradingView users who cannot access or afford professional order flow software but want something better than basic volume bars.
Traders learning about order flow concepts who want a visual introduction before moving to more complex tools.
Anyone who uses TradingView as their primary platform and wants the best possible volume analysis within that ecosystem.
WHO THIS IS NOT FOR
Professional scalpers who need millisecond precision and true tape reading. You need Sierra Chart Bookmap or a similar platform.
Traders who expect this to generate automatic buy and sell signals. This is an analysis tool not a signal generator.
Anyone trading illiquid instruments where volume data is sparse or unreliable.
FINAL THOUGHTS
I built this indicator because I wanted the best possible order flow visualization within TradingViews constraints. That meant being honest about what those constraints are rather than pretending they do not exist.
Order flow analysis is genuinely valuable. Understanding whether buyers or sellers are in control gives you an edge that pure price action analysis does not provide. But the quality of that understanding depends entirely on the quality of the underlying data.
On TradingView this indicator represents the ceiling of what is possible. It is not perfect but it is honest and it is useful when applied correctly with realistic expectations.
If this helps you make better trading decisions even occasionally it has done its job.
Trade well.
Nexural Trading
Confluence Retournement Haussier - Ultimate V1This indicator was originally designed to visualize the right moment to enter a position. I buy stocks when they are falling, at the bottom before they rebound.
The 30‑minute chart with its 100 EMA was used as the baseline, but it can be applied to multiple timeframes. I even used it on a 1‑second chart for a ticker, and when there is volume it works wonderfully.
It’s up to you to check whether it fits the ticker you’re analyzing by testing it on historical data.
Drawback: it takes up screen space. Feel free to improve it.
See a ticker in freefall and wonder whether it’s a good time to buy or if it will keep falling? Switch your chart to 30 minutes and watch for triangles and green circles to start appearing.
You could call it momentum. Your background begins to show color when there is confluence. If it stays black, don’t buy.
Already in the trade and the screen turns black? Sell, and wait for the colors to return before buying back in
Confluence Retournement Haussier - Ultimate V1This indicator was originally designed to visualize the right moment to enter a position. I buy stocks when they are falling, at the bottom before they rebound.
The 30‑minute chart with its 100 EMA was used as the baseline, but it can be applied to multiple timeframes. I even used it on a 1‑second chart for a ticker, and when there is volume it works wonderfully.
It’s up to you to check whether it fits the ticker you’re analyzing by testing it on historical data.
Drawback: it takes up screen space. Feel free to improve it.
See a ticker in freefall and wonder whether it’s a good time to buy or if it will keep falling? Switch your chart to 30 minutes and watch for triangles and green circles to start appearing.
You could call it momentum. Your background begins to show color when there is confluence. If it stays black, don’t buy.
Already in the trade and the screen turns black? Sell, and wait for the colors to return before buying back in
RoseTree M2 IndexM2 Money Supply Indicator with 10-Week Offset
This indicator tracks the expansion and contraction of M2 money supply with a 10-week offset, revealing strong correlation with Bitcoin price action. While other traders rely on standard 108/80 day offsets, our modified approach helps front-run market participants as this relationship has become widely recognized alpha.
Use this in combination with our systematic indicators to:
Project potential medium-term market trends
Position before major liquidity-driven moves
Identify divergences that signal potential trend changes
The indicator provides valuable insight into how expanding/contracting liquidity environments affect crypto markets, giving you a meaningful edge in anticipating broader market direction.
UM VIX30-rolling/VIX Ratio oscillatorSUMMARY
A forward-looking volatility tool that often signals VIX spikes and market reversals before they happen. MA direction flips spotlight the moment volatility pressure shifts.
DESCRIPTION
This indicator compares spot VIX to a synthetic 30-day constant-maturity volatility estimate (“VIX30”) built from VX1 and VX2 futures. The VIX30/VIX Ratio reveals short-term volatility pressure and regime shifts that traditional VX1/VX2 roll-yield alone often misses.
VIX30 is constructed using true calendar-day interpolation between VX1 and VX2, with VX1% and VX2% showing the real-time weights behind the 30-day volatility anchor. The table displays the volatility regime, the VX1/VX2 weights, spot-term roll yield (VIX30/VIX), and futures-term roll yield (VX2/VX1), giving a complete, front-of-the-curve perspective on volatility dynamics.
Use this to spot early vol expansions, collapsing contango, and regime transitions that influence VXX, UVXY, SVIX, VX options, and VIX futures.
⸻
HOW IT WORKS
The script calculates the exact calendar days to expiration for the front two VIX futures. It then applies linear interpolation to blend VX1 and VX2 into a 30-day constant-maturity synthetic volatility measure (“VIX30”). Comparing VIX30 to spot VIX produces the VIX30/VIX Ratio, which highlights short-term volatility pressure and regime direction. A full term-structure table summarizes regime, VX1%/VX2% weights, and both spot-term and futures-term roll yields.
⸻
DEFAULT SETTINGS
VX1! and VX2! are used by default for front-month and second-month futures. These may be manually overridden if TradingView rolls contracts early. The default timeframe is 30 minutes, and the VIX30/VIX Ratio uses a 21-period EMA for regime smoothing. The historical threshold is set to 1.08, reflecting the long-run average relationship between VIX30 and VIX. All settings are user-configurable.
⸻
SUGGESTED USES
• Identify early volatility expansions before they appear in VX1/VX2 roll yield.
• Confirm contango/backwardation shifts with front-of-curve context.
• Time long/short volatility trades in VXX, UVXY, SVIX, and VX options.
• Monitor regime transitions (Low → Cautionary → High) to anticipate trend inflections.
• Combine with price action, NW trends, or MA color-flip systems for higher-confidence entries.
• MA red → green flips may signal opportunities to short volatility or increase equity exposure.
• MA green → red flips may signal opportunities to go long volatility, reduce equity exposure, or even take short-equity positions.
⸻
ALERTS
Alerts trigger when the ratio crosses above or below the historical threshold or when the moving-average slope flips direction. A green flip signals rising volatility pressure; a red flip signals fading or collapsing volatility. These can be used to automate long/short volatility bias shifts or trade-entry notifications.
⸻
FURTHER HINTS
• Increasing orange/red in the table suggests an emerging higher-volatility environment.
• SVIX (inverse volatility ETF) can trend strongly when volatility decays; on a 6h chart, MA green flips often align with attractive short-volatility opportunities.
• For long-volatility trades, consider shrinking to a 30-minute chart and watching for MA green → red flips as early entry cues.
• Experiment with different timeframes and smoothing lengths to match your trading style.
• Higher VIX30/VIX and VX2/VX1 roll yields generally imply faster decay in VXX, UVXY, and UVIX — or stronger upside momentum in SVIX.
BTC STH Proxy vs Realized Price (RP) Ratio | STH : LTH📊 REALIZED PRICE MARKET SIGNAL
Indicator that builds a Short-Term Holder (STH) price proxy using a configurable moving average of Bitcoin’s market price and compares it to Bitcoin’s Realized Price (RP) derived from on-chain data.
Realized Price (RP) is calculated from CoinMetrics Realized Market Cap divided by Glassnode circulating supply.
STH Proxy is a user-defined moving average (EMA/SMA/WMA) of BTC price, designed to mimic the behavior of the true STH Realized Price.
Users can adjust the MA type, length, and RP smoothing to closely replicate the STH curve seen on Glassnode, Bitbo, and Bitcoin Magazine Pro.
Optionally, the indicator can display the STH/RP ratio, which highlights transitions between market phases.
This tool provides a simple but effective way to visualize short-term vs long-term holder cost-basis dynamics using only publicly accessible on-chain aggregates and price data.
----------
💡TLDR: An alt take on the Short-Term Holder Realized Price / Long-Term Holder Realized Price cross model | (STH/LTH cross)
- A mix of MAs are used to mimic STH.
- RP here used as a proxy for the long-term holder (LTH) cost basis.
- Bull/Bear signals are generated when the STH proxy crosses above or below RP.
⭐ Free to use • Leave feedback • Happy trading!
Self-Organized Criticality - Avalanche DistributionHere's all you need to know: This indicator applies Self-Organized Criticality (SOC) theory to financial markets, measuring the power-law exponent (alpha) of price drawdown distributions. It identifies whether markets are in stable Gaussian regimes or critical states where large cascading moves become more probable.
Self-Organized Criticality
SOC theory, introduced by Per Bak, Tang, and Wiesenfeld (1987), describes how complex systems naturally evolve toward critical (fragile) states. An example is a sand pile: adding grains creates avalanches whose sizes follow a power-law distribution rather than a normal distribution.
Financial markets exhibit similar behavior. Price movements aren't purely random walks—they display:
Fat-tailed distributions (more extreme events than Gaussian models predict)
Scale invariance (no characteristic avalanche size)
Intermittent dynamics (periods of calm punctuated by large cascades)
Power-Law Distributions
When a system is in a critical state, the probability of an avalanche of size s follows:
P(s) ∝ s^(-α)
Where:
α (alpha) is the power-law exponent
Higher α → distribution resembles Gaussian (large events rare)
Lower α → heavy tails dominate (large events common)
This indicator estimates α from the empirical distribution of price drawdowns.
Mathematical Method
1. Avalanche Detection
The indicator identifies local price peaks (highest point in a lookback window), then measures the percentage drawdown to the next trough. A dynamic ATR-based threshold filters out noise—small drops in calm markets count, but the bar rises in volatile periods.
2. Logarithmic Binning
Avalanche sizes are sorted into logarithmically-spaced bins (e.g., 1-2%, 2-4%, 4-8%) rather than linear bins. This captures power-law behavior across multiple scales - a 2% drop and 20% crash both matter. The indicator creates 12 adaptive bins spanning from your smallest to largest observed avalanche.
3. Bin-to-Bin Ratio Estimation
For each pair of adjacent bins, we calculate:
α ≈ log(N₁/N₂) / log(s₂/s₁)
Where N₁ and N₂ are avalanche counts, s₁ and s₂ are bin sizes.
Example: If 2% drops happen 4× more often than 4% drops, then α ≈ log(4)/log(2) ≈ 2.0.
We get 8-11 independent estimates and average them. This is more robust than fitting one line through all points—outliers can't dominate.
4. Rolling Window Analysis
Alpha recalculates using only recent avalanches (default: last 500 bars). Old data drops out as new avalanches occur, so the indicator tracks regime shifts in real-time.
Regime Classification
🟢 Gaussian α ≥ 2.8 Normal distribution behavior; large moves are rare outliers
🟡 Transitional 1.8 ≤ α < 2.8 Moderate fat tails; system approaching criticality
🟠 Critical 1.0 ≤ α < 1.8 Heavy tails; large avalanches increasingly common
🔴 Super-Critical α < 1.0 Extreme tail risk; system prone to cascading failures
What Alpha Tells You
Declining alpha → Market moving toward criticality; tail risk increasing
Rising alpha → Market stabilizing; returns to normal distribution
Persistent low alpha → Sustained fragility; heightened crash probability
Supporting Metrics
Heavy Tail %: Concentration of total drawdown in largest 10% of events
Populated Bins: Data coverage quality (11-12 out of 12 is ideal)
Avalanche Count: Sample size for statistical reliability
Limitations
This is a distributional measure, not a timing indicator. Low alpha indicates increased systemic risk but doesn't predict when a cascade will occur. Only that the probability distribution has shifted toward larger events.
How This Differs from the Per Bak Fragility Index
The SOC Avalanche Distribution calculates the power-law exponent (alpha) directly from price drawdown distributions - a pure mathematical analysis requiring only price data. The Per Bak Fragility Index aggregates external stress indicators (VIX, SKEW, credit spreads, put/call ratios) into a weighted composite score.
Technical Notes
Default settings optimized for daily and weekly timeframes on major indices
Requires minimum 200 bars of history for stable estimates
ATR-based dynamic sizing prevents scale-dependent bias
Alerts available for regime transitions and super-critical entry
References
Bak, P., Tang, C., & Wiesenfeld, K. (1987). Self-organized criticality: An explanation of the 1/f noise. Physical Review Letters.
Sornette, D. (2003). Why Stock Markets Crash: Critical Events in Complex Financial Systems. Princeton University Press.
MTF Dashboard Pro - Sachin ThakareMTF Dashboard Pro — Sachin Thakare
Version: 1.0
Overview:
A compact multi-timeframe dashboard built for intraday and swing traders. Shows per-TF values + signals:
- Change, %Chg, VWAP, EMA9/21, 200MA distance (with user threshold), SuperTrend, RSI, MACD, ADX, Alligator, Stochastic, ATR, PH/PL and Bias.
- Optional TrendShift flag (MSS + EMA9/21 confirmation) appears alongside Bias.
Notes:
- Pine Script v5. Adjust inputs to match your asset/timeframe. Default EMAs: 9 (red) and 21 (green).
- ma200Thresh parameter filters noise around 200MA (unit = percent). Recommended: 0.3–0.7 for intraday scalping.
- Use on desktop charts — table is not optimized for small mobile screens.
Disclaimer:
This indicator is educational and provided “as is”. Not financial advice. Test before trading.
Changelog:
1.0 — Public release
Author:
Sachin Yashwant Thakare
Angular Resistance & Breakout/BreakdownAngular Resistance & Breakout/Breakdown (Dynamic Trendlines)
This indicator provides a dynamic approach to identifying major support and resistance levels by fitting Linear Regression lines to recent pivot points (swing highs and swing lows). Unlike static horizontal lines, these "Angular" trendlines adapt to the market's slope, providing continuously adjusting targets for resistance and support, along with signals for confirmed breakouts and breakdowns.
💡 Key Features
Dynamic Trendlines: Utilizes Linear Regression to automatically draw sloped trendlines based on a configurable number of the most recent swing pivots.
Confirmed Signals: Generates clear Breakout (▲) and Breakdown (▼) signals with optional buffer and sensitivity filters to reduce noise.
Customizable Inputs: Fine-tune the pivot detection period, the number of points used for regression, line extension, and signal sensitivity.
On-Chart Info Panel: A table displays real-time data, including the number of detected pivot points and the current calculated price level of the dynamic lines.
⚙️ How It Works (The Logic)
Pivot Detection: The script uses the standard ta.pivothigh() and ta.pivotlow() functions to reliably identify swing points, based on the Pivot Left and Pivot Right settings. These points are stored in dynamic arrays (highs for resistance, lows for support).
Angular Line Generation: A custom function, f_regression_from_array, performs a Linear Regression analysis using the bar index (X-axis) and the pivot price (Y-axis) for the Points to use. This calculation determines the optimal slope and intercept to draw a best-fit dynamic line through the identified pivot points.
Breakout/Breakdown Confirmation:
Breakout: Triggered when the current close price crosses above the dynamic resistance line plus the user-defined Breakout buffer.
Breakdown: Triggered when the current close price crosses below the dynamic support line minus the user-defined Breakout buffer.
Sensitivity Filter: An optional filter requires the price movement on the signal bar to exceed a minimum percentage (Label sensitivity) away from the line to confirm the momentum of the move.
CapitalFlowsResearch: CS CorrelationCapitalFlowsResearch: CS Correlation — Multi-Asset Correlation Radar
CapitalFlowsResearch: CS Correlation provides a real-time view of how closely a chosen “base” market is moving relative to a basket of other assets. Instead of relying on a single method, the tool allows you to transform each series (price, log-price, normalized score, or short-term returns) before correlation is calculated. This gives traders the flexibility to analyse relationships on the basis most relevant to their strategy—whether they care about trend alignment, return co-movement, or standardized behaviour.
Each comparison asset is evaluated independently using a rolling lookback window, producing a clean set of correlation lines that update bar-by-bar. The tool is deliberately modular: symbols can be switched on or off individually, and the chart remains uncluttered while still capturing broad cross-asset dynamics. A compact on-chart legend displays the latest correlation reading for each active symbol, making it easy to interpret at a glance.
Conceptually, the indicator helps highlight when normally-linked assets begin to diverge, when new relationships begin to strengthen, or when markets move into low-correlation regimes often associated with macro shifts, liquidity changes, or turning points. It functions as a correlation heatmap in time-series form, offering structural insight without exposing the underlying computation or weighting logic.
CapitalFlowsResearch: PEMACapitalFlowsResearch: PEMA — Price Extension
CapitalFlowsResearch: PEMA is a visual regime indicator that measures how far price is trading from its dynamic equilibrium and translates that behaviour into a clean, colour-coded background. Instead of simply showing whether price is above or below a moving average MA, the tool evaluates how unusual that distance is relative to recent behaviour, creating a normalized “extension score” that adapts across assets and timeframes.
The indicator then highlights periods where price enters meaningful positive or negative extension zones, using customizable thresholds and optional smoothing to control signal sensitivity. The result is a subtle but powerful overlay that helps reveal when markets are operating in balanced conditions, when they’re stretched, and when early signs of exhaustion or continuation may be emerging—without cluttering the chart or exposing the underlying mechanics.
UM VIX30/VIX Regime & Volatility Roll Yield
SUMMARY
A front-of-the-curve volatility indicator that compares spot VIX to a synthetic 30-day VIX (VIX30) built from VX1/VX2 futures, revealing early volatility pressure, regime shifts, and roll-yield transitions. Ideal for timing long/short volatility trades in VXX, UVXY, SVIX, and VIX futures.
DESCRIPTION
This indicator compares spot VIX to a synthetic 30-day constant-maturity volatility estimate (“VIX30”) built from VX1 and VX2 futures. The VIX30/VIX Ratio reveals short-term volatility pressure and regime shifts that traditional VX1/VX2 roll-yield alone often misses.
VIX30 is constructed using true calendar-day interpolation between VX1 and VX2, with VX1% and VX2% showing the real-time weights behind the 30-day volatility anchor. The table displays the volatility regime, the VX1/VX2 weights, spot-term roll yield (VIX30/VIX), and futures-term roll yield (VX2/VX1), giving a complete, front-of-the-curve perspective on volatility dynamics.
Use this to spot early volatility expansions, collapsing contango, and regime transitions that influence VXX, UVXY, SVIX, VX options, and VIX futures.
HOW IT WORKS
The script calculates the exact calendar days to expiration for the front two VIX futures. It then applies linear interpolation to blend VX1 and VX2 into a 30-day constant-maturity synthetic volatility measure (“VIX30”). Comparing VIX30 to spot VIX produces the VIX30/VIX Ratio, which highlights short-term volatility pressure and regime direction. A full term-structure table summarizes regime, VX1%/VX2% weights, and both spot-term and futures-term roll yields.
DEFAULT SETTINGS
VX1! and VX2! are used by default for front-month and second-month futures. These may be manually overridden if TradingView rolls contracts early. The default timeframe is 30 minutes, and the VIX30/VIX Ratio uses a 21-period EMA for regime smoothing. The historical threshold is set to 1.08, reflecting the long-run average relationship between VIX30 and VIX.
SUGGESTED USES
• Identify early volatility expansions before they appear in VX1/VX2 roll yield.
• Confirm contango/backwardation shifts with front-of-curve context.
• Time long/short volatility trades in VXX, UVXY, SVIX, and VX options.
• Monitor regime transitions (Low → Cautionary → High) to anticipate trend inflections.
• Combine with price action, Nadaraya-Watson trends, or MA color-flip systems for higher-confidence entries.
• MA red → green flips may signal opportunities to short volatility or increase equity exposure.
• MA green → red flips may signal opportunities to go long volatility, reduce equity exposure, or take short-equity positions.
ALERTS
Alerts trigger when the ratio crosses above or below the historical threshold or when the moving-average slope flips direction. A green flip signals rising volatility pressure; a red flip signals fading or collapsing volatility. These alert conditions can be used to automate long/short volatility bias shifts or trade-entry notifications.
FURTHER HINTS
• Increasing orange/red in the table suggests an emerging higher-volatility environment.
• SVIX (inverse volatility ETF) can trend strongly when volatility decays; on a 6-hour chart, MA green flips often align with attractive short-volatility opportunities.
• For long-volatility trades, consider shrinking to a 30-minute chart and watching for MA green → red flips as early entry cues.
• Experiment with different timeframes and smoothing lengths to match your trading style.
• Higher VIX30/VIX and VX2/VX1 roll yields generally imply faster decay in VXX, UVXY, and UVIX — or stronger upside momentum in SVIX.
• The author likes the 6-hour chart for short vol, and the 30-minute chart for long vol. Long vol trades are fast and furious so you want to be quick.
Smart Christmas Tree Overlay with Live Market StatusGet into the holiday spirit while you trade! 🎅📈
This script adds a festive, animated Christmas tree overlay to your chart that reacts to live market conditions in real-time. It is designed with a "Slim Fit" ratio to minimize screen real estate while maximizing the holiday vibe.
Key Features:
🎄 Trend-Reactive Lighting:
Bullish (Up): The tree lights sparkle in Green tones, and a special Blue Diamond (🔷) shines to indicate upward momentum.
Bearish (Down): The tree lights turn Red, and a Red Diamond (♦️) blinks to warn of downward movement.
✨ Real-Time Animation: The lights and star blink dynamically based on price updates, making the chart feel alive.
📊 Mini Market HUD: Displays the current Ticker, Last Price, Price Change, and Change % neatly below the tree.
📐 Fully Customizable: You can easily change the tree's Position (Corners/Middle) and Size (Small to Large) via the settings menu.
🖼️ "Always On" Overlay: Uses the TradingView table function to stay fixed on your screen, regardless of zoom or scroll.
How to use: Simply add it to your chart, select your preferred corner in the settings, and enjoy the show!
Happy Holidays and Profitable Trading! 🎁
==================================================================================
트레이딩을 하면서 연말 분위기를 느껴보세요! 🎅📈
이 스크립트는 실시간 시장 상황에 반응하는 애니메이션 크리스마스 트리 오버레이를 차트에 추가합니다. 화면 공간을 최소한으로 차지하도록 "슬림 핏" 비율로 디자인되었습니다.
주요 기능:
🎄 추세 반응형 조명:
상승장 (Bullish): 트리 조명이 녹색 톤으로 반짝이며, 상승 모멘텀을 나타내는 특별한 **파란색 다이아몬드(🔷)**가 빛납니다.
하락장 (Bearish): 트리 조명이 빨간색으로 변하고, **빨간색 다이아몬드(♦️)**가 깜빡이며 하락을 경고합니다.
✨ 실시간 애니메이션: 가격 업데이트에 따라 조명과 별이 역동적으로 깜빡여 차트에 생동감을 줍니다.
📊 미니 시세판 (HUD): 트리 바로 아래에 현재 종목명, 현재가, 가격 변동폭, 변동률(%)을 깔끔하게 표시합니다.
📐 완벽한 커스터마이징: 설정 메뉴를 통해 트리의 위치(모서리/중간)와 크기(작게~크게)를 쉽게 변경할 수 있습니다.
🖼️ "Always On" 오버레이: TradingView의 table 기능을 사용하여 줌이나 스크롤에 관계없이 화면에 고정됩니다.
사용 방법: 차트에 추가하고 설정에서 원하는 위치를 선택하기만 하면 됩니다!
행복한 연말 보내시고 성투하세요! 🎁
양키트레이더 from PropKorea.com
BTC Fear & Greed Incremental StrategyIMPORTANT: READ SETUP GUIDE BELOW OR IT WON'T WORK
# BTC Fear & Greed Incremental Strategy — TradeMaster AI (Pure BTC Stack)
## Strategy Overview
This advanced Bitcoin accumulation strategy is designed for long-term hodlers who want to systematically take profits during greed cycles and accumulate during fear periods, while preserving their core BTC position. Unlike traditional strategies that start with cash, this approach begins with a specified BTC allocation, making it perfect for existing Bitcoin holders who want to optimize their stack management.
## Key Features
### 🎯 **Pure BTC Stack Mode**
- Start with any amount of BTC (configurable)
- Strategy manages your existing stack, not new purchases
- Perfect for hodlers who want to optimize without timing markets
### 📊 **Fear & Greed Integration**
- Uses market sentiment data to drive buy/sell decisions
- Configurable thresholds for greed (selling) and fear (buying) triggers
- Automatic validation to ensure proper 0-100 scale data source
### 🐂 **Bull Year Optimization**
- Smart quarterly selling during bull market years (2017, 2021, 2025)
- Q1: 1% sells, Q2: 2% sells, Q3/Q4: 5% sells (configurable)
- **NO SELLING** during non-bull years - pure accumulation mode
- Preserves BTC during early bull phases, maximizes profits at peaks
### 🐻 **Bear Market Intelligence**
- Multi-regime detection: Bull, Early Bear, Deep Bear, Early Bull
- Different buying strategies based on market conditions
- Enhanced buying during deep bear markets with configurable multipliers
- Visual regime backgrounds for easy market condition identification
### 🛡️ **Risk Management**
- Minimum BTC allocation floor (prevents selling entire stack)
- Configurable position sizing for all trades
- Multiple safety checks and validation
### 📈 **Advanced Visualization**
- Clean 0-100 scale with 2 decimal precision
- Three main indicators: BTC Allocation %, Fear & Greed Index, BTC Holdings
- Real-time portfolio tracking with cash position display
- Enhanced info table showing all key metrics
## How to Use
### **Step 1: Setup**
1. Add the strategy to your BTC/USD chart (daily timeframe recommended)
2. **CRITICAL**: In settings, change the "Fear & Greed Source" from "close" to a proper 0-100 Fear & Greed indicator
---------------
I recommend Crypto Fear & Greed Index by TIA_Technology indicator
When selecting source with this indicator, look for "Crypto Fear and Greed Index:Index"
---------------
3. Set your "Starting BTC Quantity" to match your actual holdings
4. Configure your preferred "Start Date" (when you want the strategy to begin)
### **Step 2: Configure Bull Year Logic**
- Enable "Bull Year Logic" (default: enabled)
- Adjust quarterly sell percentages:
- Q1 (Jan-Mar): 1% (conservative early bull)
- Q2 (Apr-Jun): 2% (moderate mid bull)
- Q3/Q4 (Jul-Dec): 5% (aggressive peak targeting)
- Add future bull years to the list as needed
### **Step 3: Fine-tune Thresholds**
- **Greed Threshold**: 80 (sell when F&G > 80)
- **Fear Threshold**: 20 (buy when F&G < 20 in bull markets)
- **Deep Bear Fear Threshold**: 25 (enhanced buying in bear markets)
- Adjust based on your risk tolerance
### **Step 4: Risk Management**
- Set "Minimum BTC Allocation %" (default 20%) - prevents selling entire stack
- Configure sell/buy percentages based on your position size
- Enable bear market filters for enhanced timing
### **Step 5: Monitor Performance**
- **Orange Line**: Your BTC allocation percentage (target: fluctuate between 20-100%)
- **Blue Line**: Actual BTC holdings (should preserve core position)
- **Pink Line**: Fear & Greed Index (drives all decisions)
- **Table**: Real-time portfolio metrics including cash position
## Reading the Indicators
### **BTC Allocation Percentage (Orange Line)**
- **100%**: All portfolio in BTC, no cash available for buying
- **80%**: 80% BTC, 20% cash ready for fear buying
- **20%**: Minimum allocation, maximum cash position
### **Trading Signals**
- **Green Buy Signals**: Appear during fear periods with available cash
- **Red Sell Signals**: Appear during greed periods in bull years only
- **No Signals**: Either allocation limits reached or non-bull year
## Strategy Logic
### **Bull Years (2017, 2021, 2025)**
- Q1: Conservative 1% sells (preserve stack for later)
- Q2: Moderate 2% sells (gradual profit taking)
- Q3/Q4: Aggressive 5% sells (peak targeting)
- Fear buying active (accumulate on dips)
### **Non-Bull Years**
- **Zero selling** - pure accumulation mode
- Enhanced fear buying during bear markets
- Focus on rebuilding stack for next bull cycle
## Important Notes
- **This is not financial advice** - backtest thoroughly before use
- Designed for **long-term holders** (4+ year cycles)
- **Requires proper Fear & Greed data source** - validate in settings
- Best used on **daily timeframe** for major trend following
- **Cash calculations**: Use allocation % and BTC holdings to calculate available cash: `Cash = (Total Portfolio × (1 - Allocation%/100))`
## Risk Disclaimer
This strategy involves active trading and position management. Past performance does not guarantee future results. Always do your own research and never invest more than you can afford to lose. The strategy is designed for educational purposes and long-term Bitcoin accumulation thesis.
---
*Developed by Sol_Crypto for the Bitcoin community. Happy stacking! 🚀*
C3 Pattern Trigger-DhirenFawxThis indicator is a highly streamlined and immediate signal generator based on a specific 3-Candle (3C) pattern used to quickly identify potential demand and supply exhaustion points.
Unlike traditional zone-based indicators that wait for a price breakout after the pattern forms, the 3C Pattern Trigger signals the moment the pattern completes, offering an early entry/alert opportunity.
Connect - DhirenFawx
XAUUSD Macro Anomaly Pulses (Chart XAU) - sudoXAUUSD Macro Anomaly Pulses
A simple pulse indicator that highlights when XAUUSD moves in a way that macro conditions cannot fully explain
Overview
This indicator marks candles on XAUUSD that behave differently than what the broader market suggests should happen.
Instead of looking at XAUUSD alone, this tool compares gold’s actual movement to an expected movement based on:
Other gold cross pairs (XAUJPY, XAUAUD, XAUCHF)
The U.S. Dollar Index (DXY), inverted
The US30 index (Dow Jones)
When XAUUSD moves much stronger or weaker than this macro-based expectation, the indicator plots a small pulse (a circle) directly on the candle.
Purpose
This indicator helps you quickly see when a candle on XAUUSD is acting “out of character” compared to normal macro flow. In other words:
“Did XAUUSD move in a way that makes sense with the rest of the market, or did something weird happen?”
These unusual moves often signal:
Liquidity grabs
Stop hunts
News-driven spikes
False breakouts
Front-running of macro shifts
How It Works
It reads the XAUUSD candles directly from the chart.
This ensures pulses stick to your candles correctly.
It pulls data from basket legs (XAUJPY, XAUAUD, XAUCHF) and macro symbols (DXY, US30) using security calls.
It converts each symbol into a simple % return per candle.
It builds an “expected” gold move using weighted inputs:
Average return of gold crosses
Inverse return of DXY
Return of US30
It calculates the “residual,” which means:
actual XAU return - expected macro return
It turns that into a Z-score to measure how extreme the deviation is.
If the Z-score is too high or too low, the script marks the candle:
Aqua pulse below bar = unusually strong move
Fuchsia pulse above bar = unusually weak move
How to Interpret the Pulses
Aqua Pulse (below candle) – Bullish anomaly
XAUUSD moved stronger than the macro environment suggests.
Meaning:
-Possible liquidity grab upward
-Possible early trend move
-Possible false breakout
-Price may be overreacting
Fuchsia Pulse (above candle) – Bearish anomaly
XAUUSD moved weaker than expected.
Meaning:
-Possible liquidity sweep downward
-Possible aggressive sell-side event
-Possible exhaustion
-Price may be taking liquidity before reversing
Typical Use Cases
-Spot moments when gold acts independently of macro
-Identify candles that might signal a reversal or a trap
-Confirm whether a breakout is real or suspicious
-Filter trades by macro alignment
-Help understand when XAUUSD is reacting to news or liquidity instead of fundamentals
Inputs Explained
- Z-score Lookback – How many candles are considered normal behavior
- Z-threshold – How extreme a move must be before it is marked
- Basket / DXY / US30 weights – How much influence each macro component has
Per Bak Self-Organized CriticalityTL;DR: This indicator measures market fragility. It measures the system's vulnerability to cascade failures and phase transitions. I've added four independent stress vectors: tail risk, volatility regime, credit stress, and positioning extremes. This allows us to quantify how susceptible markets are to disproportionate moves from small shocks, similar to how a steep sandpile is primed for avalanches.
Avalanches, forest fires, earthquakes, pandemic outbreaks, and market crashes. What do they all have in common? They are not random.
These events follow power laws - stable systems that naturally evolve toward critical states where small triggers can unleash catastrophic cascades.
For example, if you are building a sandpile, there will be a point with a little bit additional sand will cause a landslide.
Markets build fragility grain by grain, like a sandpile approaching avalanche.
The Per Bak Self-Organized Criticality (SOC) indicator detects when the markets are a few grains away from collapse.
This indicator is highly inspired by the work of Per Bak related to the science of self-organized criticality .
As Bak said:
"The earthquake does not 'know how large it will become'. Thus, any precursor state of a large event is essentially identical to a precursor state of a small event."
For markets, this means:
We cannot predict individual crash size from initial conditions
We can predict statistical distribution of crashes
We can identify periods of increased systemic risk (proximity to critical state)
BTW, this is a forwarding looking indicator and doesn't reprint. :)
The Story of Per Bak
In 1987, Danish physicist Per Bak and his colleagues discovered an important pattern in nature: self-organized criticality.
Their sandpile experiment revealed something: drop grains of sand one by one onto a pile, and the system naturally evolves toward a critical state. Most grains cause nothing. Some trigger small slides. But occasionally a single grain triggers a massive avalanche.
The key insight is that we cannot predict which grain will trigger the avalanche, but you can measure when the pile has reached a critical state.
Why Markets Are the Ultimate SOC System?
Financial markets exhibit all the hallmarks of self-organized criticality:
Interconnected agents (traders, institutions, algorithms) with feedback loops
Non-linear interactions where small events can cascade through the system
Power-law distributions of returns (fat tails, not normal distributions)
Natural evolution toward fragility as leverage builds, correlations tighten, and positioning crowds
Phase transitions where calm markets suddenly shift to crisis regimes
Mathematical Foundation
Power Law Distributions
Traditional finance assumes returns follow a normal distribution. "Markets return 10% on average." But I disagree. Markets follow power laws:
P(x) ∝ x^(-α)
Where P(x) is the probability of an event of size x, and α is the power law exponent (typically 3-4 for financial markets).
What this means: Small moves happen constantly. Medium moves are less frequent. Catastrophic moves are rare but follow predictable probability distributions. The "fat tails" are features of critical systems.
Critical Slowing Down
As systems approach phase transitions, they exhibit critical slowing down—reduced ability to absorb shocks. Mathematically, this appears as:
τ ∝ |T - T_c|^(-ν)
Where τ is the relaxation time, T is the current state, T_c is the critical threshold, and ν is the critical exponent.
Translation: Near criticality, markets take longer to recover from perturbations. Fragility compounds.
Component Aggregation & Non-Linear Emergence
The Per Bak SOC our index aggregates four normalized components (each scaled 0-100) with tunable weights:
SOC = w₁·C_tail + w₂·C_vol + w₃·C_credit + w₄·C_position
Default weights (you can change this):
w₁ = 0.34 (Tail Risk via SKEW)
w₂ = 0.26 (Volatility Regime via VIX term structure)
w₃ = 0.18 (Credit Stress via HYG/LQD + TED spread)
w₄ = 0.22 (Positioning Extremes via Put/Call ratio)
Each component uses percentile ranking over a 252-day lookback combined with absolute thresholds to capture both relative regime shifts and extreme absolute levels.
The Four Pillars Explained
1. Tail Risk (SKEW Index)
Measures options market pricing of fat-tail events. High SKEW indicates elevated outlier probability.
C_tail = 0.7·percentrank(SKEW, 252) + 0.3·((SKEW - 115)/0.5)
2. Volatility Regime (VIX Term Structure)
Combines VIX level with term structure slope. Backwardation signals acute stress.
C_vol = 0.4·VIX_level + 0.35·VIX_slope + 0.25·VIX_ratio
3. Credit Stress (HYG/LQD + TED Spread)
Tracks high-yield deterioration versus investment-grade and interbank lending stress.
C_credit = 0.65·percentrank(LQD/HYG, 252) + 0.35·(TED/0.75)·100
4. Positioning Extremes (Put/Call Ratio)
Detects extreme hedging demand through percentile ranking and z-score analysis.
C_position = 0.6·percentrank(P/C, 252) + 0.4·zscore_normalized
What the Indicator Really Measures?
Not Volatility but Fragility
Markets Going Down ≠ Fragility Building (actually when markets go down, risk and fragility are released)
The 0-100 Scale & Regime Thresholds
The indicator outputs a 0-100 fragility score with four regimes:
🟢 Safe (0-39): System resilient, can absorb normal shocks
🟡 Building (40-54): Early fragility signs, watch for deterioration
🟠 Elevated (55-69): System vulnerable
🔴 Critical (70-100): Highly susceptible to cascade failures
Further Reading for Nerds
Bak, P., Tang, C., & Wiesenfeld, K. (1987). "Self-organized criticality: An explanation of 1/f noise." Physical Review Letters.
Bak, P. & Chen, K. (1991). "Self-organized criticality." Scientific American.
Bak, P. (1996). How Nature Works: The Science of Self-Organized Criticality. Copernicus.
Feedback is appreciated :)
Market Internals Dashboard: Trend, Breadth, Volume PressureOverview
The Market Internals Dashboard Pro is a professional-grade toolkit modeled after what prop firms and institutional desks use to understand real intraday market conditions.
Instead of relying solely on price, this indicator analyzes three critical internal forces:
USI:TICK : Microstructure buying/selling pressure
USI:ADD : Market breadth participation (advancers vs decliners proxy)
USI:VOLD : Volume pressure (buying vs selling volume)
These internals determine whether the market is:
Trending or ranging
Bullish or bearish
Likely to follow through or mean-revert
Favoring continuation trades or fade setups
The script also produces a Market Environment Score (–3 to +3) and a real-time Trade Recommendation Table that updates every bar. This helps answer the single most important question in intraday trading: “What type of trades should I be taking right now given current market conditions?”
1. TICK Proxy: Microstructure Pressure
Measures buying vs. selling aggressiveness across the market This proxy simulates the NYSE TICK index by evaluating whether bars close above or below the prior bar.
Positive TICK → Buyers lifting offers
Negative TICK → Sellers hitting bids
Neutral TICK → No microstructure conviction
Why it matters:
Strong TICK is often the earliest sign of:
Trend initiation
Algorithmic buy/sell programs
Shifts in short‑term sentiment
Weak or choppy TICK often signals:
Range conditions
Failed breakouts
Low‑quality trend attempts
2. ADD Proxy: Market Breadth Strength
Shows how many stocks are participating in a move Because real USI:ADD data isn't available for all users, this script uses a self-contained breadth approximation built from:
Price slope
Volatility expansion
Volume‑weighted directional pressure
Why it matters? Breadth reveals whether the move is:
Broad and healthy → likely to continue
Narrow and weak → vulnerable to reversal
Strong trends require strong breadth. Weak breadth often precedes:
Failed breakouts
Reversal setups
Chop (ewww)
3. VOLD Proxy: Volume Pressure
The most important internal of all. This proxy measures whether trading volume is flowing into up bars or down bars.
Positive VOLD → Net buying pressure
Negative VOLD → Net selling pressure
Why it matters:
VOLD is considered the "truth serum" of the tape:
Strong VOLD drives trend days
Negative VOLD kills long setups
Mixed VOLD creates chop
You should rarely trend trade against VOLD.
4. Market Environment Score (–3 to +3)
The Environment Score combines the three internals into a single view:
|| Score || Interpretation || Market Type ||
| +3 | Strong Bull | Trend Day (Long) |
| +2 | Bull | Pullback Buys / Breakout Continuation |
| +1 | Mild Bull | Conservative Long Scalps |
| 0 | Neutral | CHOP – VWAP Reversions / Fades |
| -1 | Mild Bear | Short Failed Breakouts |
| -2 | Bear | Trend Shorts / Breakdown Continuation |
| -3 | Strong Bear | Trend Day (Short) |
Why it matters:
The market behaves differently depending on internal alignment. This score prevents traders from:
Forcing trend trades on chop days
Chasing breakouts when breadth is weak
Fading strong directional days
It tells you in real time whether conditions favor:
Trend following
Mean reversion
Breakout continuation
Liquidity grabs
Or sitting out
5. Trade Recommendation Engine
Based on the Environment Score, the indicator outputs a real-time playbook recommending which trade types have the highest probability of success right now.
Examples:
Score = 0 (Neutral)
VWAP Reversions
Liquidity Grabs
Failed Breakouts
Quick Scalps
Score = +2/+3 (Strong Bull)
Pullback Buys
Breakout Continuation
Trend Longs
Score = -2/-3 (Strong Bear)
Pullback Shorts
Breakdown Continuation
Trend Shorts Only
This turns the internals into a trade selection engine, not just a data display.
Why Market Internals Matter
Most indicators look only at price, but price is the result, not the cause.
Market internals show:
Where volume is flowing
Whether buying is aggressive or passive
How many stocks are participating
Whether algorithms are supporting or fighting the move
This dashboard helps traders:
Avoid chop
Stay out of low‑quality setups
Time entries with institutional flows
Improve win rate by trading the right setups at the right times
Final Notes
Works on any symbol or timeframe
Fully customizable colors
Two clean visual tables: Internals + Trade Playbook
Ideal for futures, ETFs, and options day traders
If you enjoy this tool, please like, comment, or follow. More enhancements are coming.
Trade smart.
Volatility Regime NavigatorA guide to understanding VIX, VVIX, VIX9D, VVIX/VIX, and the Composite Risk Score
1. Purpose of the Indicator
This dashboard summarizes short-term market volatility conditions using four core volatility metrics.
It produces:
• Individual readings
• A combined Regime classification
• A Composite Risk Score (0–100)
• A simplified Risk Bucket (Bullish → Stress)
Use this to evaluate market fragility, drift potential, tail-risk, and overall risk-on/off conditions.
This is especially useful for intraday ES/NQ trading, expected-move context, and understanding when breakouts or fades have edge.
2. The Four Core Volatility Inputs
(1) VIX — Baseline Equity Volatility
• < 16: Complacent (easy drift-up, but watch for fragility)
• 16–22: Healthy, normal volatility → ideal trading conditions
• > 22: Stress rising
• > 26: Tail-risk / risk-off environment
(2) VIX9D — Short-Term Event Vol
Measures 9-day implied volatility. Reacts to immediate news/events.
• < 14: Strongly bullish (drift regime)
• 14–17: Bullish to neutral
• 17–20: Event risk building
• > 20: Short-term stress / caution
(3) VVIX — Volatility of VIX (fragility index)
Tracks volatility of volatility.
• < 100: “Bullish, Bullish” — very low fragility
• 100–120: Normal
• 120–140: Fragile
• > 140: Stress, hedging pressure
(4) VVIX/VIX Ratio — Microstructure Risk-On/Risk-Off
One of the most sensitive indicators of market confidence.
• 5.0–6.5: Strongest “normal/bullish” zone
• < 5.0: Bottom-stalking / fear regime
• > 6.5: Complacency → vulnerable to reversals
• > 7.5: Fragile / top-risk
3. Composite Risk Score (0–100)
The dashboard converts all four inputs into a single score.
Score Interpretation
• 80–100 → Bullish - Drift regime. Shallow pullbacks. Upside favored.
• 60–79 → Normal - Healthy tape. Balanced two-way trading.
• 40–59 → Fragile - Choppy, failed breakouts, thinner liquidity.
• 20–39 → Risk-Off - Downside tails active. Favor fades and defensive behavior.
• < 20 → Stress - Crisis or event-driven tape. Avoid longs.
Score updates every bar.
4. Regime Label
Independent of the composite score, the script provides a Regime classification based on combinations of VIX + VVIX/VIX:
• Bullish+ → Buying is easy, tape lifts passively
• Normal → Cleanest and most tradable conditions
• Complacent → Top-risk; be careful chasing upside
• Mixed → Signals conflict; chop potential
• Bottom Stalk → High VIX, low VVIX/VIX (capitulation signatures)
A trailing “+” or “*” indicates additional bullish or caution overlays from VIX9D/VVIX.
5. How to Use the Dashboard in Trading
When Bullish (Score ≥ 80):
• Expect drift-up behavior
• Downside limited unless catalyst hits
• Structure favors breakouts and trend continuation
• Mean reversion trades have lower expectancy
When Normal (Score 60–79):
• The “playbook regime”
• Breakouts and mean reversion both valid
• Best overall trading environment
When Fragile (Score 40–59):
• Expect chop
• Breakouts fail
• Take quicker profits
• Avoid overleveraged directional bets
When Risk-Off (20–39):
• Favor fades of strength
• Downside tails activate
• Trend-following short setups gain edge
• Respect volatility bands
When Stress (<20):
• Avoid long exposure
• Do not chase dips
• Expect violent, news-sensitive behavior
• Position sizing becomes critical
6. Quick Summary
• VIX = weather
• VIX9D = short-term storm radar
• VVIX = foundation stability
• VVIX/VIX = confidence vs fragility
• Composite Score = overall regime health
• Risk Bucket = simple “what do I do?” label
This dashboard gives traders a high-confidence, low-noise view of equity volatility conditions in real time.
RED-E Institutional Flow Tracker ProRED-E Institutional Flow Tracker Pro
A histogram-based institutional activity detector for swing traders and options traders. Identifies institutional buying/selling pressure through volume analysis, money flow calculations, and manipulation detection algorithms.
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
═══════════════════════════════════════════════════════════════════════════════
This indicator addresses two critical challenges in swing trading:
1. Exiting profitable positions prematurely due to normal market volatility
2. Holding positions during periods of market manipulation
The histogram display provides clear visual signals (BUY/HOLD/SELL) with educational tooltips explaining why each signal appeared and how to trade it.
═══════════════════════════════════════════════════════════════════════════════
ORIGINALITY & METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
Built from scratch using Pine Script v6, this indicator combines multiple analytical methods into a unified histogram system:
**Core Detection Methods:**
- **Dollar Volume Analysis** - Multiplies price by volume to identify institutional-sized trades. Default threshold: 3x average dollar volume over 20 periods.
- **Smart Money Flow Detection** - Combines three simultaneous conditions: unusual volume (1.5x+ average), large order size (3x+ average dollar volume), and directional price movement. All three must occur on the same bar for confirmation.
- **Money Flow Index Integration** - 14-period volume-weighted momentum indicator. Calculated as: typical price (HLC3) × volume, separated into positive flow (up bars) and negative flow (down bars), converted to 0-100 scale.
- **Manipulation Detection Algorithm** - Identifies suspicious patterns where volume spikes dramatically (>1.5x threshold) but price moves minimally (<0.5% volatility). This pattern is characteristic of spoofing, layering, and wash trading.
- **Market Regime Classification** - Uses Money Flow Index combined with flow strength to classify market state as Bullish (MFI >50 and positive flow), Bearish (MFI <50 and negative flow), or Neutral.
**Histogram Calculation:**
Formula: (Price Change % × Volume Ratio) × (1.5x multiplier if large order detected)
Smoothed with 3-period EMA for clean visualization
Values automatically scaled for optimal display
**21-Period Moving Average:**
Simple moving average of histogram values provides trend direction confirmation. Crossovers signal momentum shifts.
═══════════════════════════════════════════════════════════════════════════════
HOW IT WORKS - TECHNICAL DETAILS
═══════════════════════════════════════════════════════════════════════════════
**1. Volume Analysis Foundation**
- 50-period SMA of volume establishes baseline
- Current volume compared to baseline creates Volume Ratio
- Unusual volume threshold (default 1.5x) flags institutional interest
**2. Money Flow Index (14-period default)**
- Typical price = (High + Low + Close) / 3
- Raw Money Flow = Typical Price × Volume
- Positive Flow = Raw Money Flow when price up
- Negative Flow = Raw Money Flow when price down
- MFI = 100 -
**3. Large Order Detection**
- Dollar Volume = Close Price × Volume
- 20-period average establishes baseline
- Orders exceeding 3x baseline flagged as institutional
**4. Smart Money Logic**
- Buying Signal: Positive price change AND large order AND volume >1.5x average (all simultaneous)
- Selling Signal: Negative price change AND large order AND volume >1.5x average (all simultaneous)
- Must occur on same bar for confirmation
**5. Flow Magnitude Tracking**
- Dollar volume tracked cumulatively
- Automatically resets daily at market open
- Formatted in readable units: K (thousands), M (millions), B (billions), T (trillions)
- Displayed in dashboard for easy monitoring
**6. Signal Classification**
- Strong Buy: Histogram >0.3 AND bullish regime AND unusual volume
- Buy: Histogram >0.15 AND bullish regime
- Hold: Histogram between ±0.15 OR neutral regime
- Sell: Histogram <-0.15 AND bearish regime
- Strong Sell: Histogram <-0.3 AND bearish regime AND unusual volume
**7. Manipulation Detection**
- Triggers when: Volume Ratio > threshold AND price volatility < 0.5%
- This pattern suggests large volume without corresponding price impact
- Common in spoofing (fake orders), layering (multiple false orders), and wash trading
═══════════════════════════════════════════════════════════════════════════════
HISTOGRAM DISPLAY & INTERPRETATION
═══════════════════════════════════════════════════════════════════════════════
**Color-Coded Bars:**
- **Bright Green** - Strong institutional buying (>0.3 momentum + bullish regime + unusual volume)
- **Light Green** - Institutional buying (>0.15 momentum + bullish regime)
- **Gray** - Neutral/Hold zone (±0.15 momentum or neutral regime)
- **Light Red** - Institutional selling (<-0.15 momentum + bearish regime)
- **Bright Red** - Strong institutional selling (<-0.3 momentum + bearish regime + unusual volume)
**Visual Signals:**
- **BUY labels** - Appear above bright green bars with detailed tooltip
- **SELL labels** - Appear below bright red bars with detailed tooltip
- **HOLD labels** - Appear on most recent bar during consolidation with educational tooltip
- **Yellow warning dots (⚠)** - Mark manipulation periods at zero line with explanation tooltip
- **Blue 21-period MA** - Shows overall trend direction
**Interactive Tooltips:**
Hover over any signal to see:
- Why the signal appeared (exact metrics)
- What the data shows (momentum, MFI, volume values)
- How to trade it (entry, exit, position sizing)
- Risk management recommendations
**Plot Style Options:**
Users can choose from 5 display styles:
- Columns (default) - Traditional histogram bars
- Area - Filled area chart
- Line - Simple line chart
- Step Line - Step-style line
- Histogram - Alternative histogram style
═══════════════════════════════════════════════════════════════════════════════
DASHBOARD METRICS EXPLAINED
═══════════════════════════════════════════════════════════════════════════════
12-row real-time dashboard displays:
**Current Flow** - Institutional money flow for current bar (M/B/T units)
**Daily Flow** - Cumulative activity since market open (resets daily)
**Flow Strength** - Intensity percentage (0-100%)
- >70% = Extreme pressure
- 40-70% = Moderate activity
- <40% = Weak/absent activity
**Money Flow Index** - Volume-weighted momentum (0-100 scale)
- >60 = Strong buying pressure
- 40-60 = Neutral/mixed
- <40 = Strong selling pressure
**Volume Ratio** - Current vs 50-day average
- >2.0x = Highly unusual
- 1.5-2.0x = Unusual
- <1.5x = Normal
**Market Regime** - Current classification
- Bullish: MFI >50 AND histogram >0
- Bearish: MFI <50 AND histogram <0
- Neutral: All other conditions
**Activity Status** - Real-time assessment
- HEAVY BUYING: Unusual volume + buying + MFI >60
- BUYING: Large orders + positive movement
- HEAVY SELLING: Unusual volume + selling + MFI <40
- SELLING: Large orders + negative movement
- NEUTRAL: No significant activity
**Unusual Volume** - Binary alert when exceeds threshold
**Large Orders** - Binary alert when dollar volume >3x average
**Manipulation Warning** - Binary alert for suspicious patterns
**Swing Signal** - Primary recommendation
- HOLD LONG: Bullish regime + Flow Strength >60%
- HOLD SHORT: Bearish regime + Flow Strength >60%
- CAUTION: Manipulation detected
- MONITOR: All other conditions
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE FOR SWING TRADING
═══════════════════════════════════════════════════════════════════════════════
**ENTRY CONFIRMATION (Long Positions):**
Wait for multiple confirmations:
1. Histogram shows bright green bars
2. Histogram crosses above 21-period MA
3. Flow Strength >60%
4. Dashboard shows "BUYING" or "HEAVY BUYING"
5. Volume Ratio >1.5x
6. No yellow manipulation warnings
7. Regime shows "BULLISH"
**HOLDING POSITIONS (Primary Use Case):**
The indicator's strength is helping traders stay in winning trades. Continue holding when:
- Dashboard displays "HOLD LONG" or "HOLD SHORT"
- Histogram bars remain same color as position direction
- Histogram stays on correct side of 21-period MA
- Daily Flow continues trending in your direction
- Market regime supports position
- No "CAUTION" signals appear
This prevents premature exits during normal volatility when institutions are still supporting the move.
**EXIT SIGNALS:**
Consider closing positions when:
- Histogram crosses 21-period MA against position
- Histogram color changes from green to red (or vice versa)
- Dashboard changes to "CAUTION"
- Yellow manipulation warnings appear
- Market regime flips
- Flow Strength drops below 40%
**ENTRY CONFIRMATION (Short Positions):**
Wait for multiple confirmations:
1. Histogram shows bright red bars
2. Histogram crosses below 21-period MA
3. Flow Strength >60%
4. Dashboard shows "SELLING" or "HEAVY SELLING"
5. Volume Ratio >1.5x
6. No manipulation warnings
7. Regime shows "BEARISH"
═══════════════════════════════════════════════════════════════════════════════
CUSTOMIZATION OPTIONS
═══════════════════════════════════════════════════════════════════════════════
**Flow Detection Settings:**
- Unusual Volume Threshold (1.0-5.0x, default 1.5x)
- Large Order Multiplier (2.0-10.0x, default 3.0x)
- Flow Analysis Period (5-50 bars, default 14)
**Histogram Display:**
- Histogram Style (5 options: Columns/Area/Line/Step/Histogram)
- Histogram Width (1-10, default 4)
**Moving Average:**
- Show 21-Period MA (toggle)
- MA Line Color (customizable)
- MA Line Width (1-5, default 2)
**Visual Settings:**
- Show Buy/Hold/Sell Labels (toggle)
- Label Size (Tiny/Small/Normal/Large/Huge)
- Label Distance from Bars (0.1-2.0x, prevents overlap)
- Show Manipulation Warnings (toggle)
- Show Watermark (toggle)
**Dashboard:**
- Position (4 corners)
- Size (Small/Normal/Large)
- Background Color (fully customizable)
- Border Color (fully customizable)
**Alerts:**
- Toggle institutional activity alerts
- Three types: Strong Buy, Strong Sell, Manipulation Detection
═══════════════════════════════════════════════════════════════════════════════
RECOMMENDED SETTINGS BY TRADING STYLE
═══════════════════════════════════════════════════════════════════════════════
**Day Trading (15min-1H):**
- Volume Threshold: 1.3x
- Large Order Multiplier: 2.5x
- Flow Period: 7-10
- Label Distance: 0.3-0.4x
**Swing Trading (4H-Daily) - DEFAULT:**
- Volume Threshold: 1.5x
- Large Order Multiplier: 3.0x
- Flow Period: 14
- Label Distance: 0.5x
**Position Trading (Daily-Weekly):**
- Volume Threshold: 2.0x
- Large Order Multiplier: 5.0x
- Flow Period: 21
- Label Distance: 0.7-1.0x
═══════════════════════════════════════════════════════════════════════════════
BEST MARKETS & TIMEFRAMES
═══════════════════════════════════════════════════════════════════════════════
**Optimal Performance:**
- Timeframes: 1-hour, 4-hour, Daily
- Markets: Liquid stocks and ETFs (avg volume >1M shares/day)
- Market Cap: >$500M (ensures institutional participation)
- Examples: SPY, QQQ, AAPL, MSFT, NVDA, TSLA, major sector ETFs
**Less Effective:**
- Penny stocks (<$500M market cap)
- Low-volume securities
- Cryptocurrency (different volume dynamics)
- Timeframes below 15 minutes (excessive noise)
═══════════════════════════════════════════════════════════════════════════════
EDUCATIONAL FEATURES
═══════════════════════════════════════════════════════════════════════════════
**Interactive Learning:**
Every signal includes a hover tooltip that explains:
- **Why** - The specific conditions that triggered the signal
- **What** - The exact metric values (momentum, MFI, volume)
- **How** - Specific trading actions to take
- **When** - Exit conditions to monitor
- **Risk** - Management recommendations
**Example Tooltips:**
**BUY Signal:** "Institutions actively accumulating. Momentum: X.XX | MFI: XX | Volume: X.Xx avg. Large orders detected. Consider LONG positions or CALL options. Place stops below support."
**HOLD Signal:** "Consolidation phase. No clear direction. HOLD profitable positions. DO NOT enter new trades. Many traders exit too early during consolidation - institutions accumulate before next move."
**Manipulation Warning:** "High volume with minimal price movement. Possible spoofing, layering, or wash trading. STAY OUT. Tighten stops. Expect whipsaw. Wait for warning to clear."
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS & DISCLOSURES
═══════════════════════════════════════════════════════════════════════════════
**What This Indicator DOES:**
✓ Analyzes publicly available price and volume data
✓ Identifies patterns consistent with institutional activity
✓ Detects suspicious volume/price relationships
✓ Provides statistical money flow analysis
✓ Helps traders hold through normal volatility
**What This Indicator DOES NOT DO:**
✗ Access external APIs or institutional order flow data
✗ Track actual institutional orders (infers from patterns)
✗ Guarantee profitable trades
✗ Replace risk management
✗ Work reliably on illiquid securities
✗ Provide financial advice
**Technical Limitations:**
- Uses confirmed bar data only (no repainting)
- Requires minimum 50 bars for volume baseline
- Daily Flow resets at market open
- Manipulation detection can have false positives during low liquidity
- Label positioning may overlap on extreme values
**Trading Disclaimers:**
- Infers institutional activity through statistical analysis
- Should complement, not replace, fundamental analysis
- Past performance does not guarantee future results
- Always use proper position sizing and stop losses
- Not a registered investment advisor
**Risk Warning:**
Options trading carries substantial risk. This indicator is provided for educational purposes. Users should conduct due diligence and consult licensed professionals before trading.
═══════════════════════════════════════════════════════════════════════════════
ALERT CONDITIONS
═══════════════════════════════════════════════════════════════════════════════
Three built-in alert types:
1. **Strong Buy Signal** - Bright green bars appear (>0.3 momentum + bullish regime + unusual volume)
2. **Strong Sell Signal** - Bright red bars appear (<-0.3 momentum + bearish regime + unusual volume)
3. **Manipulation Detected** - Suspicious volume/price patterns occur
To enable:
- Click three dots next to indicator name
- Select "Create Alert"
- Choose alert condition
- Configure notifications
- Set frequency to "Once Per Bar Close"
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- **Pine Script Version:** v6
- **Type:** Oscillator (separate pane)
- **Repainting:** None - uses confirmed bar data only
- **Lookahead Bias:** None
- **Max Bars Back:** 500
- **Computational Load:** Low to moderate
- **Bar Replay Compatible:** Yes
═══════════════════════════════════════════════════════════════════════════════
VERSION HISTORY
═══════════════════════════════════════════════════════════════════════════════
**v1.0** (Initial Release)
- Histogram-based institutional momentum display
- 5 customizable plot styles
- 12-metric comprehensive dashboard
- Flow magnitude tracking (M/B/T units)
- 21-period moving average overlay
- Manipulation detection algorithm
- Educational tooltip system on all signals
- BUY/HOLD/SELL label system with positioning
- Market regime classification
- Three alert conditions
- Fully customizable dashboard (size, colors, position)
═══════════════════════════════════════════════════════════════════════════════
CREDITS
═══════════════════════════════════════════════════════════════════════════════
Developed from scratch using Pine Script v6 and standard TradingView built-in functions. No code copied from other scripts. Methodology combines classical volume analysis with modern institutional flow detection.
═══════════════════════════════════════════════════════════════════════════════
This indicator helps swing traders answer: "Should I hold or exit?" By analyzing institutional activity and warning of manipulation, it provides the framework to stay in winning trades while protecting against adverse conditions.
Published open-source to contribute to the TradingView community.
Questions or feedback? Leave a comment below.
═══════════════════════════════════════════════════════════════════════════════
Disclaimer: Provided "as-is" without warranty. Use at your own risk. Past performance does not guarantee future results.
Relative Strength vs Index - Joe v2This Indicator compares the relative strength of a ticker versus a reference index (QQQ/SPY), offering different calculation modes to capture performance or momentum differences.
Calculation Modes
Each mode analyzes the ticker’s performance against the index in a different way:
1. Moving Averages #1 (DEFAULT)
Compares the performance of the ticker relative to the index using the percentage distance from the moving average. This absolute deviation method may result in larger swings when price is far from the MA, offering a more sensitive view of divergence.
2. Moving Averages #2
Compares the performance of the ticker relative to the index using the ratio of price to moving average. This relative ratio method provides a smoother, proportional comparison and tends to produce stable values even when prices are far from the moving average.
3. % Based
Compares the percentage change in price since the session’s start time (adjustable) for both the ticker and the index.
Use case: Quick, simple snapshot of relative performance.
4. % Based - Bar-By-Bar
It compares the percentage change of the ticker from the previous bar to the percentage change of the index from the previous bar, and expresses the result as a relative strength percentage. It essentially answers: "Did the ticker move more (up or down) than the index in this bar?"
5. Rate of Change (ROC)
Compares the rate of change over a user-defined period. Optionally normalizes using ATR ratios to adjust for volatility.
Use case: Measures price momentum relative to the index.
6. RSI (Relative Strength Index)
Compares the RSI values of the ticker and index.
Effect: Highlights differences in momentum strength, expressed as a percentage difference.
-------------------------------------------------------------------
ATR Normalization (Very Important)
You can normalize the results of any mode using the Daily ATR of the ticker. This adjusts the output to account for the ticker's volatility, helping distinguish between meaningful moves and normal noise.
This is very important as every ticker have its own daily Average True Range (Typically movement in any given day)
-------------------------------------------------------------------
Trading Ideas
This indicator should not be used as the sole signal to enter trades; it works best when combined with your other trading signals.
As shown on the chart, at the open, the ticker was stronger than the index and initially moved upward. However, this strength eventually turned into weakness, and the ticker trended downward. Always keep a chart of the index open to monitor overall market behavior alongside your ticker.
It is well known that stocks generally follow the index. However, if a stock has news or specific reasons to move independently, knowing whether it is stronger or weaker than the index provides valuable insight.
Tip: If a stock is trading stronger than the index while the index is moving downward, once the index reverses and moves upward, the stock is likely to move with even greater strength, assuming it remains correlated with the index. Monitoring both the index and the stock together helps identify these opportunities.
-------------------------------------------------------------------
Important Companion Indicator: Correlation Tracker - Jv2 (Available From my Scripts)
The Correlation Tracker is a powerful tool designed to measure, visualize, and classify the correlation between a symbol and a reference index (QQQ/SPY). It provides an intuitive and customizable way to understand whether a ticker moves with, against, or independently from the market.
It classifies correlation strength into seven categories (from strong negative to strong positive) and highlights them using color-coded visuals, labels, meters, and optional background zones.
It is another part of the same puzzle and both should be used at the same time. One measuring relative strength, and the other correlation.






















