Volume Weighted LR SkewnessThis indicator analyzes market character by decomposing total
skewness (asymmetry) into four distinct, interpretable components
based on a Linear Regression model.
Key Features:
1. **Four-Component Skewness Decomposition:** The indicator
separates market asymmetry based on the 'Estimate Bar Statistics' option.
It leverages the Law of Total Moments to provide an additive
breakdown of the 3rd Statistical Moment:
- **Trend Skewness (Green/Red):** Asymmetry originating from
the slope of the regression line itself. Indicates if the
trend path is geometrically skewed.
- **Residual Skewness (Yellow):** Asymmetry of the noise
around the regression line. Captures "Tail Risk" (e.g.,
sudden spikes against the trend).
- **Within-Bar Skewness (Blue):** Asymmetry derived from the
microstructure of individual bars (requires 'Estimate Bar Statistics').
- **Interaction Skewness (Dark Grey):** Asymmetry caused by the
correlation between price levels and volatility (e.g.,
volatility expanding as price moves in one direction).
*Dominance of this component indicates an unstable, emotional market.*
2. **Visual Decomposition Logic:** Total Skewness is the
primary metric displayed. Since statistical moments are additive,
this indicator calculates the *exact* Total Skewness and partitions
the area to visualize the contribution (weight) of each
structural source to the overall market bias.
3. **Dual Display Modes:** The indicator offers two modes to
visualize this decomposition:
- **Absolute Mode:** Displays the *total* skewness as a
stacked area chart, allowing to see the magnitude of tail risk.
Stacking logic groups components with the same sign to ensure
visual clarity.
- **Relative Mode:** Displays the direct *contribution ratio*
(proportion) of each component relative to the total sum,
ideal for identifying the dominant driver of asymmetry.
4. **Calculation Options:**
- **Normalization:** An optional 'Normalize' setting
transforms inputs into logarithmic space, analyzing the
skewness of *returns* rather than absolute prices.
- **Volume Weighting:** An option (`Volume weighted`) applies
volume weighting to all regression and moment calculations,
emphasizing high-participation moves.
5. **Skewness Cycle Analysis:**
- **Pivot Detection:** Includes a built-in pivot detector
that identifies significant turning points (peaks/valleys) in
the *total* skewness line. This helps identify extremes in
market sentiment or structural bias.
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library.
6. **Note on Confirmation (Lag):** Pivot signals are confirmed
using a lookback method. A pivot is only plotted *after*
the `Pivot Right Bars` input has passed, which introduces
an inherent lag.
7. **Multi-Timeframe (MTF) Capability:**
- **MTF Skewness Lines:** The skewness lines can be
calculated on a higher timeframe, with standard options
to handle gaps (`Fill Gaps`) and prevent repainting
(`Wait for...`).
- **Limitation:** The Pivot detection (`Calculate Pivots`) is
**disabled** if a Higher Timeframe (HTF) is selected.
8. **Integrated Alerts:** Includes comprehensive alerts for:
- Skewness magnitude (High Positive / High Negative).
- Skewness character changes/emerging/fading.
- Total Skewness pivot (High/Low) detection.
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
Indicators and strategies
Volume Weighted LR CorrelationThis indicator analyzes the structural relationship between two
assets by decomposing the Total Correlation into three distinct,
interpretable components using a Weighted Linear Regression model
and a Hybrid Copula Estimator.
Key Features:
1. **Hybrid Copula Estimator:** Unlike standard correlation, which
often fails on High/Low range data, this indicator fuses two
metrics to ensure mathematical rigor:
- **Magnitude:** Derived from Rogers-Satchell Volatility (robust to trend).
- **Direction:** Derived from Log-Returns.
This allows for precise correlation estimates even on intra-bar data.
2. **Three-Component Correlation Decomposition:** The indicator
separates correlation based on the 'Estimate Bar Statistics' option.
- **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates
correlation based on the selected `Source`.
- **Decomposition Mode (`Estimate Bar Statistics` = ON):** The
indicator uses a statistical model ('Estimator') to
calculate *within-bar* correlation.
This separates the relationship into:
- **Trend Correlation (Green/Red):** Correlation of the regression
slopes. Indicates if assets are trending in the same direction.
- **Residual Correlation (Yellow):** Correlation of the noise
around the trend (Cointegration). Indicates if assets
mean-revert together, even if trends differ.
- **Within-Bar Correlation (Blue):** Correlation of the
microstructure (intra-bar volatility).
3. **Visual Decomposition Logic:** Total Correlation is the
primary metric displayed. Since Correlation Coefficients are not
linearly additive, this indicator calculates the *exact* Total
Correlation and partitions the area/ratios based on the additive
Covariance Decomposition. This ensures the displayed total
correlation remains mathematically accurate.
4. **Dual Display Modes:** The indicator offers two modes to
visualize this decomposition:
- **Absolute Mode:** Displays the *Total Correlation* as the main
line, with the background filled by the stacked components
(Trend, Residual, Within). Shows the *magnitude* of the relationship.
- **Relative Mode:** Displays the **Energy Ratios** (-1.0 to 1.0)
of each component using L1-Normalization. This isolates the
*structure/quality* of the relationship (e.g., "Is the
correlation driven by Trend or just by Noise?").
5. **Calculation Options:**
- **Normalization:** An optional 'Normalize' setting
calculates an **Exponential Regression Curve** (log-space),
creating a constant percentage variance environment. Essential
for comparing assets with different scales (e.g., BTC vs EURUSD).
- **Volume Weighting:** An option (`Volume weighted`) applies
volume weighting to all regression and covariance calculations.
6. **Correlation Cycle Analysis:**
- **Pivot Detection:** Includes a built-in pivot detector
that identifies significant turning points (highs and lows) in
the *Total Correlation* line.
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library.
7. **Note on Confirmation (Lag):** Pivot signals are confirmed
using a lookback method. A pivot is only plotted *after*
the `Pivot Right Bars` input has passed, which introduces
an inherent lag.
8. **Multi-Timeframe (MTF) Capability:**
- **MTF Correlation Lines:** The correlation lines can be
calculated on a higher timeframe, with standard options
to handle gaps (`Fill Gaps`) and prevent repainting
(`Wait for...`).
- **Limitation:** The Pivot detection (`Calculate Pivots`) is
**disabled** if a Higher Timeframe (HTF) is selected.
9. **Integrated Alerts:** Includes comprehensive alerts for:
- Correlation magnitude (High Positive / High Inverse).
- Correlation character changes/emerging/fading.
- Total Correlation pivot (High/Low) detection.
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
F&O Last 15-min candle closes below the FIRST 15-min candle close of the day
Price distance from SMA-20 is between 5% and 8% (absolute distance)
Weekday Separator Pro (Mon & Fri Highlight)This indicator draws vertical separators at the start of each trading day
and displays weekday labels on intraday charts.
• Monday is highlighted in green
• Friday is highlighted in red
• Other weekdays use a neutral color
It helps traders visually analyze weekday-based market behavior,
range formation, and intraday structure.
Suitable for intraday trading on indices like Nifty and Bank Nifty.
Inside Bar Zones by AAK (V6)📦 Smart Inside Bar Zones
Smart Inside Bar Zones is a price-action–based indicator designed to automatically detect, track, and visualize inside bar consolidation zones with full historical context.
Instead of marking single inside candles, this indicator groups consecutive inside bars into structured zones, locking the original mother candle range and extending it until price breaks out. This allows traders to clearly identify areas of compression, balance, and potential expansion.
🔍 Key Features
Automatic Inside Bar Detection
Identifies inside bars using candle bodies within the mother candle range, with an optional tick buffer.
Smart Zone Creation
Consecutive inside bars are grouped into a single zone, anchored to the original mother candle.
Unlimited Historical Storage (Data)
All previous inside bar zones are stored internally, enabling long-term analysis and backtesting.
Safe & Optimized Drawing
Zones are drawn using recyclable boxes to respect TradingView object limits while maintaining performance.
Highlight Inside Bars
Optional candle coloring for quick and clear visual confirmation.
Flexible Display Options
Show only the latest zone
Or display multiple zones with automatic recycling
📈 How Traders Use It
Identify consolidation before expansion
Spot compression zones for breakout or fakeout scenarios
Combine with SMC, order flow, support & resistance, or liquidity concepts
Use higher-timeframe zones for directional bias
Use lower-timeframe zones for entries and scalps
⚠️ Important Notes
This indicator does not predict direction — it highlights structure
Zones represent price balance, not buy or sell signals
Best used in confluence with your trading strategy and risk management
🧠 Designed For
Price action traders
SMC / market structure traders
Forex, crypto, indices, and futures
Any timeframe
⚠️ Risk Disclaimer
This indicator is for educational purposes only and is not financial advice. Trading involves significant risk, and losses may exceed expectations. Past performance does not guarantee future results. Always use proper risk management and trade at your own discretion.
Global Liquidity Index (Major Economies Only)This iteration represents a revised adaptation of QuantitativeAlpha ’s framework for measuring global liquidity. It enables clear visibility into the current state of global liquidity—a foundational driver of risk asset prices.
Simple EFI + EMASimple Elder Force Index (EFI) with EMA Signal is a minimal momentum indicator that measures buying and selling pressure by combining price change and volume. The raw Force Index is smoothed with an Exponential Moving Average to reduce noise, and an additional EMA signal line helps visualize momentum shifts and trend strength. A zero line is included to quickly distinguish bullish (> 0) from bearish (< 0) conditions. This stripped-down version is designed for clarity and fast decision-making without extra filters or alerts.
Regular & Dollar Volume (+ projected volume, HVE, bar coloring)Regular & Dollar Volume shows standard or dollar-weighted volume with fast and slow volume averages, projected volume for the live bar, and optional high-volume and percentile spike cues. An optional bar coloring feature reflects direction and volume strength so high-participation moves stand out without clutter.
Main features
- Dollar volume option with selectable price source (Close, Open, High, Low, HL2, HLC3, OHLC4).
- Fast and slow volume averages (SMA or EMA) for quick context.
- The fast average reacts quickly to recent volume, while the slow average represents the broader baseline.
- Bars are classified based on whether volume is above both averages, below both, or between them. This gives a simple three-state read: unusually strong volume (above both), weak volume (below both), or normal (in between).
- Using two averages avoids overreacting to a single spike while still highlighting real regime shifts in participation.
- Projected volume on the active bar to estimate end-of-bar volume.
- High Volume Ever (HVE) labeling and optional HVE bar coloring .
- Optional percentile spike detection with markers, threshold line, and bar highlighting.
- Optional candle recoloring to match volume bar colors .
- Bar colors reflect both direction (up vs down) and volume strength relative to the two averages.
- This helps you spot high-participation moves at a glance and distinguish strong pushes from low-energy drift.
Weekly SMA20 Relative Strength Matrix (8x8)weekly SMA 20 asset rank matrix, helps view multiple assets and their long term trends at the same time
Gold TBS Support/Resistance Zones🔶 Gold TBS Support & Resistance Zones
Gold TBS Support & Resistance Zones is a manual price-zone based indicator designed to help traders clearly identify high-probability support and resistance areas on the chart.
It is especially optimized for Gold (XAUUSD) and performs best on the 15-minute timeframe.
This tool focuses on clarity, structure, and discipline, allowing traders to align entries, exits, and risk management around well-defined price zones.
📌 Key Features
✅ Up to 30 customizable support & resistance zones
✅ Zones automatically extend across the chart for long-term reference
✅ Dynamic color response based on current price location
✅ Clean and minimal visual design
✅ Works smoothly without repainting
✅ Fully manual control over zone levels
⏱ Best Timeframe
Recommended: 15-Minute (M15)
Can also be used on 3m / 5m for entries after bias confirmation from 15m
Higher timeframes can be used for positional reference
🟩🟥 How Zones Work
Green shading → Price is trading above the zone (potential support)
Red shading → Price is trading below the zone (potential resistance)
Neutral when price is inside the zone
These zones act as:
Reaction areas
Entry confirmation zones
Target and stop-loss reference points
🛠 How to Use (Simple Workflow)
Mark Key Levels
Update zone High & Low values using the input panel
Use important swing highs/lows, weekly levels, or session ranges
Directional Bias
Trade buy setups near support zones
Trade sell setups near resistance zones
Avoid trades in the middle of zones
Entry Confirmation
Use your preferred entry confirmation:
Candle close
Price rejection
Nagarjuna indicator
Risk Management
Place stop-loss beyond the zone
Targets can be next zone above or below
⚙️ Inputs & Customization
🔹 Enable / disable individual zones
🔹 Update zone prices manually anytime
🔹 Show or hide all zones instantly
🔹 Control border visibility and transparency
🔹 Separate fill transparency for support and resistance
This makes the indicator future-proof, as levels can be updated whenever market structure changes.
🎯 Best Use Case
Intraday trading on Gold
Structure-based trading
Traders who prefer clear levels over lagging indicators
Works well with trend-following or pullback strategies
⚠️ Important Notes
This indicator does not give buy/sell signals
It is designed to support decision-making, not replace strategy
Always combine with proper risk management
🧠 Trading Philosophy
“Price respects structure.
Discipline comes from knowing where not to trade.”
Pattern Multi-TF Dashboardesigned to identify the three primary phases of price action: Contraction, Expansion, and Trend. By combining technical momentum (ADX) with price range volatility, this script provides a "top-down" view of the market, allowing traders to see how lower-timeframe price action fits into the broader market cycle.
Core Logic & Market Phases
The indicator classifies market conditions based on a proprietary blend of ADX (Average Directional Index) and price deviation from the Fair Market Value (FMV).
🟦 Contraction (Blue): Identified when ADX is low and price is consolidating within a narrow range relative to the FMV. This represents "market value" where orders are being accumulated.
🟧 Expansion (Orange): Triggered when ADX begins to rise and price pushes away from the FMV. This represents the initial breakout phase where the market is seeking a new value area.
🟩 Trend (Green): Confirmed when ADX remains high and price maintains direction. This is the "momentum" phase of the cycle.
⬜ Neutral (Gray): Default state when neither contraction nor strong momentum is detected.
Key Features
Multi-TF Dashboard: A dynamic, real-time table displaying the Phase, Bias (Bullish/Bearish), and FMV price for eight different timeframes (1m through Monthly).
Visual Bias Tracking: The "Bias" column is color-coded (Green for Bullish, Red for Bearish) based on whether price is trading above or below the Fair Market Value (Mid-point of the range).
On-Chart Inefficiencies (FVG): Automatically plots Green/Red triangles to highlight Fair Value Gaps, identifying areas of price imbalance where liquidity may be resting.
HTF FMV Overlay: Plots the Fair Market Value (Mid-line) of a user-defined Higher Timeframe (e.g., 4H) directly onto your current chart for easy trend reference.
Optimized Performance: Built specifically for Pine Script® v6, the dashboard is designed to update only on the most recent bar to ensure zero chart lag during manual scrolling.
How to Use
Identify the HTF Phase: Look at the background color of your chart to see the 4H or Daily phase.
Check for Alignment: Use the Dashboard to see if the 1m and 5m biases match the HTF bias.
Find Entry: Look for Inefficiencies (FVGs) that align with the Expansion or Trend phases for high-probability entry points.
Vantage_NewsVantage News is a Pine Script library that provides pre-market economic event filtering defaults intended for strategies that trade on YM futures. It determines a default for whether trading should be blocked, delayed, or allowed on any given day.
Core Concept
News events are pre-compiled into Pine Script data libraries organized by half-year (LO1_News2025H1, LO1_News2025H2, etc.), updated weekly on Sundays. There are no API calls — events are baked into arrays of dates, times, type IDs, and severities.
Severity System
Can be configured to define or override three default severity tiers:
- Sev 3 (CPI, NFP, FOMC) — defaults to blocks the entire day or delays, depending on policy
- Sev 2 (ISM PMI, claims) — defaults to delay trading until the event time + a configurable post-delay window
- Sev 1 (secondary indicators) — defaults to no delays
Blocking vs Delaying
- Block: No trading for the full session. WillTradeToday() returns false.
- Delay: Trading allowed after eventTime + delayMinutes. IsDelayed(currentTimeMs) returns true until the release time passes.
Provides a per-event-type policy mechanism so overrides can force any event to block, delay, or be ignored regardless of its base severity.
Next Trading Window Calculation
FindNextTradingWindow() scans forward up to 14 days, skipping weekends and blocked days based on the provided configuration. If the next tradeable day has a delay, it returns the delayed start time — so an info panel can show e.g. "Mon 7:35 AM" to indicate the next trading opening
Exception Mappings
Each half-year library can ship per-event-type overrides (different severity, custom delay minutes, tags). When the applyLibExceptionMappings configuration is enabled, these override the base severity — allowing the data to carry date-specific adjustments.
Special Handling
CME early close days are encoded as a special event type. CheckCmeEarlyClose() returns a halt timestamp so a strategy can truncate the session.
Caching
Evaluation is lazy and memoized by date string — EvaluateForDate() only recomputes when the date changes. The event cache is built once at initialization via a day index for fast date lookups.
Market Structure BOS - Session Based (5m, NY Time) This indicator visualizes market structure using a strict, rule-based
Break of Structure (BOS) logic, calculated on the 5-minute timeframe
and evaluated in New York time.
The script detects swing Highs and Lows based on candle direction
(bullish → bearish for Highs, bearish → bullish for Lows). From each
validated structure point, a horizontal level is drawn at the true
price extreme (wick included). Once created, structure levels never
repaint or move.
A Break of Structure is confirmed only when a candle CLOSES beyond
the most recent valid structure level:
- Bullish BOS: close above the latest High
- Bearish BOS: close below the latest Low
The indicator is trend-aware: once a bullish or bearish BOS is confirmed,
only BOS signals in the same direction are shown until the trend changes.
This prevents duplicate or redundant structure breaks during trends.
Session logic is fully integrated and based on New York time:
- Asia
- London (with pre-open range)
- New York (with pre-open range)
Structure levels and BOS logic can optionally reset at the end of each
New York trading day, keeping the chart clean and session-relevant.
The indicator is designed for traders who focus on intraday price action,
market structure, and session-based behavior without visual clutter.
No labels, alerts, or signals are plotted — only clean structure levels.
Vantage_NewsTypesLibrary "Vantage_NewsTypes"
News Type definitions and default severity ratings with respect to YM futures. Updated weekly as news changes.
Severity 1 - Watch but not considered very impactful
Severity 2 - Default to don't trade until after event
Severity 3 - Default to don't trade on a day with this event
Multi-Timeframe S&R V1The Multi-Timeframe S&R V1 is a clean and powerful technical indicator designed to visualize key Support and Resistance (S&R) levels from multiple timeframes directly on your chart.
Instead of drawing lines manually, this tool automates the process by plotting critical levels from the previous day, week, and month.
This indicator is ideal for traders focusing on Price Action, Market Structure (HH/HL), or Mean Reversion strategies.
Key Features:
Daily Levels (D): Displays yesterday's High and Low, along with the current Daily Open. Essential for intraday trading and identifying the daily bias.
Weekly Levels (W): Plots the High and Low from the previous week. These often act as major psychological levels where significant price reactions occur.
Monthly Levels (M): Shows the High and Low of the previous month for a macro perspective on the market.
Dynamic Labels: Each level is clearly labeled on the right side of the chart (e.g., "D-high", "W-low", "M-high") for instant identification.
Fully Customizable: Toggle the visibility of each timeframe (D, W, M) independently via the settings to keep your chart clean and focused.
Visual Hierarchy: Lines are distinguished by varying thicknesses and colors, allowing you to assess the importance of a level at a single glance.
How to Use:
Support & Resistance: Use these lines as potential bounce or breakout zones.
Trend Confirmation: Combine these levels with your own Market Structure analysis (Higher Highs / Higher Lows).
Targeting: Utilize weekly or monthly extremes as Take Profit targets or Stop Loss reference points.
Alg0 Hal0 Dual MA CrossroadThe Alg0 ۞ Hal0 Dual MA Crossroad is a simple, yet high-precision trend-following indicator designed to eliminate the common pitfalls of standard Moving Average systems: lag and lack of context. By combining responsive MA algorithms with a sophisticated momentum "streak" engine, this tool provides a comprehensive view of market structure.
1. Advanced MA Algorithms
Unlike standard crossovers, this tool allows you to select from 8 different calculation methods for both the Fast and Slow lines.
ZLEMA (Zero Lag EMA): Uses a de-lagging formula to track price turns faster than a standard EMA.
DEMA (Double EMA): Provides a smoother, faster alternative to the single EMA.
HMA (Hull MA): Optimized for reducing lag while maintaining a smooth curve.
VWMA (Volume Weighted): Weights the trend by volume, showing where the "smart money" is moving.
2. Signal Engine & Momentum Streaks
The indicator looks for two primary signals:
The Crossroad: A classic crossover between the Fast and Slow MAs.
Momentum Streaks: Identifies "3-bar power moves" (3 consecutive higher closes or lower closes). These often precede or confirm a crossover, allowing for earlier entries or trend-reinforcement.
3. Smart Visuals & Label Management
ATR-Based Offsets: Labels are dynamically positioned based on current market volatility (ATR). This prevents "price clutter," ensuring labels remain visible above or below candles regardless of the asset's price.
Slope-Based Coloring: MA lines change color based on their internal slope (Bullish vs. Bearish), providing instant visual feedback on momentum shifts before a cross actually occurs.
Clean Charting: Use the Label Count Limit to prevent your chart history from becoming bogged down with old signals.
4. Integrated Intelligence Alerting
The alert system is designed for professional use. Instead of a simple "Cross Up," the webhook or popup provides a detailed report:
Trend Bias: Identifies if the current price is above/below the slow MA.
Volume Context: Automatically detects if the signal is occurring on high relative volume.
Signal Specifics: Tells you exactly which MA types crossed and if a momentum streak was detected.
How to Trade with this Indicator
The Core Setup: Look for a ZLEMA (Fast) cross over an EMA (Slow) for a balance of speed and stability.
Confirmation: Wait for a Momentum Streak alert in the direction of the crossover to confirm high-probability continuation.
Trend Riding: Stay in the trade as long as the MA Slope Color remains consistent with your direction.
Settings Glossary
Fast/Slow MA Type: Choose your calculation algorithm.
ATR Mult (Label Offset): Increase this if labels are too close to the candles.
Label Count Limit: Limits the number of labels kept on the chart to improve performance.
SMA Envelope 21Envelope with a simple moving average and channels based on a percentage, all editable from the panel.






















