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.
Sentiment
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! 🚀*
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.
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
Multi Timeframe Trend IndicatorDiscreet visual display across 4 timeframes (adjustable). If you trade on a 5-minute timeframe, for example, you have an all-in-one visual display across the 4 higher timeframes (e.g., m15, m30, h1 and h4) for better decision-making.
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
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.
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!
Smart Money Concept with CPR Hariss 369The Central Pivot Range (CPR) is a price-based intraday support–resistance indicator used to identify market trend, strength, and breakout levels. It is calculated using the previous day’s High, Low, and Close. CPR consists of three levels:
PP (Pivot Point) = (High + Low + Close) / 3
BC (Bottom Central) = (High + Low) / 2
TC (Top Central) = 2 × PP – BC
Together, BC–PP–TC form the CPR zone.
How traders use CPR
Narrow CPR → Indicates high probability of trending or volatile moves.
Wide CPR → Suggests range-bound or sideways market.
Price above CPR → Bullish bias.
Price below CPR → Bearish bias.
Breakouts of TC/BC are often used for intraday trades with momentum confirmation (like volume or moving averages).
Why CPR is popular
CPR helps traders quickly judge the market tone, identify key levels, and plan trades around breakout, reversal, or trending conditions. It is widely used in index and stock intraday trading.
To strengthen the trade, RSI, RVOL and DMI/ADX have been added to this strategy with optional filter. One can change these values based on one's trading style and risk appetite.
On bullish trend BC is often used as stop loss and on bearish trend TC is often used as stop loss.
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 :)
Gold-to-GDX Flow Ratio (Metal vs Miners)# 📊 Indicator: Gold/GDX Flow Ratio (Metal vs Miners)
🔎 What it does
This indicator tracks the **relative flow of capital between gold and gold miners (GDX ETF)**. By plotting the ratio of gold price to GDX, it shows whether investors are favoring the **metal itself** or the **equities that mine it**.
- **Ratio rising:** Flow favors gold (metal > miners).
- **Ratio falling:** Flow favors miners (miners > metal).
- **Crossovers:** Fast/slow EMA crossovers highlight regime shifts.
- **Z‑score bands:** ±2 standard deviations flag stretched conditions, often precursors to mean reversion.
⚙️ Features
- **Customizable inputs:** Choose spot gold (`XAUUSD`) or futures (`GC1!`), and GDX ETF.
- **Moving averages:** Fast and slow EMAs to define flow regimes.
- **Z‑score overlay:** Detects extremes in the ratio.
- **Alerts:** Triggered on regime flips or exhaustion signals.
- **Prompt flow option:** Displays the current ratio as a clear on‑screen figure for quick read.
🎭 Why it matters
- **Gold vs miners divergence:** Miners often amplify moves in gold, but sometimes decouple. This ratio helps spot those divergences early.
- **Flow diagnostics:** Instead of vague “profit taking” narratives, you see where capital is actually rotating.
- **Tactical entries:** Use resistance/stop‑cluster maps in gold together with this ratio to time miner trades more effectively.
🧭 How to use
1. Add the indicator to your chart.
2. Watch the **ratio trend**: rising = metal strength, falling = miner strength.
3. Use **EMA crossovers** as regime signals.
4. Treat **Z‑score extremes** as caution zones for stretched flows.
5. Combine with your VWAP and resistance overlays for execution discipline.
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.
GOD MODE HUNT v2.0 — SCREENER ULTIME 2025test screener pour détecter les crypto basée sur des règles strict
Goal Setting Strategies Viprasol# 🎯 Goal Setting Strategies Viprasol
A powerful goal tracking tool designed for disciplined traders who want to monitor their trading objectives, milestones, and progress directly on their charts.
## ✨ KEY FEATURES
### 📊 Flexible Goal Management
- Track anywhere from 1 to 20 trading goals simultaneously
- Adjustable goal count via simple input slider
- Each goal has its own unique emoji identifier
- Real-time progress counter
### ✅ Visual Tracking System
- Interactive checkbox system for goal completion
- Clear visual indicators (✅ completed, ⬜️ pending)
- Customizable goal names and descriptions
- Dynamic progress display
### 🎨 Full Customization
- **4 Position Options**: Top Left, Top Right, Bottom Left, Bottom Right
- **5 Font Sizes**: Tiny, Small, Normal, Large, Huge (optimized for all screen sizes)
- **Custom Colors**: Header, labels, background, achievement text
- **Premium Styling**: Modern cyber-themed design with professional appearance
### 💡 Perfect For:
- Daily/Weekly trading goal tracking
- Risk management milestones
- Profit target monitoring
- Trading plan compliance
- Personal development objectives
- Learning milestones
## 🔧 HOW TO USE
1. **Set Your Primary Goal**: Enter your main objective in "Primary Goal" field
2. **Choose Goal Count**: Select how many goals you want (1-20)
3. **Name Your Goals**: Customize each goal name in the "Goal Definitions" section
4. **Track Progress**: Check off goals as you complete them
5. **Customize Display**: Adjust colors, sizes, and position to match your chart setup
## 📐 INPUT GROUPS
### 🎯 Viprasol Goal Configuration
- Primary Goal Name
- Number of Goals (1-20)
### 📋 Goal Definitions
- All 20 goals with individual names and checkboxes
- Only enabled goals (based on count) will display
### 🌈 Premium Styling
- Goal Header Color
- Label Color
- Panel Background Color
- Achievement Color
- Header Font Size
- Milestone Font Size (Tiny/Small optimized for space)
### 📍 Elite Display
- Dashboard Position selector
## 💎 UNIQUE FEATURES
- **Space Efficient**: Tiny and Small font options for compact displays
- **Scalable**: Grow from 1 goal to 20 as your needs evolve
- **Non-Intrusive**: Overlay indicator that doesn't interfere with price action
- **Professional Design**: Clean, modern interface with cyber aesthetic
## 🎓 USE CASES
**Day Traders**: Track daily profit targets, trade count limits, max loss thresholds
**Swing Traders**: Monitor weekly/monthly goals, position management rules
**New Traders**: Learning milestones, strategy development checkpoints
**Experienced Traders**: Advanced risk management, portfolio objectives
## ⚙️ TECHNICAL DETAILS
- Version: Pine Script v5
- Type: Overlay Indicator
- Max Labels: 500
- Table-based display system
- No repainting
- Lightweight performance
## 🚀 GETTING STARTED
1. Add indicator to your chart
2. Set "Number of Goals" to your desired count (start small, scale up)
3. Customize goal names
4. Check boxes as you achieve goals
5. Watch your progress build!
## 📊 DISPLAY OPTIMIZATION
- Use "Tiny" or "Small" for maximum goals on small screens
- Use "Normal" or "Large" for standard monitors
- Use "Huge" for presentation or large displays
- Adjust position to avoid chart overlap
## 🎯 TRADING DISCIPLINE
This tool helps reinforce:
- Goal-oriented trading mindset
- Progress tracking accountability
- Milestone celebration
- Structured approach to trading development
---
**© viprasol**
*Designed for traders who take their goals seriously.*
⏰Forex Market Clock Table (DST Auto)⏰ Forex Market Clock Table (DST Auto)
Keep track of key forex session times with this clean, real-time table showing local time, market status (open/closed), and automatic Daylight Saving Time (DST) adjustments for Sydney, Tokyo, London, and New York. Displays countdowns to session open/close and highlights weekends. Fully customizable position, colors, and text size—perfect for multi-session traders.
Current Price Label & Line📊 Current Price Label & Line Indicator
Keep track of the current price with style! This indicator displays a clean, customizable price label alongside a horizontal reference line that makes it easy to see exactly where price is trading at a glance.
✨ Key Features
The indicator creates a dynamic label that shows the current closing price with precision formatting matched to your chart's tick size. Position the label anywhere you want using the bar offset control, allowing you to keep it visible without cluttering your price action. The accompanying horizontal line extends across your chart, providing a clear visual reference point.
🎨 Full Customization
Make it match your trading style perfectly. Choose from five font sizes ranging from tiny to huge, ensuring readability on any screen size or chart layout. Customize the label background color, text color, and line color independently to match your chart theme or personal preferences. You can even adjust the line width for subtle or bold emphasis depending on your needs.
🎯 Perfect For
Day traders who need quick price reference at a glance. Chart analysts who want clean, professional-looking price markers. Anyone who prefers a minimalist approach to price tracking without unnecessary indicators cluttering their workspace.
💡 How It Works
The indicator automatically updates with each new bar, keeping your price display current. The label floats at your chosen offset from the current bar, while the line extends left across your chart history. Everything is clean, efficient, and designed to stay out of your way while providing essential information.
Simple to set up, easy to customize, and lightweight on your chart. Add it once and adjust the settings to your preference—it just works!
SCOTTGO - Day Trade Stock Quote V4This Pine Script indicator, titled "SCOTTGO - Day Trade Stock Quote V4," is a comprehensive, customizable dashboard designed for active traders. It acts as a single, centralized reference point, displaying essential financial and technical data directly on your chart in a compact table overlay.
📊 Key Information Provided
The indicator is split into sections, aggregating various critical data points to provide a holistic picture of the stock's current state and momentum:
1. Ownership & Short Flow
This section provides fundamental context and short-interest data:
Market Cap, Shares Float, and Shares Outstanding: Key figures on the company's size and publicly tradable shares.
Short Volume %: Indicates the percentage of trading activity driven by short sellers.
Daily Change %: Shows the day's price movement relative to the previous close.
2. Price & Volatility
This tracks historical and immediate price levels:
Previous Close, Day High/Low: Key daily reference prices.
52-Week High/Low: Important long-term boundaries.
Earnings Date: A crucial fundamental date (currently displayed as a placeholder).
3. Momentum & Volume
These metrics are essential for understanding intraday buying and selling pressure:
Volume & Average Volume: The current trade volume compared to its historical average.
Relative Volume (RVOL): Measures how much volume is currently trading compared to the average rate for that time period (shown for both Daily and 5-Minute rates).
Volume Buzz (%): A percentage representation of how much current volume exceeds or falls below the average.
ADR % & ATR %: Measures of volatility.
RSI, U/D Ratio, and P/E Ratio: Momentum and valuation indicators.
4. Context
This provides background information on the security:
Includes the Symbol, Exchange, Industry, and Sector (note: some fields use placeholder data as this information is not always available via Pine Script).
⚙️ Customization
The dashboard is highly customizable via the indicator settings:
You can control the visibility of every single metric using the Section toggles.
You can change the position (Top Left, Top Right, etc.), size, and colors of the entire table.
In summary, this script is a powerful tool for day traders who need to monitor a large number of fundamental, technical, and volatility metrics simultaneously without cluttering the main chart area.
Lowest Point in Last 66 Days DistanceSimple script which plots the distance of price from its last 66 days low
[CT] ATR Ratio MTFThis indicator is an enhanced, multi-timeframe version of the original “ATR ratio” by RafaelZioni. Huge thanks to RafaelZioni for the core concept and base logic. The script still combines an ATR-based ratio (Z-score style reading of where price sits within its recent ATR envelope) with an ATR Supertrend, but expands it into a more flexible trade-decision and visual context tool.
The ATR ratio is normalized so you can quickly see when price is pressing into extended bullish or bearish territory, while the Supertrend defines directional bias and a dynamic support-resistance trail. You can choose any higher timeframe in the settings, allowing you to run the ATR ratio and Supertrend from a larger anchor timeframe while trading on a lower chart.
Upgrades include a full Pine Script v6 rewrite, multi-timeframe support for both the ATR ratio and Supertrend, user-controlled colors for the Supertrend in bull and bear modes, and optional bar coloring so price bars automatically reflect Supertrend direction. Entry, pyramiding and take-profit logic from the original script are preserved, giving you a familiar framework with more control over timeframe, visuals and trend bias.
This indicator is designed to give you a clean directional framework that blends volatility, trend, and timing into one view. The ATR ratio side of the script shows you where price sits inside a recent ATR-based envelope. When the ATR ratio pushes up and sustains above the bullish threshold, it signals that price is trading in an extended, momentum-driven zone relative to recent volatility. When it drops and holds below the bearish threshold, it shows the opposite: sellers have pushed price down into an extended bearish zone. The optional background coloring simply makes these bullish and bearish environments easier to see at a glance.
On top of that, the Supertrend and bar colors tell you what side of the market to favor. The Supertrend is calculated from ATR on whatever timeframe you choose in the settings. If you set the MTF input to a higher timeframe, the Supertrend and ATR ratio become your higher time frame bias while you trade on a lower chart. When price is above the MTF Supertrend, the line uses your bullish color and, if bar coloring is enabled, candles adopt your bullish bar color. That is your “long only” environment: you generally look for buys when price is above the Supertrend and the ATR ratio is either turning up from neutral or already in a bullish zone. When price is below the MTF Supertrend, the line uses your bearish color and candles can shift to your bearish bar color; that is where you focus on shorts, especially when the ATR ratio is rolling over or holding in the bearish zone.
The built-in long and short conditions are meant as signal prompts, not rigid rules. Long signals fire when the ATR ratio crosses up through a positive level while the Supertrend is bullish. Short signals fire when the ATR ratio crosses down through a negative level while the Supertrend is bearish. The script tracks how many longs or shorts have been taken in sequence (pyramiding) and will only allow a new signal up to the limit you set, so you can control how aggressively you stack positions in a trend. The take-profit logic then watches the percentage move from your last entry and flags “TP” when that move has reached your take-profit percent, helping you standardize exits instead of eyeballing them bar by bar.
In practice you typically start by choosing your anchor timeframe for the MTF setting, for example a 1-hour or 4-hour Supertrend and ATR ratio while watching a 5-minute or 15-minute chart. You then use the Supertrend direction and bar colors as your bias filter, only taking signals in the direction of the trend, and you use the ATR ratio behavior to judge whether you are entering into strength, fading an extreme, or trading inside a neutral consolidation. Over time this gives you a consistent way to answer three questions on every chart: which side am I allowed to trade, how extended is price within its recent volatility, and where are my structured entries and exits based on that framework.
VIX Futures Spread (VX1 - VX2)Calculate the currente VIX front vs next contract spread.
Allow to identify if the market is in Contango or Backwardation
Display the result as a color coded histogram
Simulateur Carnet d'Ordres & Liquidité [Sese] - Custom🔹 Indicator Name
Order Book & Liquidity Simulator - Custom
🔹 Concept and Functionality
This indicator is a technical analysis tool designed to visually simulate market depth (Order Book) and potential liquidity zones.
It is important to adhere to TradingView's transparency rules: This script does not access real Level 2 data (the actual exchange order book). Instead, it uses a deductive algorithm based on historical Price Action to estimate where Buy Limit (Bid) and Sell Limit (Ask) orders might be resting.
Methodology used by the script:
Pivot Detection: The indicator scans for significant Swing Highs and Swing Lows over a user-defined lookback period (Length).
Level Projection: These pivots are projected to the right as horizontal lines.
Red Lines (Ask): Represent potential resistance zones (sellers).
Blue Lines (Bid): Represent potential support zones (buyers).
Liquidity Management (Absorption): The script is dynamic. If the current price crosses a line, the indicator assumes the liquidity at that level has been consumed (orders filled). The line is then automatically deleted from the chart.
Density Profile (Right Side): Horizontal bars appear to the right of the current price. These approximate a "Time Price Opportunity" or Volume Profile, showing where the market has spent the most time recently.
🔹 User Manual (Settings)
Here is how to configure the inputs to match your trading style:
1. Detection Algorithm
Lookback Length (Candles): Determines the sensitivity of the pivots.
Low value (e.g., 10): Shows many lines (scalping/short term).
High value (e.g., 50): Shows only major structural levels (swing trading).
Volume Factor: (Technical note: In this specific code version, this variable is calculated but the lines are primarily drawn based on geometric pivots).
2. Visual Settings
Show Price Lines (Bid/Ask): Toggles the horizontal Support/Resistance lines on or off.
Show Volume Profile: Toggles the heatmap-style bars on the right side of the chart.
Extend Lines: If checked, untouched lines will extend to the right towards the current price bar.
3. Colors and Transparency Management
Customize the aesthetics to keep your chart clean:
Bid / Ask Colors: Choose your base colors (Default is Blue and Red).
Line Transparency (%): Crucial for chart visibility.
0% = Solid, bright colors.
80-90% = Very subtle, faint lines (recommended if you overlay this on other tools).
Text Size: Adjusts the size of the price labels ("BUY LIMIT" / "SELL LIMIT").
🔹 How to Read the Indicator
Rejections: Unbroken lines act as potential walls. Watch for price reaction when approaching a blue line (support) or red line (resistance).
Breakouts/Absorption: When a line disappears, it means the level has been breached. The market may then seek the next liquidity level (the next line).
Density (Right-side boxes): More opaque/visible boxes indicate a price zone "accepted" by the market (consolidation). Empty gaps suggest an imbalance where price might move through quickly.
⚠️ Disclaimer
This script is for educational and technical analysis purposes only. It is a simulation based on price history, not real-time order book data. Past performance is not indicative of future results. Trading involves risk.
MTF Trading Helper & Multi AlertsHi dear fellows, I´m using this indicator for my trading, so every then and when I will publish updates on this one.
This indicator should help to identify the right trading setup. I´m using it to trade index futures and stocks.
MTF Trading Helper & Multi Alerts
Overview
This indicator provides a clear visual representation of trend direction across three timeframes. It helps traders identify trend alignment, potential reversals, and optimal entry/exit points by analyzing the relationship between different smoothed timeframes.
You can set up multiple alerts (as one alert in Tradingview)
How It Works
The indicator displays three colored circles representing the smoothed candle direction on three different timeframes:
Bottom plot represents the overall trend direction, the plot in the middle shows intermediate momentum, and the one on top captures short-term price action.
When a color change occurs, the circle appears in a darker shade to highlight the transition.
🟢 Green = Bullish - 🔴 Red = Bearish
This change can also trigger multiple alerts.
Timeframe Settings - important
Choose between two trading setups, either for:
Intraday 1-minute candles or 1h for swing trading. Set up your chart accordingly to that timeframe.
Intraday | 1Min chart candles
Swing | 1 hour chart candles
Plots
TF3 represents the overall trend direction (bottom), TF2 shows intermediate momentum (middle), and TF1 captures short-term price action (top).
Interpretation & Strategy Alerts
1. Trend Bullish (TF3 turns Green)
The higher timeframe has shifted bullish - a potential new uptrend is forming.
Example: You're watching ES-mini on the Intraday setting. TF3 turns green after being red for several days. This signals the broader trend may be shifting bullish - consider looking for long opportunities.
2. Trend Bearish (TF3 turns Red)
The higher timeframe has shifted bearish - consider protecting profits or exiting long positions.
Example: You hold a long position in Es-mini. TF3 turns red, indicating the macro trend is weakening. This is your signal to take profits or tighten stop-losses.
3. Possible Accumulation (TF3 Red + TF2 turns Green)
While the overall trend is still bearish, the medium timeframe shows buying pressure. Smart money may be accumulating - watch closely for a potential trend reversal.
Example: Es-mini has been in a downtrend (TF3 red). Suddenly TF2 turns green while TF3 remains red. This could indicate institutional buying before a reversal. Don't buy yet, but add it to your watchlist and wait for confirmation.
4. Trend Continuation (TF3 Green + TF2 turns Green)
The medium timeframe realigns with the bullish macro trend - a potential buying opportunity as momentum returns to the uptrend.
Example: Es-mini is in an uptrend (TF3 green). After a pullback, TF2 was red but now turns green again. The pullback appears to be over - this is a trend continuation signal and a potential entry point.
5. Buy the Dip (TF3 + TF2 Green + TF1 turns Green)
All timeframes are now aligned bullish. The short-term pullback is complete and price is resuming the uptrend - optimal entry for short-term trades.
Example: Es-mini is trending up (TF3 + TF2 green). A small dip caused TF1 to turn red briefly. When TF1 turns green again, all three timeframes are aligned - this is your "Buy the Dip" signal with strong confirmation.
6. Sell the Dip (TF3 + TF2 Green + TF1 turns Red)
Short-term weakness within an uptrend. This can be used to take partial profits, wait for a better entry, or trail stops tighter.
Example: You're long on ES-mini with TF3 and TF2 green. TF1 turns red, indicating short-term selling pressure. Consider taking partial profits here and wait for TF1 to turn green again (Buy the Dip) to add back to your position.
How to Use
Choose your scenario: Select "Intraday" 1min-chart for day trading or "Swing" 1h-chart for swingtrading
Enable alerts: Turn on the strategy alerts you want to receive in the settings
Wait for signals: Let the indicator notify you when conditions align
Confirm with price action: Always use additional confirmation before entering trades
Best Practices
✅ Use TF3 as your trend filter - only take longs when TF3 turns green and hold them :)
✅ Use TF2 for timing - wait for TF2 to align with TF3 for swings.
✅ Use TF2 for early entries (accumulation phase) when TF3 is still red. Watch out!
✅ Use TF1 for entries when TF3 and TF2 are green. Only buy if TF1 is red. Keep it short and sweet.
✅ Combine with support/resistance levels for better entries
✅ Use proper risk management - no indicator is 100% accurate
Disclaimer
This indicator is for educational purposes only. Past performance does not guarantee future results. Always do your own research and use proper risk management. Never risk more than you can afford to lose.






















