TASC 2026.01 The Reversion Index (RI)This script implements the Reversion Index (RI), an indicator originally presented in Technical Analysis of Stocks & Commodities (TASC) magazine, January 2026 issue.
The Reversion Index is designed to measure directional balance versus total movement, helping identify overextended conditions and potential mean-reversion scenarios. It compares the net directional price change to the sum of absolute price changes over a given period, producing a normalized oscillator.
To improve signal quality, this implementation applies John Ehlers’ Super Smoother filter, reducing noise while preserving responsiveness. A slower smoothed line and a faster trigger line are included to assist with timing and momentum shifts.
Key Features
Based on the original TASC Reversion Index
Uses Ehlers Super Smoother filtering
Highlights overextension and reversion potential
Non-repainting, calculation-based indicator
Designed for discretionary and contextual analysis
Credits
Original concept: Published in Technical Analysis of Stocks & Commodities
Filtering methodology: John F. Ehlers
Implementation: Custom TradingView script
License
This script is provided free of charge for educational and analytical purposes.
אינדיקטורים ואסטרטגיות
KXR Capital - Monthly First 3Days High Low (with Avg)This script calculates the following:
1) The Highest High of the first 3 trading days of the month.
2) The Lowest Low of the first 3 trading days of the month.
3) The Midpoint of these High's and Low's.
4) The Pivot Point of (#1+#2+Previous Days Close)/3.
5) The Monthly Opening Price.
These prices can provide guidance on Bullishness or Bearishness for the remaining price action of the month. Price closing above or below the First 3DHH or First 3DLL can give you a trade in that respective direction. The Pivot Point can act as a flip line (reverse point) in the current direction. The midpoint and opening price support price action decisions.
Conceptually its a monthly approach to the classic Opening Range Breakout techniques that are used on an intraday basis.
True FVGs v2This script identifies and plots true Fair Value Gaps (FVGs) using a strict three-candle structure, distinguishing between two formation types while accounting for doji candles. It draws shaded boxes to represent untraded price imbalances, with Type A and Type B gaps defined by precise wick-to-body and body-to-body relationships that reflect institutional price displacement. The indicator allows the user to control how far each FVG extends and how many recent FVGs remain visible, keeping the chart clean and relevant. This is helpful because it highlights high-probability areas where price is likely to react, enabling more precise trade planning, entries, and risk management without visual clutter. It expands on the first script (True FVGs) and allows for a more controlled design fitting each trader's desires.
ColorTrend TwoColor Trend Two compliments ColorTrend One in our Color Match Trading System. See our full description under Color Match Trading System.
Volume Delta MontoscaTechnical Summary: Volume Delta Montosca + Market Bias V3
The Volume Delta Montosca + Market Bias V3 is a multi-layered analysis tool designed to decode market sentiment through volume decomposition and relative strength. Instead of looking at volume as a single metric, this indicator splits every bar into its buy and sell components to reveal the true intent behind price movements.
Core Volume Analysis and Delta Logic
The indicator uses a calculation based on price movement within each bar to estimate Buy and Sell Delta. It measures the relationship between the close, high, and low to determine how much of the total volume was aggressive buying versus aggressive selling. Users can define a Dominance Threshold (typically 80%), which acts as a filter to identify bars where one side has a "substantial majority," effectively ignoring noise and focusing on high-conviction moves.
Signal Generation and FVG Filtering
Signals are categorized into two levels of importance. Base Signals (represented by small circles) occur when there is a significant volume spike—defined by a 20-period SMA—combined with high dominance. However, the indicator also features an internal Fair Value Gap (FVG) Filter. When price action "inverts" or breaks through a recent price imbalance while showing dominant volume, the indicator triggers a High-Priority Signal (represented by triangles). This specific logic ensures that signals are not just based on volume, but on the successful reclamation of key price areas.
Dynamic Market Bias and Comparative Strength
Beyond individual asset analysis, the script includes a Market Bias Engine that compares the current ticker against a benchmark, such as the S&P 500 (ES1!). It calculates a ratio between the two assets and applies a "Volume Supremacy" logic. If the current asset shows expanding volume and higher dominance percentages than the benchmark, the Bias Panel updates to show which asset is leading the market. This allows traders to see at a glance if they are trading the strongest available asset or if the broader market bias is shifting against them.
Visual Elements and Customization
The tool offers a clean visual experience by plotting a dual-colored histogram where the dominant volume color takes priority. It also includes Volume Candles, which paint the bars on the main chart to match the volume sentiment, and Top Diamonds to mark the peaks of volume expansion. All features, including the FVG lookback range and the SMA adjustment factor, are fully customizable to fit different trading timeframes and styles.
Volatility Contraction Box (VCB)Volatility Contraction Box (VCB)
Description (Copy & Paste)
This script is a specialized breakout detector designed for scalpers on the Nifty, BankNifty, and NSE 1-minute timeframes.
Inspiration & Concept The core philosophy of this script is based on the concept of Volatility Contraction—the idea that strong market moves are almost always preceded by a period of "quiet compression."
Conceptual Source: This script was inspired by the trading theory discussed in the article "What 90% of Traders Miss Before a Breakout" by betashorts1998, which highlights the importance of identifying low-volatility zones before the expansion phase occurs.
Adaptation: While the original concept often uses ATR to measure contraction, this script adapts that theory into a Price Action Box Model. It detects physical price stagnation (flat Highs and Lows) to draw visual "Kill Zones" on the chart.
The Problem: The "Fakeout" In 1-minute scalping, a simple breakout often results in a wick that traps traders (a "fakeout"). The Solution: This script uses a Next-Candle Confirmation Algorithm. It detects a breakout but hides the signal until the next candle closes in the direction of the trend. If the follow-through fails, the box and signal are discarded, keeping your chart clean and your capital safe.
How the Code Works (Programmer's Logic)
For those interested in the Pine Script logic, here is how the algorithm processes market data:
1. Stagnation Detection (range_changed) The script uses ta.highest(length) and ta.lowest(length) to track the Donchian Channel of the price.
It checks ta.change(h) and ta.change(l).
If both return 0 (meaning the High and Low haven't moved), a counter (count_activity) increments.
Once this counter hits the threshold (default: 5 bars), a "Virtual Box" is created in the code's memory.
2. The "Ghost" State (Pending Logic) Unlike standard indicators that plot immediately, this script enters a "Pending" state when price breaks the box levels:
pendingDir variable is set to 1 (Buy) or -1 (Sell).
breakoutBar records the specific time of the break.
Crucially, nothing is drawn on the chart yet.
3. The Confirmation Loop The script waits for bar_index == breakoutBar + 1 (the very next candle).
It runs a boolean check: isValid.
For Buys: close >= open (The candle must be Green).
For Sells: close <= open (The candle must be Red).
If isValid is true, the script utilizes box.new and label.new to retroactively draw the setup.
If isValid is false, the variables are reset, and the setup is deleted from memory.
How to Use
Wait for the Signal: Do not pre-empt the move. Wait for the colored Box and "BUY/SELL" label to appear.
Entry: The signal appears on the close of the confirmation candle. Enter immediately.
Stop Loss: Place your SL at the opposite end of the Box.
Targets: Aim for a quick 1:1.5 or 1:2 Risk-Reward, or trail your stop using the previous candle's low/high.
Settings
Lookback Length: How far back to check for High/Low (Default: 20).
Min Flat Candles: Minimum duration of the squeeze (Default: 5).
Box Width: Adjusts the visual multiplier of the box.
RSI + Bollinger Bands RODNEY BORN STYLEThis is a script I created that wraps Bollinger Bands around an RSI.
The Color Match Trading System Wait for ColorTrend One to match ColorTrend Two. Then wait for the blue line to exit the color match on ColorTrend Two. Enter the trade. Wait for an opposite color to appear in ColorTrend Two. Then wait for price to exit the opposite color.
This is a trade continuation after a pullback in the trend. It works on all timeframes.
The trend is determined by ColorTrend One. There are three phases to the trend. Short, Long and Neutral. If you are in a trade and the trend turns to Neutral, the safest thing is to exit the trade.
The Color match system makes it very easy to find and enter trades. Just be patient and wait for the setups. There are no confusing lines or complexities to worry about. Whether you are a new trader, a seasoned professional or a trader that trades funded accounts, you will appreciate how simple and accurate our ColorTrend matching system works.
Best trading!
PS: Color Trend One and Color Trend Two are sent separately
Multi-Timeframe Rsi-Mean Deviation (Normalized)═══════════════════════════════════════════════════════════════════
RSI SIGMOID OSCILLATOR + MULTI-TIMEFRAME
Advanced RSI-EMA Deviation Analysis with Z-Score Normalization
═══════════════════════════════════════════════════════════════════
📊 OVERVIEW
──────────
This indicator measures the deviation of RSI from its EMA and transforms it into a normalized 0-100 oscillator using z-score and sigmoid function. It provides multi-timeframe analysis with a clean visual dashboard, making it easy to spot momentum shifts across different time horizons.
🎯 KEY FEATURES
──────────────
✓ Z-Score Normalized RSI-EMA Deviation
✓ Sigmoid Transformation (0-100 scale with smooth transitions)
✓ Multi-Timeframe Support (compare up to 3 timeframes simultaneously)
✓ Interactive Dashboard (real-time values and trend indicators)
✓ Dynamic Color Coding (red below 50, unique colors above 50)
✓ Timeframe Labels (clear identification of each line)
✓ RSI Bollinger Bands (hidden background extreme detection)
✓ Clean Minimalist Design
⚙️ HOW IT WORKS
──────────────
1. DEVIATION CALCULATION
- Calculates: RSI - EMA(RSI)
- Measures how far RSI deviates from its moving average
2. Z-SCORE NORMALIZATION
- Converts deviation to z-score: (deviation) / stdev(deviation)
- Makes signals comparable across different market conditions
3. SIGMOID TRANSFORMATION
- Maps z-score to 0-100: sigmoid = 100 / (1 + e^(-k*z))
- Provides smooth, bounded oscillator with clear midline (50)
4. MULTI-TIMEFRAME ANALYSIS
- Displays current TF + 2 higher timeframes
- All calculations use identical parameters for consistency
📈 INTERPRETATION
────────────────
OSCILLATOR VALUES:
• Above 50 = Bullish momentum (RSI > its EMA)
• Below 50 = Bearish momentum (RSI < its EMA)
• Near 70 = Strong bullish (potential overbought)
• Near 30 = Strong bearish (potential oversold)
COLOR CODING:
• Blue line = Current timeframe
• Orange line = Higher timeframe 1 (default: 4H)
• Lime line = Higher timeframe 2 (default: 1D)
• Red = All timeframes when below 50
MULTI-TIMEFRAME SIGNALS:
• All 3 lines above 50 = Strong bullish alignment
• All 3 lines below 50 = Strong bearish alignment
• Mixed signals = Potential reversal or consolidation
🔧 PARAMETERS
─────────────
RSI Period (14): Base RSI calculation period
RSI EMA Period (14): EMA smoothing for RSI
Standard Deviation Period (20): Window for z-score calculation
Sigmoid Sensitivity (1.0): Controls oscillator responsiveness (0.1-10.0)
Bollinger Band Multiplier (2.0): For background extreme detection
Higher Timeframe 1 (240): First comparison timeframe
Higher Timeframe 2 (D): Second comparison timeframe
💡 USAGE TIPS
────────────
1. TREND CONFIRMATION
- Use higher timeframes to confirm trend direction
- Only take longs when 4H/1D also above 50
2. DIVERGENCE DETECTION
- Watch for price making new highs/lows while oscillator doesn't
- Classic bullish/bearish divergence signals
3. OVERBOUGHT/OVERSOLD
- Values above 70: Consider taking profits or tightening stops
- Values below 30: Watch for reversal or continuation
4. TIMEFRAME ALIGNMENT
- Best trades occur when all timeframes align
- Mixed signals suggest waiting for clarity
⚠️ IMPORTANT NOTES
─────────────────
• Not a standalone trading system - use with other confirmations
• Works best in trending markets
• Adjust sensitivity (k) for different instruments
• Higher k values = more responsive (more signals)
• Lower k values = smoother (fewer false signals)
📊 DASHBOARD
───────────
The top-right table shows:
• TF: Timeframe identifier
• Signal: Current oscillator value (0-100)
• Trend: Green circle (≥50) or Red circle (<50)
═══════════════════════════════════════════════════════════════════
Created for multi-timeframe momentum analysis
Best used on 1H, 4H, or Daily charts
Combines statistical normalization with sigmoid smoothing
═══════════════════════════════════════════════════════════════════
⚠️ DISCLAIMER
─────────────
This indicator is provided for educational and informational purposes only.
It is NOT financial advice. Trading involves substantial risk of loss and is
not suitable for everyone. Past performance does not guarantee future results.
Always:
• Use proper risk management
• Combine with other analysis methods
• Test thoroughly before live trading
• Never risk more than you can afford to lose
• Consult a financial advisor for personalized advice
👍 SUPPORT THIS WORK
───────────────────
If you find this indicator useful:
📊 Please give it a LIKE / BOOST
💬 Leave a COMMENT with your feedback
👤 FOLLOW me for more quality indicators and updates
⭐ Share with others who might benefit
Your support motivates me to create more free tools for the trading community!
═══════════════════════════════════════════════════════════════════
Z-Score Panel Pro
📊 Z-SCORE PANEL PRO
A professional statistical analysis panel that displays real-time Z-Score values across multiple timeframes. Clean, elegant design with comprehensive customization options.
🔷 WHAT IS Z-SCORE?
Z-Score measures how many standard deviations the current price is away from its mean. A Z-Score of +2 means price is 2 standard deviations above average, while -2 means 2 standard deviations below.
This statistical approach helps identify:
• Statistically unusual price levels
• Potential mean reversion zones
• Overbought and oversold conditions
• Market volatility extremes
✨ FEATURES
◆ Multi-Timeframe Display
Monitor Z-Score across 7 timeframes simultaneously (1m, 5m, 15m, 30m, 1H, 4H, 1D). Each timeframe can be individually enabled or disabled.
◆ Visual Level Meter
Intuitive bar meter showing the current Z-Score position within the statistical range.
◆ Zone Classification
Automatic labeling of current zone:
• NEUTRAL - Normal range
• OVERSOLD / OVERBOUGHT - Warning zone
• OVERSOLD++ / OVERBOUGHT++ - Danger zone
• EXTREME LOW / EXTREME HIGH - Statistical extremes
◆ Trend Direction Arrow
Visual indicator showing whether Z-Score is rising (▲), falling (▼), or stable (◆).
◆ Color-Coded Values
Each Z-Score value is color-coded based on its zone for instant visual assessment.
◆ Complete Alert System
7 different alert conditions:
• Upper/Lower warning level crossings
• Upper/Lower danger level crossings
• Extreme level alerts
• Return to neutral alerts
• Combined any-level breach alert
⚙️ SETTINGS
Calculation:
• Period (default: 20)
• Source (default: close)
• EMA/SMA toggle
Thresholds:
• 3 upper levels (default: 2.0, 2.5, 3.0)
• 3 lower levels (default: -2.0, -2.5, -3.0)
Panel:
• 8 position options
• Full color customization
• Show/hide individual elements
• Text size options
📖 HOW TO USE
1. Add the indicator to your chart
2. Adjust the calculation period to match your trading style
3. Set your preferred threshold levels
4. Enable the timeframes you want to monitor
5. Configure alerts for levels you want to track
6. Customize colors to match your chart theme
⚠️ DISCLAIMER
This indicator is a statistical analysis tool for informational and educational purposes only.
• It does NOT generate trading signals
• It does NOT guarantee any trading results
• Past statistical patterns do NOT predict future outcomes
Always perform your own analysis and apply proper risk management. Trading involves significant risk of loss.
If you find this indicator useful, please consider leaving a comment or suggestion. Your feedback is appreciated!
Smart Trader, Episode 04, by Ata Sabanci, Candles and Z ScoresSmart Trader, Episode 04
Candles and Z-Scores: A Statistical Approach to Market Analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OVERVIEW
This indicator applies Z-Score statistical analysis to measure how unusual current market conditions are compared to historical norms. It simultaneously analyzes five key metrics: Price, Total Volume, Buy Volume, Sell Volume, and Delta (Buy minus Sell) . The system detects 60 academically-researched market scenarios and provides visual feedback through Z-Lines (support/resistance levels), Event Markers, Trend Channels, and a comprehensive Dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CORE CONCEPT: WHY Z-SCORE?
A Z-Score measures how many standard deviations a value is from its mean. In financial markets, extreme Z-Scores indicate statistically rare events that often precede significant price movements.
Mathematical Formula:
Z = (Current Value - Mean) / Standard Deviation
Interpretation:
• Z ≥ +2.0: Extremely high (occurs approximately 2.5% of the time)
• Z ≥ +1.0: Above average
• Z ≈ 0: Normal (near the mean)
• Z ≤ -1.0: Below average
• Z ≤ -2.0: Extremely low (occurs approximately 2.5% of the time)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ACADEMIC FOUNDATION
This indicator is inspired by / grounded in market microstructure literature (abbreviated citations in-script) from market microstructure literature:
• Price-Volume Relationship - Karpoff (1987), Journal of Financial and Quantitative Analysis, Cambridge
Volume is positively correlated with price change magnitude
• Order Flow Imbalance - Cont, Kukanov, Stoikov (2014), Journal of Financial Econometrics
Order imbalance drives price more reliably than raw volume
• Informed Trading (PIN Model) - Easley, Kiefer, O'Hara, Paperman (1996), Journal of Finance
Buy/Sell imbalance reveals informed trader activity
• Mixture of Distributions - Tauchen & Pitts (1983), Clark (1973)
Volume clusters with volatility regimes
• Volume Predictability - Gervais, Kaniel, Mingelgrin (2001)
Volume shocks predict future returns
• Liquidity & Order Imbalance - Chordia, Roll, Subrahmanyam (2002)
Order imbalance affects short-term returns
• Volume-Return Dynamics - Llorente, Michaely, Saar, Wang (2002)
Speculation vs. risk-sharing patterns
• Reversal vs. Continuation - Campbell, Grossman, Wang (MIT)
High volume predicts lower autocorrelation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
VOLUME ENGINE
The indicator offers two methods for decomposing total volume into Buy and Sell components:
Method 1: Geometry (Approximation)
Uses candle structure to estimate buying and selling pressure:
Buy Volume = Total Volume × (Close - Low) / (High - Low)
Sell Volume = Total Volume × (High - Close) / (High - Low)
• Works on all instruments without additional data requirements
• Fast calculation
• Less precise than intrabar method
Method 2: Intrabar (Precise)
Uses Lower Timeframe (LTF) tick/second data to aggregate actual up-ticks versus down-ticks:
• More accurate volume decomposition
• Requires LTF data availability
• Configurable LTF: 1T (tick), 1S, 15S, 1M
Delta Calculation:
Delta = Buy Volume - Sell Volume
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Z-SCORE SYSTEM
The system calculates Z-Scores for five metrics simultaneously, using a configurable lookback period (default: 20 bars):
• Zp (Price Z-Score): Measures price deviation from its mean
• Zv (Volume Z-Score): Measures total volume deviation
• Zbuy (Buy Volume Z-Score): Measures buying pressure deviation
• Zsell (Sell Volume Z-Score): Measures selling pressure deviation
• ZΔ (Delta Z-Score): Measures order flow imbalance deviation
Threshold Constants:
• ZH (Z High) = 2.0: Extreme threshold
• ZM (Z Medium) = 1.0: Moderate threshold
• Z0 (Z Zero) = 0.5: Near-zero threshold
Group System:
The analysis window is divided into groups (default: 5 groups × 20 bars = 100 bar total window). Group numbers (1, 2, 3...) are displayed above candles when enabled, helping identify the relative age of detected levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Z-LINES (SUPPORT/RESISTANCE LEVELS)
When any metric reaches an extreme Z-Score, the system marks that price level as a significant support or resistance zone.
Detection Logic:
• Upper Z-Line: Drawn from the HIGH when Z ≥ upper threshold (default +2.0)
• Lower Z-Line: Drawn from the LOW when Z ≤ lower threshold (default -2.0)
Multi-Metric Detection:
Z-Lines can be triggered by any of the five metrics (Price, Volume, Buy, Sell, Delta). When multiple metrics trigger at similar price levels, they are clustered together into a single combined label showing all contributing metrics.
Persistence:
Z-Lines persist for the entire analysis window (Period × Groups bars) and are NOT removed when price touches them. This allows traders to see historical support/resistance levels that may still be relevant.
Anti-Overlap System:
Labels are automatically repositioned to prevent overlap. The "Label Min Gap (%)" setting controls minimum vertical separation between ALL labels (both upper and lower), ensuring readability even when multiple levels cluster together.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EVENT DETECTION ENGINE (60 SCENARIOS)
The system analyzes 60 distinct market scenarios based on Z-Score combinations. Each scenario is derived from academic research and assigned a confidence score based on signal strength and alignment.
Notation:
• Zp = Price Z-Score
• Zv = Total Volume Z-Score
• Zbuy = Buy Volume Z-Score
• Zsell = Sell Volume Z-Score
• ZΔ = Delta Z-Score
• dirP = Price direction (+1 if Zp > 0.5, -1 if Zp < -0.5, else 0)
• = Previous bar value
• ZH = 2.0 (High threshold)
• ZM = 1.0 (Medium threshold)
• Z0 = 0.5 (Zero threshold)
─────────────────────────────────────────────────────────────
CATEGORY A: PRICE-VOLUME (Events 1-10)
Based on: Karpoff (1987), Tauchen-Pitts (1983), Clark (1973)
─────────────────────────────────────────────────────────────
Event 1: Breakout Confirmed
|Zp| ≥ ZH AND Zv ≥ ZH AND sign(ZΔ) = dirP AND dirP ≠ 0
Direction: Bullish/Bearish (follows price direction)
Event 2: Trend Strength Confirmed
|Zp| ≥ ZH AND Zv ≥ ZH
Direction: Follows price direction
Event 3: Fragile Move
|Zp| ≥ ZH AND Zv ≤ -ZM
Direction: Warning (price move without volume support)
Event 4: Weak Rally
Zp ≥ ZH AND Zv ≤ -ZH
Direction: Warning (price up without volume)
Event 5: Weak Selloff
Zp ≤ -ZH AND Zv ≤ -ZH
Direction: Warning (price down without volume)
Event 6: Momentum Build
ZM ≤ |Zp| < ZH AND Zv ≥ ZH
Direction: Follows price direction
Event 7: Churn
|Zp| ≤ Z0 AND Zv ≥ ZH
Direction: Neutral (high volume, low price movement)
Event 8: Quiet Compression
|Zp| ≤ Z0 AND Zv ≤ -ZH
Direction: Neutral (low volume, low price movement)
Event 9: High Volume Regime
Zv ≥ ZH
Direction: Neutral
Event 10: Low Volume Regime
Zv ≤ -ZH
Direction: Neutral
─────────────────────────────────────────────────────────────
CATEGORY B: ORDER-FLOW / DELTA (Events 11-16)
Based on: Cont, Kukanov, Stoikov (2014), Easley, Kiefer, O'Hara, Paperman (1996)
─────────────────────────────────────────────────────────────
Event 11: Imbalance Drives Price
|ZΔ| ≥ ZH AND sign(ZΔ) = dirP AND dirP ≠ 0
Direction: Follows price direction (dirP), with delta alignment required
Event 12: Divergence Top
Zp ≥ ZH AND ZΔ ≤ -ZH
Direction: Warning (distribution at top)
Event 13: Divergence Bottom
Zp ≤ -ZH AND ZΔ ≥ ZH
Direction: Warning (accumulation at bottom)
Event 14: Absorption Positive
|Zp| ≤ Z0 AND Zv ≥ ZH AND ZΔ ≥ ZH
Direction: Bullish (buy absorption, support forming)
Event 15: Absorption Negative
|Zp| ≤ Z0 AND Zv ≥ ZH AND ZΔ ≤ -ZH
Direction: Bearish (sell absorption, resistance forming)
Event 16: Depth Wall
Zv ≥ ZH AND |ZΔ| ≥ ZH AND |Zp| ≤ Z0
Direction: Neutral (market depth absorbing)
─────────────────────────────────────────────────────────────
CATEGORY C: BUY VS SELL (Events 17-23)
Based on: Easley, Kiefer, O'Hara, Paperman (1996), Chordia, Roll, Subrahmanyam (2002)
─────────────────────────────────────────────────────────────
Event 17: Aggressive Buy Dominance
Zbuy ≥ ZH AND ZΔ ≥ ZH AND Zsell ≤ -ZM
Direction: Bullish
Event 18: Aggressive Sell Dominance
Zsell ≥ ZH AND ZΔ ≤ -ZH AND Zbuy ≤ -ZM
Direction: Bearish
Event 19: Two-Sided Battle
Zbuy ≥ ZH AND Zsell ≥ ZH AND |ZΔ| ≤ Z0
Direction: Neutral (buyers and sellers equally strong)
Event 20: Battle with Buy Edge
Zbuy ≥ ZH AND Zsell ≥ ZH AND ZM ≤ ZΔ < ZH
Direction: Bullish
Event 21: Battle with Sell Edge
Zbuy ≥ ZH AND Zsell ≥ ZH AND -ZH < ZΔ ≤ -ZM
Direction: Bearish
Event 22: Hidden Accumulation
Zbuy ≥ ZH AND |Zp| ≤ Z0 AND Zv ≥ ZH
Direction: Bullish (buy shock without price movement)
Event 23: Hidden Distribution
Zsell ≥ ZH AND |Zp| ≤ Z0 AND Zv ≥ ZH
Direction: Bearish (sell shock without price movement)
─────────────────────────────────────────────────────────────
CATEGORY D: PREDICTABILITY (Events 24-26)
Based on: Gervais, Kaniel, Mingelgrin (2001), Karpoff (1987)
─────────────────────────────────────────────────────────────
Event 24: Volume Shock Positive Drift
Zv ≥ ZH AND |Zp| ≤ ZM
Direction: Follows price direction
Event 25: Volume Shock Negative Drift
Zv ≤ -ZH AND |Zp| ≤ ZM
Direction: Opposite to price direction
Event 26: Abnormal Volume Info Arrival
Zv ≥ ZH
Direction: Neutral
─────────────────────────────────────────────────────────────
CATEGORY E: REVERSAL VS CONTINUATION (Events 27-30)
Based on: Campbell, Grossman, Wang (MIT), Llorente, Michaely, Saar, Wang (2002)
─────────────────────────────────────────────────────────────
Event 27: High Vol Reversal Risk
Zv ≥ ZH
Direction: Warning (high volume implies lower positive autocorrelation)
Event 28: Low Vol Continuation Risk
Zv ≤ -ZH
Direction: Follows price direction (trend likely continues)
Event 29: Speculation Continuation
Zv ≥ ZH AND |ZΔ| ≥ ZM AND sign(ZΔ) = dirP AND dirP ≠ 0
Direction: Follows price direction
Event 30: Risk Sharing Reversal
Zv ≥ ZH AND |ZΔ| ≤ Z0
Direction: Warning (potential reversal)
─────────────────────────────────────────────────────────────
CATEGORY F: IMBALANCE LAG (Events 31-33)
Based on: Chordia, Roll, Subrahmanyam (2002)
─────────────────────────────────────────────────────────────
Event 31: Persistent Imbalance Push
|ZΔ| ≥ ZM AND |ZΔ | ≥ ZM AND sign(ZΔ) = sign(ZΔ )
Direction: Follows delta direction (persistent pressure)
Event 32: Imbalance Pressure Decay
(ZΔ ≥ ZM AND ZΔ ≤ -ZM) OR (ZΔ ≤ -ZM AND ZΔ ≥ ZM)
Direction: Warning (imbalance sign flip)
Event 33: Intraday Imbalance Predicts
|ZΔ| ≥ ZM
Direction: Follows delta direction
─────────────────────────────────────────────────────────────
CATEGORY G: SUPPORT/RESISTANCE (Events 34-36)
Based on: Peskir (Manchester)
─────────────────────────────────────────────────────────────
Event 34: SR Barrier Event
|Zp| ≤ Z0 AND Zv ≥ ZH
Direction: Neutral (price stalls with high volume)
Event 35: Volume Backed SR Level
|Zp| ≤ Z0 AND Zv ≥ ZH AND |ZΔ| ≥ ZM
Direction: Follows delta direction
Event 36: Volume Poor SR Level
|Zp| ≤ Z0 AND Zv ≤ -ZM
Direction: Warning (weak S/R without volume)
─────────────────────────────────────────────────────────────
CATEGORY H: EXTENDED ANALYSIS (Events 37-50)
Based on: Extended market microstructure analysis
─────────────────────────────────────────────────────────────
Event 37: Climax Buy
Zbuy ≥ ZH AND Zp ≥ ZH AND Zv ≥ ZH
Direction: Warning (extreme buying exhaustion, potential top)
Event 38: Climax Sell
Zsell ≥ ZH AND Zp ≤ -ZH AND Zv ≥ ZH
Direction: Warning (extreme selling exhaustion, potential bottom)
Event 39: Stealth Accumulation
Zbuy ≥ ZM AND |Zp| ≤ Z0 AND Zv ≤ Z0
Direction: Bullish (quiet buying)
Event 40: Stealth Distribution
Zsell ≥ ZM AND |Zp| ≤ Z0 AND Zv ≤ Z0
Direction: Bearish (quiet selling)
Event 41: Volume Divergence Bull
Zp ≤ -ZM AND Zv ≤ -ZM
Direction: Bullish (price down but volume declining)
Event 42: Volume Divergence Bear
Zp ≥ ZM AND Zv ≤ -ZM
Direction: Bearish (price up but volume declining)
Event 43: Delta Price Alignment
|Zp| ≥ ZM AND |ZΔ| ≥ ZM AND sign(Zp) = sign(ZΔ)
Direction: Follows price direction (strong trend confirmation)
Event 44: Extreme Compression
|Zp| ≤ Z0 AND Zv ≤ -ZH
Direction: Neutral (very low volatility)
Event 45: Volatility Expansion
|Zp| ≥ ZH AND Zv ≥ ZH
Direction: Follows price direction (breakout from compression)
Event 46: Buy Exhaustion
Zbuy ≥ ZH AND Zp ≤ Z0
Direction: Warning (high buy but price fails)
Event 47: Sell Exhaustion
Zsell ≥ ZH AND Zp ≥ -Z0
Direction: Warning (high sell but price holds)
Event 48: Trend Acceleration
|Zp| ≥ ZM AND |Zp| > |Zp | AND Zv ≥ ZM
Direction: Follows price direction (increasing momentum)
Event 49: Trend Deceleration
|Zp| ≥ ZM AND |Zp| < |Zp | AND sign(Zp) = sign(Zp )
Direction: Warning (decreasing momentum)
Event 50: Multi Divergence
(Zp ≥ ZM AND ZΔ ≤ -ZM) OR (Zp ≤ -ZM AND ZΔ ≥ ZM) + |Zp| ≥ ZM AND Zv ≤ -ZM
Direction: Warning (multiple divergence signals)
─────────────────────────────────────────────────────────────
CATEGORY I: TREND-INTEGRATED (Events 51-60)
Based on: Combined price-volume-delta trend analysis
─────────────────────────────────────────────────────────────
Event 51: Trend Breakout Confirmed
|Zp| ≥ ZH AND Zv ≥ ZH AND |ZΔ| ≥ ZM AND sign(ZΔ) = dirP AND dirP ≠ 0
Direction: Follows price direction
Event 52: Trend Support Test
Zp ≥ ZM AND Z0 ≤ Zp < ZM AND ZΔ ≥ Z0
Direction: Bullish (pullback in uptrend)
Event 53: Trend Resistance Test
Zp ≤ -ZM AND -ZM < Zp ≤ -Z0 AND ZΔ ≤ -Z0
Direction: Bearish (rally in downtrend)
Event 54: Trend Reversal Signal
sign(Zp) ≠ sign(Zp ) AND |Zp| ≥ ZM AND |Zp | ≥ ZM
Direction: Follows new price direction (momentum flip)
Event 55: Channel Absorption
|Zp| ≤ Z0 AND Zv ≥ ZH
Direction: Neutral (range-bound with volume)
Event 56: Trend Continuation Volume
|Zp| ≥ ZM AND Zv ≥ ZM AND sign(ZΔ) = dirP AND dirP ≠ 0
Direction: Follows price direction (healthy trend with volume)
Event 57: Trend Exhaustion
|Zp| ≥ ZM AND Zv ≤ -ZM AND |Zp| < |Zp |
Direction: Warning (trend losing steam)
Event 58: Range Breakout Pending
|Zp| ≤ Z0 AND Zv ≤ -ZH AND |ZΔ| ≥ ZM
Direction: Follows delta direction (compression with imbalance)
Event 59: Trend Quality High
|Zp| ≥ ZM AND sign(ZΔ) = dirP AND Zv ≥ Z0 AND dirP ≠ 0
Direction: Follows price direction (strong aligned signals)
Event 60: Trend Quality Low
|Zp| ≥ ZM AND sign(ZΔ) ≠ dirP AND dirP ≠ 0
Direction: Warning (conflicting signals)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TREND CHANNEL SYSTEM
The trend channel system is adapted from Smart Trader Episode 03 to provide consistent visual context for price action analysis.
How It Works:
• Divides the chart into blocks based on Z-Score groups
• Calculates OHLC (Open, High, Low, Close) for each block
• Detects Higher Highs/Higher Lows (uptrend) or Lower Highs/Lower Lows (downtrend) patterns
• Draws channel lines connecting block extremes
• Classifies by angle: steep angles indicate trends, flat angles indicate ranges
Channel Classifications:
• UPTREND: Higher highs and higher lows detected
• DOWNTREND: Lower highs and lower lows detected
• RANGE: Channel angle below threshold (default 10 degrees)
Label Information:
• Trend direction (UPTREND/DOWNTREND/RANGE)
• Channel boundary prices
• Distance from current price (absolute and percentage)
• Channel angle in degrees
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DASHBOARD
The dashboard provides a comprehensive real-time view of all Z-Score metrics and detected events.
Dashboard Sections:
1. Header Row
Displays indicator name and current calculation mode (CLOSED or LIVE).
2. Metric Rows (Price, Total Volume, Buy Volume, Sell Volume, Delta)
Each row displays:
• Value: Current metric value
• Z: Calculated Z-Score
• Visual: Graphical Z-bar showing position relative to mean
• Status: Interpretation (Extreme High, Above Avg, Normal, Below Avg, Extreme Low)
• Upper: Oldest active upper Z-Line in window (Label Mirror)
• Lower: Oldest active lower Z-Line in window (Label Mirror)
3. Event Detection Section
• Count of triggered events out of 60 total scenarios
• Market Bias: Bull/Bear/Neutral percentage with visual bar
• Strongest Event: Highest confidence event currently triggered
• #2 Event: Second highest confidence event
4. Footer
Shows engine type (Geometry/Intrabar), Z-Score period, calculation basis, and number of valid bars.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERT SYSTEM
The indicator uses native alertcondition() functions, keeping the settings menu clean while providing comprehensive alert options in TradingView's alert dialog.
Available Alert Categories:
• Master Alerts: Any event, Any bullish, Any bearish, Any warning
• Single Event Alerts: Individual alerts for key events (Breakout, Climax, Divergence, etc.)
• Category Alerts: Alerts by event category (Price-Volume, Order-Flow, etc.)
• Confluence Alerts: 2+, 3+, 4+, or 5+ aligned events
• Bias Shift Alerts: 10%, 20%, or 30% shifts in market bias
• High Confidence Alerts: Events with 60%+, 70%+, 80%+, or 90%+ confidence
• Divergence Alerts: Price vs Volume or Price vs Delta divergences
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DATA ACCURACY AND LIMITATIONS
This indicator is 100% VOLUME-BASED and requires Lower Timeframe (LTF) intrabar data for accurate calculations when using the Intrabar method.
Data Accuracy Levels:
• 1T (Tick): Most accurate, real volume distribution per tick
• 1S (1 Second): Reasonably accurate approximation
• 15S (15 Seconds): Good approximation, longer historical data available
• 1M (1 Minute): Rough approximation, maximum historical data range
Backtest and Replay Limitations:
• Replay mode results may differ from live trading due to data availability
• For longer backtest periods, use higher LTF settings (15S or 1M)
• Not all symbols/exchanges support tick-level data
• Crypto and Forex typically have better LTF data availability than stocks
A Note on Data Access:
Higher TradingView plans provide access to more historical intrabar data, which directly impacts the accuracy of volume-based calculations. More precise volume data leads to more reliable calculations.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LANGUAGE SUPPORT (TRI-LINGUAL UI)
This indicator includes a built-in language switch with three interface languages :
• English (EN)
• Türkçe (TR)
• 한국어 (KO)
The selected language updates key interface text such as the Dashboard headers/rows , tooltips , and the Event Engine outputs (event names, category names, and direction labels). Turkish diacritics and Korean Hangul are supported for clean, native readability.
Why only three languages?
Each additional language requires duplicating strings throughout the code, which increases script size/memory usage and compilation time. To keep the indicator optimized and responsive, language options are intentionally limited to three.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
FOR EDUCATIONAL AND RESEARCH PURPOSES ONLY
This indicator is designed as an educational and research tool based on academic market microstructure literature. It is NOT financial advice and should NOT be used as the sole basis for trading decisions.
Important Notices:
• Past performance does not guarantee future results
• All trading involves risk of substantial loss
• The indicator's signals are statistical probabilities, not certainties
• Always conduct your own research and consult qualified financial advisors
• The creator assumes no responsibility for trading losses
Research Sources:
This indicator is built upon peer-reviewed academic research from:
• Journal of Financial and Quantitative Analysis (Cambridge University Press)
• Journal of Finance
• Journal of Financial Econometrics
• MIT Working Papers
• arXiv Financial Mathematics
IU Time SessionsDISCRIPTION
IU Time Sessions is a multi–market session indicator designed to visually highlight major global trading sessions directly on your chart.
It helps traders easily identify when Tokyo, London, New York, and Sydney sessions are active based on their selected time zone.
The indicator automatically adjusts session timings according to the chosen time zone, making it extremely useful for traders across different countries.
Each session is displayed with a customizable background color, allowing you to instantly recognize market behavior, volatility changes, and session overlaps.
In addition, session start alerts can be enabled so traders never miss the opening of important market hours.
USER INPUTS :
• Select Your Time Zone
Allows users to choose their local or preferred market time zone for accurate session calculation.
• Background Color Transparency
Adjust the transparency level of session background colors for better chart visibility.
• Enable / Disable Individual Sessions
Users can turn ON or OFF:
* Tokyo Session
* London Session
* New York Session
* Sydney Session
• Session Time Settings
Each session has customizable start and end times.
• Session Colors
Each trading session has its own selectable background color.
• Session Alerts
Optional alerts for:
* Tokyo session start
* London session start
* New York session start
* Sydney session start
WHY IT IS UNIQUE:
• Fully time-zone adaptive (works globally)
• Supports all major forex and crypto trading sessions
• Clean background visualization without clutter
• Custom session timing flexibility
• Individual session enable/disable control
• Session start alerts without repainting
• Works on all timeframes
• Lightweight and optimized Pine Script v6 code
Unlike basic session indicators, this tool focuses on clarity, flexibility, and accurate time-zone conversion — making it suitable for both beginners and professional traders.
HOW USER CAN BENIFIT FROM IT :
• Easily identify high-liquidity market hours
• Understand session-based price behavior
• Spot session overlaps for increased volatility
• Improve timing for entries and exits
• Avoid low-volume trading periods
• Use alerts to stay disciplined and prepared
• Suitable for forex, crypto, indices, and commodities
This indicator helps traders align their strategies with institutional trading hours and make better-timed trading decisions.
Short-Term Weekly Refuges (Shelters)## // Introduction //
══════════════
Short-Term Weekly Refuges (Shelters) (WR or RS) is a structural analysis indicator designed to track price action during the current week. It combines a configurable ZigZag with Fibonacci retracements anchored to recent phases, using the Weekly Opening Price (W.O.P.) as a key reference level.
This indicator is optimized for 4H timeframe but also works on 1H and 15min charts.
## // Theoretical Foundation of the Indicator //
═══════════════════════════════
The WR (RS) indicator provides a structural framework for following price action during the current trading week.
The core concept: Recent ZigZag phases, combined with the Weekly Opening Price, create dynamic support and resistance levels that institutional traders often monitor and use for intraweek positioning. The indicator allows you to select which recent phase (1-10) serves as the Fibonacci anchor.
## // Indicator Objectives //
══════════════════
1) Display a configurable ZigZag showing recent price structure with numbered phases (1 = most recent). Users should configure the ZigZag parameters based on whether they are analyzing a Major Degree Pattern (larger swings, less noise) or a Minor Degree Pattern (smaller swings, more detail), following standard Elliott Wave terminology. Configure the ZigZag to match the degree of your analysis: use higher Depth values for Major Degree Patterns, or lower values for Minor Degree Patterns.
2) Draw Fibonacci retracements on a user-selected phase, with two modes:
• "On ZigZag": Traditional Fibonacci on the selected phase.
• "Relative to W.O.P.": Fibonacci from phase anchor (i0) to Weekly Opening Price.
3) Show Weekly Opening Price lines as horizontal references, with the current week's line extended into the future.
4) Provide Pivot Up/Down markers for additional confirmation of local highs and lows.
5) Support multiple simultaneous indicator loads with visual identifier labels to distinguish between different analysis degrees (e.g., "Major Degree Pattern" vs "Minor Degree Pattern").
6) Optional Embedded Indicator: Enable Intraday Shelters (RID) - percentage-based support/resistance levels calculated from the Daily Opening Price, useful for 1H and 15min trading.
## // Key Features //
══════════════
• **Flexible ZigZag**: Adjustable Depth, Deviation, and Backstep parameters to adapt to any asset's volatility.
• **Phase Selection**: Choose from the 10 most recent phases for Fibonacci anchoring.
• **Dual Fibonacci Modes**: Trace on the ZigZag phase itself, or relative to the Weekly Opening Price.
• **New Age Color Palette**: Professional Fibonacci color scheme used by old school experienced traders.
• **Weekly Opening Price (W.O.P.)**: Historical weekly opens plus current week projection.
• **"Show Only W.O.P." Mode**: Isolate just the Weekly Opening Price line for cleaner charts on non-4H timeframes.
• **Optional Intraday Shelters (RID)**: 11 percentage levels (±0.382%, ±1%, ±1.5%, ±2%, ±2.5%) based on Daily Opening Price.
• **Multi-Load Support**: Visual identifier tags and Large Label for running multiple indicator instances simultaneously.
## // Recommended Workflow //
═════════════════════
1) Load the indicator on a 4H chart.
2) Adjust ZigZag parameters (Depth, Deviation) until the phases match your visual analysis of recent price structure.
3) Select the phase you want to use as Fibonacci anchor (typically Phase 2, 3 or higher).
4) Choose Fibonacci mode: "On ZigZag" for phase analysis, or "Relative to W.O.P." for analysis based on weekly opening price context.
5) Monitor how price interacts with the Fibonacci levels and Weekly Opening Price throughout the week.
6) Optionally enable RID for intraday precision on 1H or 15min charts.
## // Integration with Other Refuge Indicators //
════════════════════════════════
WR (RS) is part of a complete refuge-based analysis ecosystem:
• LTR (RLP) (Long-Term Refuges): For automatic determination of the predominant phase of a ZigZag, which institutional investors choose as the basis for a Fibo whose levels calculate the projection for order placement over the following months and years.
• LTRS (RLPS) (Simple Long-Term Refuges): Simplified version of LTR in which the known coordinates of the predominant phases (obtained with the LTR indicator) of one or up to five assets are easily captured for permanent long-term operation.
• WR (RS) (Short-Term Weekly Refuges): (This indicator) For short-term tactical analysis (4H, 1H) based on chosen phases of a ZigZag that define Fibo levels generated during the near past week(s) and probably effective in the present week.
• IDR (RID) (Intra-Day Refuges): For daily operations relying on intraday levels on timeframes of 1H or less. Ideal for scalping traders.
By combining LTR, LTRS, WR and IDR, you obtain a multi-level framework that allows you to operate with clarity at any time horizon, from intraday positions to investments spanning months and years.
## // Additional Notes //
════════════════
1) Default parameters are optimized for volatile assets (crypto, tech stocks). For forex or less volatile instruments, consider reducing Deviation to 3-8%.
2) The "Phase in Development" (dashed line) shows the tentative current ZigZag segment that may still change as new bars form.
3) Bug reports, improvement proposals for the ZigZag generator, pattern determination, or Fibo composition, etc., will be greatly appreciated and taken into account for a future version. Best regards and happy hunting.
(Sorry: Spanish translation erased trying to avoid confusing publishing banning rules).
Allyhshn - FVG Classifier## Allyhshn – FVG Classifier
### Technical Specifications & Methodology
### Overview
**Allyhshn – FVG Classifier** is a multi-timeframe Fair Value Gap (FVG) detection, ranking, and visualization indicator built in Pine Script® v6.
It is designed to identify ICT-style three-candle imbalances across multiple timeframes, dynamically rank them by contextual relevance, and display only the most actionable FVG zones on the chart with strong performance safeguards.
The indicator does **not** predict price direction. Instead, it classifies and prioritizes existing imbalance zones based on structural, volatility, trend, and temporal factors.
---
## 1. FVG Detection Logic
### Definition
The indicator uses a strict **3-candle ICT imbalance model**:
* **Bullish FVG**
Formed when:
`Low (current candle) > High (2 candles ago)`
Zone range:
* Bottom = High
* Top = Low
* **Bearish FVG**
Formed when:
`High (current candle) < Low (2 candles ago)`
Zone range:
* Bottom = High
* Top = Low
Each detected FVG is stored as a price zone and tracked independently.
---
## 2. Multi-Timeframe Architecture
### Fixed 5-Timeframe Model
The indicator always processes **exactly five timeframes per bar**, ensuring deterministic behavior and predictable performance.
### Mode Selection
* **Auto Mode**
Timeframes are automatically selected based on:
* Current chart timeframe
* Trading regime (Scalping, Intraday, Swing, Position)
* **Manual Mode**
The user explicitly defines all five timeframes.
### Regime Influence
Trading regimes bias the timeframe selection:
* **Scalping**: Lower timeframes emphasized
* **Intraday**: Balanced LTF/MTF/HTF mix
* **Swing / Position**: Higher timeframes prioritized (Daily, Weekly, Monthly)
---
## 3. Filters and Validation
### Minimum Size Filter
* FVG size is normalized by ATR.
* Zones smaller than a user-defined ATR multiple are ignored.
* Prevents noise and micro-imbalances.
### Trend Alignment (Optional)
* Uses an EMA-based trend filter.
* Bullish FVGs are optionally restricted to uptrends.
* Bearish FVGs are optionally restricted to downtrends.
---
## 4. Scoring & Priority System
Each FVG receives a **dynamic score** representing contextual priority, recalculated every bar.
### Score Components
The final score is a multiplicative composite of:
1. **Timeframe Weight**
* Higher timeframes receive higher structural importance.
* Monthly > Weekly > Daily > Intraday > Seconds.
2. **Distance to Price**
* Zones closer to current price are prioritized.
* Distance normalized by ATR.
3. **Zone Size**
* Moderate-sized imbalances score higher than very small ones.
* Normalized and softly capped.
4. **Trend Alignment**
* Aligned zones receive a boost.
* Counter-trend zones are penalized, not discarded.
5. **Age Decay**
* Older zones remain valid but lose urgency over time.
* Smooth decay with a multi-hour half-life effect.
6. **Session Boost (Optional)**
* Priority boost during user-defined high-liquidity sessions.
The score acts as a **probability proxy**, not a prediction.
---
## 5. Mitigation Logic
Each FVG is monitored for mitigation using one of three user-defined rules:
* **Touch**: Any price overlap with the zone
* **Half**: Price reaches the midpoint of the zone
* **Full**: Entire zone is traded through
Once mitigated:
* The zone is flagged internally
* The visual box is removed
* The data remains available for ranking logic
---
## 6. Memory & Performance Management
### Controlled Storage
* Maximum number of stored FVGs is capped.
* Oldest entries are removed automatically.
### Draw Limit
* Only the **highest-ranked unmitigated FVGs** are displayed.
* Lower-priority zones are visually faded or hidden.
* Prevents chart clutter and performance degradation.
### Array Safety
* All array operations are size-checked.
* Prevents out-of-bounds errors in real-time and historical bars.
---
## 7. Visualization
### Box Rendering
* FVGs are drawn as shaded rectangles.
* Color-coded by direction:
* Bullish and bearish zones use distinct colors.
* Boxes extend a configurable number of bars into the future.
### Transparency Logic
* High-priority zones are emphasized.
* Lower-priority zones are automatically faded.
---
## 8. Priority Table (Optional)
An optional on-chart table displays the **top-ranked unmitigated FVGs**, including:
* Priority rank
* Timeframe
* Direction
* Average price of the zone
* Size (ATR-normalized)
* Current score
The table is rebuilt only on the last bar to preserve performance.
---
## 9. Alerts
### Proximity Alert
An optional alert triggers when:
* Price approaches the midpoint of the **highest-priority FVG**
* Distance threshold is ATR-based and configurable
Alerts are evaluated globally and safely outside local scopes.
---
## 10. Intended Use & Limitations
### Intended Use
* Market structure analysis
* Liquidity-based zone mapping
* Contextual decision support
* Confluence with other execution models
### Not Intended For
* Standalone trade signals
* Price prediction
* Automated execution without confirmation
## 11. Account Compatibility
* Does not require proprietary order book or footprint data.
* Works on all TradingView accounts.
* Uses only publicly available volume information.
---
## Summary
**Allyhshn – FVG Classifier** is a structured, performance-conscious FVG classification engine.
It focuses on **ranking relevance rather than quantity**, making it suitable for scalping, intraday, and higher-timeframe structural analysis without overwhelming the chart or the Pine runtime.
---
cloudbruk_PRE MOVING AVERAGE CLOUDthis indicator was made to give us the trend side and mark where the trend change the way
Super OscillatorSuper Oscillator – Intraday Momentum
Super Oscillator is a momentum-based oscillator designed for intraday trading, optimized for 1-minute charts and fast market conditions.
The indicator uses a zero-centered momentum model with dynamic smoothing and clearly defined zones to help traders identify exhaustion, pullbacks, and momentum shifts without excessive noise.
Key Features
Zero-centered oscillator for immediate directional bias
Dynamic overbought and oversold zones
Neutral “dead zone” to avoid low-probability trades
Smoothed momentum line with signal line for timing entries
Optimized for scalping and short-term intraday trading
Fully compatible with TradingView Pine Script v6
How to Use
Overbought zone: Look for bearish reactions or momentum exhaustion
Oversold zone: Look for bullish reactions or pullbacks
Dead zone: Avoid trades when momentum is unclear
Use the oscillator as a confirmation tool, always with price action and structure
Best Use Case
Intraday scalping (1M–5M)
Futures markets (indices, metals)
NY session trading
Disclaimer
This indicator does not predict price direction. It measures momentum and exhaustion and should be used as part of a complete trading plan with proper risk management.
Delta Volume by rajib127Delta Volume Indicator
This powerful indicator displays delta volume values directly on your chart.
Key Features:
• Real-time Delta Calculation: Shows buying vs selling pressure for each candle
• Color-Coded Display: Green for positive delta (buying pressure), Red for negative delta (selling pressure)
• Clean White Background: Enhanced visibility with white labels behind each value
• Smart Formatting: Automatically formats large numbers (e.g., +2.5K, -1.2M)
• All Timeframes Supported: Works seamlessly from M1 (1-minute) to Daily charts and beyond
• Customizable Settings: Adjust colors, font size, display filters, and positioning
Why Use This Indicator?
TradingView's native delta volume and footprint charts require a Premium subscription to access. While the Premium version includes additional buyer/seller data, this FREE indicator provides the essential delta volume information that most traders need.
How It Works:
The indicator calculates delta by analyzing each candle's price action and volume. Bullish candles show positive delta (net buying), bearish candles show negative delta (net selling), and the size reflects the intensity of market pressure.
Perfect For:
- Day traders and scalpers analyzing order flow
- Swing traders identifying accumulation/distribution zones.
MarketStructureLab Structure Zones (FREE) This indicator highlights key structural zones where the market is most likely to:
• continue the current move
• pause, consolidate, or transition into a range
There are no buy/sell signals, arrows, or predictions.
Only structure, context, and reaction areas.
How it works
• Detects confirmed swing highs and lows using pivot logic
• Filters insignificant moves with an ATR-based threshold
• Builds structure zones (ranges, not lines) around key levels
• Displays only the active working window around the current price
• Shows a simple Market State: Trend / Range / Transition
No repaint tricks. No future leaks. Pure price structure.
How to use
Use the zones as context, not signals:
• observe reactions and acceptance
• combine with your own entry model (price action, volume, trend filter)
• works on any market and any timeframe
This tool is designed for traders who prefer clarity over complexity.
This is a FREE MVP version.
More advanced structure logic and tools will be released in future versions.
Not financial advice.
market structure, structure zones, support resistance, supply demand, swing, pivot, price action, range, trend, ATR
3-Daumen-Regel mit 4 Daumen, YTD-Linie, SMA200 und ATR
The script calculates the following values and displays them in a table:
- YTD line
- SMA
- ATR and ATR
- Difference to YTD
- Difference to SMA200
The table also includes a four-point rating for:
- the first 5 trading days of the year
- price relative to SMA
- price relative to YTD line
- the first month of the trading year
TOA SESSION INDICATOR PRO - MARKED WITH COLORSThis indicator is made for The Orderflow Academy community.
You can see the highs and lows of the sessions in colors.






















