Enhanced Order Flow Pressure GaugeShort Description:
Estimates bullish/bearish pressure by analyzing each candle’s close position within its range, then weighting that by volume. Detects potential trend shifts and provides real-time signals.
Full Description:
1. Purpose
The Enhanced Order Flow Pressure Gauge (OFPG+) is designed to approximate buy vs. sell pressure within each bar, even if you don’t have full Level II / order flow data. By measuring the candle’s close relative to its high-low range and multiplying by volume, OFPG+ provides insights into which side of the market (bulls or bears) is more aggressive in a given interval.
2. Key Components
Pressure Score (Histogram):
Raw measure of each bar’s close position (rangePos) minus midpoint, multiplied by volume. If the bar closes near its high with decent volume, the score is positive (bullish). Conversely, a close near its low yields a negative (bearish) reading.
Cumulative Pressure:
Sum of all pressure readings over time (similar to cumulative delta), reflecting the overall market bias.
Pressure Delta:
The change in cumulative pressure from one bar to the next, plotted as a line. Rising values suggest increasing bullish momentum, while falling values show growing bearish influence.
3. Visual Cues & Signals
Histogram (Pressure Profile): A color-coded bar for each candle, indicating net bullish (blue) or bearish (gray) intrabar pressure.
Pressure Delta Line: Plotted over the histogram. Turns bullish (blue) when net buy pressure is increasing, or bearish (gray) when net selling accelerates.
Background Highlights:
Turns lightly blue if the smoothed pressure line exceeds the positive threshold, or lightly gray if it goes below the negative threshold.
Bullish / Bearish Signals:
Bullish Signal occurs when the smoothed pressure line crosses above the positive threshold, combined with a positive Delta.
Bearish Signal occurs when the smoothed pressure line crosses below the negative threshold, combined with a negative Delta.
Confirmed Signals:
After a bullish/bearish signal, OFPG+ checks the highest or lowest smoothed pressure values over a user-defined number of bars (signalLookback) to confirm momentum.
Plotshapes (diamond icons) appear on the chart to mark these confirmed reversals.
4. Usage Scenarios
Trend-Following / Momentum: Watch for transitions from negative to positive net pressure or vice versa. Helps identify potential turning points.
Reversal Confirmation: The threshold-based signals plus the “confirmed” checks can help filter choppy conditions.
Volume-Weighted Insights: By factoring in volume, strong closes near the highs or lows are weighted more heavily, capturing sentiment shifts.
5. Inputs & Parameters
Smoothing Length (length): The EMA period for smoothing the raw pressure score.
Volume Weight (volWeight): Scales the volume impact on pressure calculations.
Pressure Threshold (threshold): Defines when pressure is considered significantly bullish or bearish.
Signal Lookback (signalLookback): Number of bars to confirm momentum after a signal.
6. Alerts
Bullish Signal & Confirmed Bullish
Bearish Signal & Confirmed Bearish
These alerts can notify you in real-time about potential shifts in the market’s buying or selling pressure.
7. Disclaimer
This script provides an approximation of order flow by analyzing candle structure and volume. It does not represent actual exchange-level order data.
Past performance is not necessarily indicative of future results. Always conduct thorough analysis and use proper risk management.
Not financial advice. Use at your own discretion.
Wolumen
Ragi's 24h volumeThis script is a TradingView Pine Script indicator that displays the 24-hour trading volume for a given asset. It provides both the native volume of the asset and, if the asset is not already listed on Binance, also displays the 24-hour volume from Binance (if applicable). Here's a breakdown of the key components:
Volume Calculation:
It sums the volume data over different time frames: 1-minute, 5-minute (for daily charts), or 60-minute intervals.
The volume is calculated based on the asset's volume type (either "quote" volume or a calculated value of close * volume).
For crypto assets, if the volume data is unavailable, it raises an error.
Binance Volume:
If the asset is not from Binance, the script fetches 24-hour volume data from Binance for that symbol, ensuring it is using the correct currency rate.
Display:
The indicator displays a table with the 24-hour volume in the chosen position on the chart (top, middle, or bottom).
The table displays the current exchange's volume, and if applicable, the Binance volume.
The volume is color-coded based on predefined thresholds:
Attention: Displays a warning color for volumes exceeding the attention level.
Warning: Shows an alert color for volumes above the warning threshold.
Normal: Displays in standard color when the volume is lower than the warning level.
The text and background color are customizable, and users can adjust the text size and position of the table.
User Inputs:
The script allows customization of table text size, position, background color, and volume thresholds for attention and warning.
In summary, this indicator is designed to track and display 24-hour volume on a chart, with additional volume information from Binance if necessary, and provides visual cues based on volume levels to help traders quickly assess trading activity.
Stacked Bullish vs Bearish VolumeThis indicator visually represents buying (bullish) and selling (bearish) pressure within each candle by stacking both portions inside a single volume bar. Unlike traditional volume indicators that use only one color per bar, this script splits each volume bar into two segments:
Green portion (Bullish Volume) → Represents the buying pressure when the price moves up.
Red portion (Bearish Volume) → Represents the selling pressure when the price moves down.
By stacking buy and sell volume inside the same column, traders can easily assess the balance of buying vs selling activity within each trading session.
Stacking the Bars:
The bullish portion (green) is plotted first.
The bearish portion (red) is plotted slightly offset to create a stacked effect.
Breakout and Retest Signals [AlgoAlpha]OVERVIEW
This script detects breakout and retest signals by identifying key pivot points in price action and analyzing their relationship with historical swing highs and lows. It highlights breakout structures using ATR-based tolerance levels and volume analysis to confirm potential trend continuations or reversals. The script marks significant price levels with dynamic boxes and dashed lines to help traders visualize breakout and retest areas effectively.
CONCEPTS
The script relies on pivot point analysis, a technique used to identify significant price levels where the market has previously reversed. It dynamically tracks a set number of recent swing highs and lows, allowing traders to see if the price is revisiting a previously significant level. The concept of breakouts and retests is widely used in technical analysis to determine potential entry points. A breakout occurs when the price moves beyond a resistance or support level, and a retest happens when the price returns to test that level before continuing in the breakout direction. This script enhances that analysis by incorporating ATR-based tolerance levels, ensuring that price zones are not too large.
FEATURES
Breakout and Retest Markings : Highlights breakout and retest areas with shaded boxes, allowing traders to visualize where price action is confirming key levels.
Volume Delta and Ratio : Analyzes volume at breakout levels to gauge the strength of the move, displaying volume delta information for additional context. The script also displays the ratio of selling to buying at the retest along traders to make better judgement on their entries.
Multi-Timeframe Adaptability : Dynamically adjusts volume analysis to align with the appropriate lower timeframe, ensuring reliable volume comparisons.
Alerts for Breakout and Retest Events : Traders can receive real-time notifications when bullish or bearish breakout retests are detected.
USAGE
This script is best suited for traders looking to identify strong breakout and retest setups across different timeframes. Users can customize the pivot detection period and swing point memory to adjust sensitivity based on their trading style. The ATR length and multiplier allow further refinement of breakout tolerance, reducing noise in volatile markets. The breakout zones are displayed as shaded boxes, where traders can assess whether a price retest is occurring under favorable conditions. Alerts can be set to notify traders of potential trade opportunities.
WAVES by WestmontWAVES by Westmont is a trading indicator that combines WaveTrend analysis with VWAP dynamics to provide traders with insights into market momentum , volatility , and trends . Users can rely on this tool to help identify market shifts , potential trend reversals , and momentum changes . The script integrates custom logic with standard public domain functions to enhance signal accuracy and market analysis.
WAVES builds on familiar tools, such as the Exponential Moving Average ( EMA ), Simple Moving Average ( SMA ), and basic fractal analysis , to create a comprehensive view of price behavior. Users can interpret this indicator to gain a clearer picture of market conditions, utilizing both WaveTrend’s trend-following signals and VWAP’s volume-weighted price reference.
How the Components Work Together:
Divergence Functions
WAVES uses the bottom_fractal and bot_fractal functions to detect local highs and lows, helping identify potential reversal points in the market. These functions work alongside the WaveTrend and VWAP analysis to confirm or challenge potential turning points.
WaveTrend Calculation
ESA (Exponential Smoothing Average): Provides a smoothed base for price direction.
DE (Deviation): Measures volatility, indicating how much price is fluctuating.
CI (Commodity Channel Index): Tracks cycles between price and the smoothed ESA, identifying potential price shifts.
These values are smoothed using EMA and SMA for greater stability. Users can rely on these smoothed signals to reduce noise and improve trend clarity.
VWAP Area Calculation
Users can observe the VWAP area , calculated from the difference between two WaveTrend lines ( wavetrend1 and wavetrend2 ), to understand market equilibrium in relation to volume-weighted price action. The VWAP area provides a clearer picture of price movement relative to market volume.
Signal Dots and Visualization
Bullish Signals: Users can look for blue dots when the VWAP area crosses upwards , indicating that price is above the VWAP and suggesting upward momentum .
Bearish Signals: Users can look for purple dots when the VWAP area crosses downwards , indicating that price is below the VWAP and suggesting downward momentum .
Smooth VWAP Gradient Fill
Users can visually track momentum using the smooth gradient fill between the VWAP plot and the center line . The fill color changes from blue ( positive momentum ) to purple ( negative momentum ), and turquoise ( neutral ), helping traders quickly assess market sentiment and trend strength.
How to Use WAVES by Westmont :
Bullish Momentum : Users can look for blue dots when the VWAP area crosses upward . This suggests the market is in an uptrend as price moves above the VWAP , potentially indicating upward price action .
Bearish Momentum : Users can look for purple dots when the VWAP area crosses downward . This suggests the market is in a downtrend as price moves below the VWAP , indicating potential for downward price action .
Neutral Market Conditions : Users can observe when the VWAP area remains near the center line ( turquoise ), indicating market consolidation or indecision .
Code Usage :
The indicator uses TradingView’s built-in functions (EMA, SMA, and fractals), which are well-optimized for standard technical analysis. These functions serve as a foundation for the indicator’s calculations. Users can trust that the public domain functions ensure efficient performance, while the added customizations enhance signal quality by integrating WaveTrend and VWAP dynamics.
Shavarie's MCV IndicatorShavarie's MCV Indicator (MACD + CCI + Volume Delta) is a custom-built trend-following and volume-based indicator that helps traders confirm market direction with high accuracy. It combines the MACD (Moving Average Convergence Divergence), CCI (Commodity Channel Index), and Volume Delta, ensuring that all three indicators align before making a trading decision. The goal is to filter out false signals and provide high-probability trade setups.
History & Development
Shavarie's MCV Indicator was developed by Shavarie Gordon, an experienced swing trader, to improve trend confirmation on Gold (XAUUSD) and other markets. After testing various indicators, Shavarie discovered that MACD, CCI, and Volume Delta together provide the best combination of trend strength, momentum, and real-time volume flow. This indicator was designed to eliminate lagging signals, improve win rates, and enhance market timing for both swing and scalping strategies.
How It Works & Calculations
MACD (Moving Average Convergence Divergence)
Measures momentum and trend strength using the difference between a 12-period EMA and a 26-period EMA.
The MACD line and Signal line crossover confirms buy/sell signals.
A rising MACD histogram confirms bullish strength, while a falling histogram confirms bearish strength.
CCI (Commodity Channel Index)
Measures how far the price is from its statistical average.
Above +100 → Overbought (strong trend continuation or reversal).
Below -100 → Oversold (strong trend continuation or reversal).
When CCI aligns with MACD, it confirms momentum strength.
Volume Delta
Measures the difference between buying and selling volume in real time.
A positive delta means more aggressive buying (bullish).
A negative delta means more aggressive selling (bearish).
Helps confirm MACD and CCI trends by showing real volume strength.
Key Takeaways & Features
✅ No false signals: All three indicators must align before entering a trade.
✅ Trend confirmation: Ensures momentum and volume agree before trading.
✅ Works on multiple timeframes: Designed for swing trading on the daily and scalping on 45 min + 5 min.
✅ Great for Gold & Metals: Optimized for XAUUSD, XAUJPY, XAU/AUD, and possibly Palladium (XPDUSD).
✅ Custom-built by a professional trader: Developed by Shavarie Gordon after extensive testing.
Summary
Shavarie’s MCV Indicator is a powerful and reliable trading tool that combines momentum, trend, and volume analysis. By ensuring that MACD, CCI, and Volume Delta align, it eliminates false signals and increases trade accuracy. Whether used for swing trading or scalping, this indicator helps traders enter high-probability trades with confidence.
GVWD | QuantumResearch QuantumResearch GVWD – Gaussian Volume-Weighted Deviation
The GVWD (Gaussian Volume-Weighted Deviation) is a powerful trend-following and volatility-based indicator that integrates Gaussian smoothing, volume-weighted price action, and adaptive ATR-based deviation bands. This combination allows traders to analyze market trends with enhanced precision while filtering out short-term noise. 🚀📊
1. Key Features
Gaussian Smoothing – Uses a Gaussian-weighted filter to refine price trends and remove noise. 📉📈
Volume-Weighted Adaptation – Incorporates volume-based price weighting for more responsive trend detection . 🔄
ATR-Based Deviation Bands – Dynamic upper and lower bounds adjust to market volatility for trend confirmation. ⚖️
Multi-Level Smoothing – Three levels of EMA smoothing on Gaussian-filtered data for layered analysis. 🎛️
Color-Coded Trend Visualization – Dynamic bar colors and background fills for clear market state identification. 🎨
Automated Alerts – Built-in Long/Short alerts for trade signal confirmation. 🔔
2. How It Works
A. Gaussian Filtered Price Calculation
Applies a Gaussian smoothing function to price data for trend refinement.
Weights price movements based on statistical deviation (sigma parameter) for precise trend estimation.
Filters out short-term market noise to capture the core trend movement.
B. Volume-Weighted Gaussian EMA
The filtered price is volume-weighted to prioritize significant moves.
Uses adaptive exponential smoothing to enhance trend sensitivity.
Ensures that high-volume price movements have more impact on the final output.
C. ATR-Based Deviation Bands
Calculates an adaptive range based on ATR (Average True Range).
Multiplier settings allow custom deviation tuning for different market conditions.
The upper and lower bounds define zones for trend continuation or potential reversals.
D. Signal Generation
Bullish Trend: When price is above the Gaussian EMA + ATR Upper Band. ✅
Bearish Trend: When price is below the Gaussian EMA - ATR Lower Band. ❌
Long Signal: Triggered when the trend shifts bullish.
Short Signal: Triggered when the trend shifts bearish.
3. Visual Representation
A. Color-Coded Trend Signals
Green Bars: Indicates a strong uptrend. 🟢
Blue Bars: Indicates a confirmed downtrend. 🔴
Gray Bars: Neutral or consolidation phase. ⚪
B. Multi-Level Gaussian EMA Smoothing
EMA 1 (Medium-Term): Serves as the primary trend-following line.
EMA 2 (Longer-Term): Acts as a higher timeframe confirmation.
EMA 3 (Extended Smoothing): Provides an even more stable view of price action.
C. Background Fill Based on Trend Strength
Stronger Trends: Brighter green/blue background.
Weaker Trends: Lighter shades indicate reduced momentum.
4. Customization & Parameters
Gaussian Smoothing Parameters: Adjust the sigma value to fine-tune the filter strength.
Volume-Weighted EMA Length: Select how far back price movements are weighted by volume.
ATR-Based Deviation Bands: Modify upper and lower multipliers for different volatility conditions.
Color Modes: Choose from 8 predefined color schemes for improved visualization.
5. Backtest & Market Applications
Backtest Summary :
The GVWD Indicator has been tested across various assets, including:
BTC/USD
ETH/USD
SOL/USD
📊 Key Observations:
Smooth Trend Identification: Gaussian smoothing helps filter noise without excessive lag.
Volume Sensitivity Enhances Responsiveness: Prioritizes high-volume trend confirmations.
ATR Bands Help Define Entry & Exit Points: Useful for position management and risk control.
⚠️ Disclaimer: This indicator is designed to complement existing analysis techniques . Market conditions vary, and no tool can guarantee future performance. Always use proper risk management when trading.
6. Final Thoughts
The GVWD Indicator is a hybrid Gaussian smoothing and volatility-based trend tool that combines multiple advanced statistical techniques for trend analysis.
By removing noise and adapting to volume-based price movements, GVWD helps traders identify meaningful trend shifts.
Designed for multi-timeframe analysis, it can be used across different market conditions.
Important Reminder: No single indicator guarantees profitability. Always validate signals with additional market context. 📊
Nirmal Fair Value GapsICT Fair Value Gaps
Trade Wisely
How a Fair Value Gap Works
Formation:
A Fair Value Gap occurs when a strong price movement (usually from institutional orders) creates an imbalance between buyers and sellers.
This is typically seen in a three-candle pattern, where the middle candle has a large body, and the two surrounding candles have wicks but little overlap with the middle candle’s range.
Identification:
The FVG is marked between the high of the first candle and the low of the third candle (for bullish gaps).
For bearish gaps, it’s the low of the first candle and the high of the third candle.
Market Behavior Around FVG:
Price often retraces into the gap before resuming its original direction.
This happens because the market seeks to "fill" the imbalance where few trades occurred.
Traders use FVGs as potential entry zones for trend continuation trades.
Trading Fair Value Gaps
In an Uptrend:
Look for bullish fair value gaps as potential support zones for buy entries.
Price may dip into the gap and then continue upward.
In a Downtrend:
Look for bearish fair value gaps as potential resistance zones for sell entries.
Price may retrace into the gap and then drop further.
Confluence Factors:
FVGs work best when combined with other strategies like order blocks, liquidity zones, or key Fibonacci levels.
Volume Trend Signals | iSolani
Volume Trend Signals | iSolani: Syncing Price Momentum with Volume Confirmation
In the dance between price action and volume, discerning true trend commitment requires seeing how institutional players vote with their capital. The Volume Trend Signals | iSolani illuminates this interplay by generating precise crossover signals when volume-accelerated price movements gain sustained traction. Unlike conventional volume oscillators, it employs a two-layered confirmation system —blending volatility-adjusted thresholds with adaptive smoothing—to spotlight high-probability entries aligned with smart-money activity.
Core Methodology
The indicator executes a five-phase process to filter meaningful trends:
Logarithmic Price Scaling: Measures percentage-based price changes via HLC3 typical price, reducing large-value bias in volatile markets.
Volatility Dynamic Filter: Uses a 30-bar standard deviation of price changes, scaled by user sensitivity (default 2x), to set momentum thresholds.
Volume Governance: Caps raw volume at 3x its 40-bar SMA, neutralizing outlier spikes while preserving institutional footprints.
Directional Flow Accumulation: Sums volume as positive/negative based on whether price movement breaches volatility-derived boundaries.
Signal Refinement: Smooths the Volume Flow Indicator (VFI) with a 3-bar SMA, then triggers alerts via crosses over a 20-bar EMA signal line.
Breaking New Ground
This tool introduces three evolutionary improvements over traditional volume indicators:
EMA Convergence Signals: Unlike basic zero-cross systems, it requires VFI to overtake its own EMA, confirming sustained momentum shifts.
Context-Aware Volume: The 3x volume cap adapts to current market activity, preventing false signals during news-driven liquidity spikes.
Minimalist Visual Alerts: Uses and symbols below/above candles, reducing chart clutter while emphasizing pivotal moments.
Engine Under the Hood
The script’s logic flows through four computational stages:
Data Conditioning: Computes HLC3 and its log-based rate of change for normalized price analysis.
Threshold Calibration: Derives dynamic entry/exit levels from 30-period volatility multiplied by user sensitivity.
Volume Processing: Filters and signs volume based on price meeting threshold criteria.
Signal Generation: Triggers buy/sell labels when the 3-bar SMA of cumulative flow crosses the 20-bar EMA.
Standard Configuration
Optimized defaults balance responsiveness and reliability:
VFI Length: 40-bar accumulation window
Sensitivity: 2.0 (double the volatility-derived threshold)
Signal Smoothing: 20-bar EMA
Volume Cap: 3x average (hidden parameter)
Smoothing: Enabled (3-bar SMA on VFI)
By fusing adaptive volume filtering with EMA-confirmed momentum, the Volume Trend Signals | iSolani cuts through market noise to reveal institutional-grade trend inflection points. Its unique crossover logic—prioritizing confirmation over speed—makes it particularly effective in swing trading and trend-following strategies across equities, commodities, and forex markets.
Volume Flow Indicator Signals | iSolani
Volume Flow Indicator Signals | iSolani: Decoding Trend Momentum with Volume Precision
In markets where trends are fueled by institutional participation, discerning genuine momentum from false moves is critical. The Volume Flow Indicator Signals | iSolani cuts through this noise by synthesizing price action with volume dynamics, generating high-confidence signals when capital flows align with directional bias. This tool reimagines traditional volume analysis by incorporating volatility-adjusted thresholds and dual-layer smoothing, offering traders a laser-focused approach to trend identification.
Core Methodology
The indicator employs a multi-stage calculation to quantify volume-driven momentum:
Volatility-Adjusted Filter: Measures price changes via log returns, scaling significance using a 30-bar standard deviation multiplied by user-defined sensitivity (default: 2x).
Volume Normalization: Caps extreme volume spikes at 3x the 50-bar moving average, preventing distortion from anomalous trades.
Directional Volume Flow: Assigns positive/negative values to volume based on whether price movement exceeds volatility-derived thresholds.
Dual Smoothing: Applies consecutive SMA (3-bar) and EMA (14-bar) to create the Volume Flow Indicator (VFI) and its signal line, filtering out transient fluctuations.
Breaking New Ground
This implementation introduces three key innovations:
Adaptive Noise Gates: Unlike static volume oscillators, the sensitivity coefficient dynamically adjusts to market volatility, reducing false signals during choppy conditions.
Institutional Volume Capping: The vcoef parameter limits the influence of outlier volume spikes, focusing on sustained institutional activity rather than one-off trades.
Non-Repainting Signals: Generates single-per-trend labels (buy below bars, sell above) to avoid chart clutter while maintaining visual clarity.
Engine Under the Hood
The script executes through five systematic stages:
Data Preparation: Computes HLC3 typical price and its logarithmic rate of change.
Threshold Calculation: Derives dynamic cutoff levels using 30-period volatility scaled by user sensitivity.
Volume Processing: Filters raw volume through a 50-bar SMA, capping extremes at 3x average.
VFI Construction: Sums directional volume flow over 50 bars, smoothed with a 3-bar SMA.
Signal Generation: Triggers alerts when VFI crosses zero, confirmed by a 14-bar EMA crossover.
Standard Configuration
Optimized defaults balance responsiveness and reliability:
Volume MA: 50-bar smoothing window
Sensitivity: 2.0 (doubles volatility threshold)
Signal Smoothing: 14-bar EMA
Volume Cap: 3x average (hidden parameter)
VFI Smoothing: Enabled (3-bar SMA)
By fusing adaptive volume filtering with price confirmation logic, the Volume Flow Indicator Signals | iSolani transforms raw market data into institutional-grade trend signals. Its ability to mute choppy price action while amplifying high-conviction volume moves makes it particularly effective for spotting early trend reversals in equities, forex, and futures markets.
Smart Volume S/R Pro [The_lurker]مؤشر "Smart Volume S/R Pro " هو أداة تحليل فني متقدمة مصممة لمساعدة المتداولين في تحديد مستويات الدعم والمقاومة القوية بناءً على حجم التداول، مع إضافة ميزات تحليلية متطورة مثل تصفية الاتجاه ، مناطق الثقة ، تقييم القوة ، حساب احتمالية الاختراق ، قياس السيولة ، تحديد الأهداف السعرية ، ومستويات فيبوناتشي . وايضا تقديم تسميات (Labels) بجانب كل مستوى دعم ومقاومة، تحتوي على أرقام ومعلومات دقيقة تعكس حالة السوق. هذه التسميات ليست مجرد زينة، بل أدوات تحليلية تساعد المتداولين على اتخاذ قرارات مستنيرة بناءً على بيانات السوقيهدف هذا المؤشر إلى توفير رؤية شاملة للسوق .
الوظائف الرئيسية للمؤشر
1- تحديد مستويات الدعم والمقاومة بناءً على حجم التداول العالي
يقوم المؤشر بتحليل الأشرطة (Bars) السابقة (حتى 300 شريط افتراضيًا) لتحديد النقاط التي شهدت أعلى مستويات حجم التداول.
يرسم خطوط أفقية تمثل مستويات المقاومة (عند أعلى سعر في تلك الأشرطة) والدعم (عند أدنى سعر)، ويمكن للمستخدم اختيار عدد الخطوط المعروضة (من 1 إلى 6).
2- تصفية الاتجاه باستخدام مؤشر ADX
يستخدم المؤشر مؤشر الاتجاه المتوسط (ADX) لتقييم قوة الاتجاه في السوق.
عندما تكون قوة الاتجاه عالية (تتجاوز عتبة محددة، 25 افتراضيًا)، يقلل المؤشر عدد مستويات الدعم والمقاومة المعروضة للتركيز فقط على المستويات الأكثر أهمية.
3- مناطق الثقة الديناميكية
يضيف المؤشر مناطق حول مستويات الدعم والمقاومة بناءً على متوسط المدى الحقيقي (ATR)، مما يساعد المتداولين على تصور النطاقات التي قد يتفاعل فيها السعر مع هذه المستويات.
يمكن تعديل عرض هذه المناطق باستخدام مضاعف ATR.
4- تقييم قوة المستويات
يحسب المؤشر قوة كل مستوى بناءً على حجم التداول، عدد المرات التي تم اختبار المستوى فيها (Touch Count)، وقرب السعر الحالي من المستوى.
يتم عرض درجة القوة (من 0 إلى 100) بجانب كل مستوى إذا تم تفعيل هذه الخاصية.
5- احتمالية الاختراق
يقدّر المؤشر احتمالية اختراق كل مستوى بناءً على الزخم (ROC)، قوة المستوى، والمسافة بين السعر الحالي والمستوى.
يظهر الاحتمال كنسبة مئوية إذا تم تفعيل الخيار، مما يساعد المتداولين على توقع الحركات المحتملة.
6- تحليل السيولة التاريخية
يقيس المؤشر السيولة حول كل مستوى بناءً على حجم التداول في النطاقات القريبة منه.
يمكن عرض قيم السيولة في التسميات أو استخدامها لتعديل عرض الخطوط (الخطوط الأكثر سيولة تظهر أعرض).
7- الأهداف السعرية
عند تفعيل هذه الخاصية، يحسب المؤشر أهداف سعرية للاختراق (Breakout) والارتداد (Reversal) بناءً على الزخم وقوة المستوى وATR.
يمكن عرض هذه الأهداف كنصوص في التسميات أو كخطوط أفقية على الرسم البياني.
8- مستويات فيبوناتشي
يرسم المؤشر مستويات فيبوناتشي (0.0، 0.236، 0.382، 0.5، 0.618، 0.786، 1.0) بناءً على أعلى وأدنى سعر في فترة النظرة الخلفية.
يمكن للمستخدم اختيار أي من هذه المستويات لعرضها أو إخفائها.
9- تنبيه شامل للاختراق
يوفر المؤشر تنبيهًا واحدًا يشمل جميع المستويات، حيث يُطلق التنبيه عندما يخترق السعر أي مستوى دعم أو مقاومة مع رسالة توضح نوع الاختراق والمستوى المخترق.
كيفية عمل المؤشر
الخطوة الأولى: يحدد المؤشر الأشرطة ذات الحجم العالي خلال فترة النظرة الخلفية المحددة (Lookback Period).
الخطوة الثانية: يرسم مستويات الدعم والمقاومة بناءً على أعلى وأدنى الأسعار في تلك الأشرطة، مع مراعاة عدد الخطوط المختارة من المستخدم.
الخطوة الثالثة: يطبق مرشح الاتجاه (إذا كان مفعلاً) لتقليل عدد المستويات في حالة الاتجاه القوي.
الخطوة الرابعة: يضيف التحليلات الإضافية مثل القوة، السيولة، احتمالية الاختراق، والأهداف السعرية، ويرسم مناطق الثقة ومستويات فيبوناتشي حسب الإعدادات.
الخطوة الخامسة: يراقب السعر ويطلق تنبيهًا عند الاختراق.
الإعدادات القابلة للتخصيص
1- فترة النظرة الخلفية (Lookback Period): عدد الأشرطة التي يتم تحليلها (افتراضيًا 300).
2- عدد الخطوط (Number of Lines): من 1 إلى 6 مستويات دعم ومقاومة.
3- الألوان والأنماط: يمكن تغيير ألوان الخطوط وأنماطها (ممتلئة، متقطعة، منقطة).
4- التسميات: تفعيل/تعطيل التسميات، وحجمها، وموقعها، ولون النص.
5- مرشح الاتجاه: تفعيل/تعطيل ADX، وتعديل طوله وعتبته.
6- مناطق الثقة: تفعيل/تعطيل، وتعديل طول ATR ومضاعفه.
7- القوة واحتمالية الاختراق: تفعيل/تعطيل العرض، وتعديل طول ROC.
8- السيولة: تفعيل/تعطيل تأثير السيولة على عرض الخطوط وقيمها في التسميات.
9- الأهداف السعرية: تفعيل/تعطيل الأهداف وعرضها كخطوط.
10- فيبوناتشي: اختيار المستويات المعروضة ولون الخطوط.
فوائد المؤشر
دقة عالية: يعتمد على حجم التداول لتحديد المستويات، مما يجعله أكثر موثوقية من المستويات العشوائية.
مرونة: يوفر خيارات تخصيص واسعة تتيح للمتداولين تكييفه حسب استراتيجياتهم.
تحليل شامل: يجمع بين الدعم والمقاومة، الاتجاه، السيولة، والأهداف في أداة واحدة.
سهولة الاستخدام: التسميات والتنبيهات تجعل من السهل متابعة السوق دون تعقيد.
==================================================================================تسميات (Labels) بجانب كل مستوى دعم ومقاومة، تحتوي على أرقام ومعلومات دقيقة تعكس حالة السوق. هذه التسميات ليست مجرد زينة، بل أدوات تحليلية تساعد المتداولين على اتخاذ قرارات مستنيرة بناءً على بيانات السوق. في هذا الشرح، سنستعرض كل رقم أو قيمة تظهر في التسميات ومعناها العملي.
مكونات التسميات
التسميات تظهر بجانب كل مستوى دعم (Support) ومقاومة (Resistance) وتبدأ بحرف "S" للدعم أو "R" للمقاومة، تليها مجموعة من الأرقام والقيم التي يمكن تفعيلها أو تعطيلها حسب إعدادات المستخدم. إليك تفصيل كل عنصر:
1- عدد اللمسات (Touch Count)
الرمز: يظهر مباشرة بعد "S" أو "R" (مثال: "R: 5" أو "S: 3").
المعنى: يشير إلى عدد المرات التي اختبر فيها السعر هذا المستوى دون اختراقه.
الفائدة: كلما زاد عدد اللمسات، كلما كان المستوى أقوى وأكثر أهمية. على سبيل المثال، إذا كان "R: 5"، فهذا يعني أن السعر ارتد من هذا المستوى 5 مرات، مما يجعله مقاومة قوية محتملة.
2- قوة المستوى (Strength Rating)
الرمز: يظهر بين قوسين مربعين (مثال: " ").
المعنى: قيمة من 0 إلى 100 تعكس قوة المستوى بناءً على عوامل مثل حجم التداول، عدد اللمسات، وقرب السعر الحالي من المستوى.
الفائدة: القيم العالية (مثل 75 أو أكثر) تشير إلى مستوى قوي يصعب اختراقه، بينما القيم المنخفضة (مثل 30 أو أقل) تدل على ضعف المستوى وسهولة اختراقه. يمكن للمتداول استخدام هذا لتحديد المستويات الأكثر موثوقية.
3- احتمالية الاختراق (Breakout Probability)
الرمز: يبدأ بحرف "B" متبوعًا بنسبة مئوية (مثال: "B: 60%").
المعنى: نسبة من 0% إلى 100% تُظهر احتمالية اختراق السعر للمستوى بناءً على الزخم الحالي، قوة المستوى، والمسافة بين السعر والمستوى.
الفائدة: نسبة مرتفعة (مثل 60% أو أكثر) تعني أن السعر قد يخترق المستوى قريبًا، بينما النسب المنخفضة (مثل 20%) تشير إلى احتمال ارتداد السعر. هذا مفيد لتوقع الحركة التالية.
4- قيمة السيولة (Liquidity Value)
الرمز: يبدأ بحرف "L" متبوعًا برقم (مثال: "L: 1200").
المعنى: يمثل متوسط حجم التداول في النطاق القريب من المستوى، مما يعكس السيولة التاريخية حوله.
الفائدة: القيم العالية تدل على وجود سيولة كبيرة، مما يعني أن السعر قد يتفاعل بقوة مع هذا المستوى (إما بالارتداد أو الاختراق). القيم المنخفضة تشير إلى سيولة ضعيفة، مما قد يجعل المستوى أقل تأثيرًا.
5- الأهداف السعرية (Price Targets)
الرمز: يبدأ بـ "BT" (هدف الاختراق) و"RT" (هدف الارتداد) متبوعين بأرقام (مثال: "BT: 150.50 RT: 148.20").
المعنى:
BT (Breakout Target): السعر المحتمل الذي قد يصل إليه السعر بعد اختراق المستوى.
RT (Reversal Target): السعر المحتمل الذي قد يصل إليه السعر إذا ارتد من المستوى.
الفائدة: تساعد المتداولين في تحديد نقاط الخروج المحتملة بعد الاختراق أو الارتداد، مما يسهل وضع خطة تداول دقيقة.
أمثلة عملية
تسمية مقاومة: "R: 4 B: 25% L: 1500 BT: 155.00 RT: 152.00"
المستوى اختُبر 4 مرات، قوته 80 (قوي جدًا)، احتمالية الاختراق 25% (منخفضة، أي احتمال ارتداد أعلى)، السيولة 1500 (مرتفعة)، هدف الاختراق 155.00، هدف الارتداد 152.00.
الاستنتاج: المستوى قوي ومن المرجح أن يرتد السعر منه، لكن إذا اخترق، فقد يصل إلى 155.00.
تسمية دعم: "S: 2 B: 70% L: 800 BT: 145.00 RT: 147.50"
المستوى اختُبر مرتين، قوته 40 (متوسطة إلى ضعيفة)، احتمالية الاختراق 70% (مرتفعة)، السيولة 800 (متوسطة)، هدف الاختراق 145.00، هدف الارتداد 147.50.
الاستنتاج: المستوى ضعيف ومن المحتمل أن يخترقه السعر ليهبط إلى 145.00.
كيفية الاستفادة من التسميات
تحديد القوة والضعف: استخدم قوة المستوى (Strength) لمعرفة ما إذا كان المستوى موثوقًا للارتداد أو عرضة للاختراق.
توقع الحركة: انظر إلى احتمالية الاختراق (Breakout Probability) لتحديد ما إذا كنت ستنتظر اختراقًا أو ترتدًا.
إدارة المخاطر: استخدم الأهداف السعرية (BT وRT) لتحديد نقاط جني الأرباح أو وقف الخسارة.
تقييم السيولة: ركز على المستويات ذات السيولة العالية لأنها غالبًا تكون نقاط تحول رئيسية في السوق.
تأكيد التحليل: ادمج عدد اللمسات مع القوة والسيولة للحصول على صورة كاملة عن أهمية المستوى.
تخصيص التسميات
يمكن للمستخدم تفعيل أو تعطيل أي من هذه القيم (القوة، الاحتمالية، السيولة، الأهداف) من إعدادات المؤشر.
يمكن أيضًا تغيير حجم التسميات (صغير، عادي، كبير)، موقعها (يمين، يسار، أعلى، أسفل)، ولون النص لتناسب احتياجاتك.
التسميات في هذا المؤشر هي بمثابة لوحة تحكم صغيرة بجانب كل مستوى دعم ومقاومة، تقدم لك معلومات فورية عن قوته، احتمالية اختراقه، سيولته، وأهدافه السعرية. بفهم هذه الأرقام، يمكنك تحسين قراراتك في التداول، سواء كنت تبحث عن نقاط دخول، خروج، أو إدارة مخاطر. إذا كنت تريد أداة تجمع بين البساطة والعمق التحليلي .
تنويه:
المؤشر هو أداة مساعدة فقط ويجب استخدامه مع التحليل الفني والأساسي لتحقيق أفضل النتائج.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
The Smart Volume S/R Pro indicator is an advanced technical analysis tool designed to help traders identify strong support and resistance levels based on trading volume, with the addition of advanced analytical features such as trend filtering, confidence zones, strength assessment, breakout probability calculation, liquidity measurement, price target identification, and Fibonacci levels. It also provides labels next to each support and resistance level, containing accurate numbers and information that reflect the market condition. These labels are not just decorations, but analytical tools that help traders make informed decisions based on market data. This indicator aims to provide a comprehensive view of the market.
Main functions of the indicator
1- Identifying support and resistance levels based on high trading volume
The indicator analyzes previous bars (up to 300 bars by default) to identify the points that witnessed the highest levels of trading volume.
It draws horizontal lines representing resistance levels (at the highest price in those bars) and support (at the lowest price), and the user can choose the number of lines displayed (from 1 to 6).
2- Filtering the trend using the ADX indicator
The indicator uses the Average Directional Index (ADX) to assess the strength of a trend in the market.
When the strength of the trend is high (exceeding a specified threshold, 25 by default), the indicator reduces the number of support and resistance levels displayed to focus only on the most important levels.
3- Dynamic Confidence Zones
The indicator adds zones around support and resistance levels based on the Average True Range (ATR), helping traders visualize the ranges in which the price may interact with these levels.
The width of these zones can be adjusted using the ATR multiplier.
4- Assessing the Strength of Levels
The indicator calculates the strength of each level based on trading volume, the number of times the level has been tested (Touch Count), and the proximity of the current price to the level.
A strength score (from 0 to 100) is displayed next to each level if this feature is enabled.
5- Breakout Probability
The indicator estimates the probability of breaking each level based on momentum (ROC), the strength of the level, and the distance between the current price and the level.
The probability is displayed as a percentage if the option is enabled, helping traders anticipate potential moves.
6- Historical Liquidity Analysis
The indicator measures liquidity around each level based on the trading volume in the ranges near it.
The liquidity values can be displayed in the labels or used to adjust the width of the lines (the most liquid lines appear wider).
7- Price Targets
When this feature is enabled, the indicator calculates price targets for breakout and reversal based on momentum, level strength and ATR.
These targets can be displayed as text in the labels or as horizontal lines on the chart.
8- Fibonacci Levels
The indicator plots Fibonacci levels (0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0) based on the highest and lowest price in the lookback period.
The user can choose which of these levels to display or hide.
9- Comprehensive Breakout Alert
The indicator provides a single alert that includes all levels, where the alert is triggered when the price breaks any support or resistance level with a message explaining the type of breakout and the level broken.
How the indicator works
Step 1: The indicator identifies the bars with high volume during the specified Lookback Period.
Step 2: Draws support and resistance levels based on the highest and lowest prices in those bars, taking into account the number of lines selected by the user.
Step 3: Apply the trend filter (if enabled) to reduce the number of levels in case of a strong trend.
Step 4: Adds additional analyses such as strength, liquidity, breakout probability, and price targets, and draws confidence zones and Fibonacci levels according to the settings.
Step 5: Monitors the price and triggers an alert when the breakout occurs.
Customizable Settings
1- Lookback Period: Number of bars to analyze (default 300).
2- Number of Lines: From 1 to 6 support and resistance levels.
3- Colors and Styles: Line colors and styles can be changed (filled, dashed, dotted).
4- Labels: Enable/disable labels, their size, location, and text color.
5- Trend Filter: Enable/disable ADX, and modify its length and threshold.
6- Confidence Zones: Enable/disable, and modify the ATR length and multiplier.
7- Strength and Breakout Probability: Enable/disable the display, and modify the ROC length.
8- Liquidity: Enable/disable the effect of liquidity on the display of the lines and their values in the labels.
9- Price Targets: Enable/disable the targets and display them as lines.
10- Fibonacci: Choose the displayed levels and the color of the lines.
Indicator Benefits
High Accuracy: It relies on trading volume to determine the levels, which makes it more reliable than random levels.
Flexibility: It provides extensive customization options that allow traders to adapt it to their strategies.
Comprehensive Analysis: Combines support and resistance, trend, liquidity, and targets in one tool. Ease of Use: Labels and alerts make it easy to follow the market without complexity.
Labels next to each support and resistance level contain accurate numbers and information that reflect the market situation. These labels are not just decorations, but analytical tools that help traders make informed decisions based on market data. In this explanation, we will review each number or value that appears in the labels and their practical meaning.
Label Components
Labels appear next to each support and resistance level and begin with the letter "S" for support or "R" for resistance, followed by a set of numbers and values that can be enabled or disabled according to the user's settings. Here is a breakdown of each element:
1- Touch Count
Symbol: Appears immediately after "S" or "R" (example: "R: 5" or "S: 3").
Meaning: Indicates the number of times the price has tested this level without breaking it.
Benefit: The more touches, the stronger and more important the level. For example, if it is "R: 5", it means that the price has bounced off this level 5 times, making it a potentially strong resistance.
2- Strength Rating
Symbol: Appears between square brackets (example: " ").
Meaning: A value from 0 to 100 that reflects the strength of the level based on factors such as trading volume, number of touches, and proximity of the current price to the level.
Benefit: High values (such as 75 or more) indicate a strong level that is difficult to break, while low values (such as 30 or less) indicate a weak level that is easy to break. A trader can use this to determine the most reliable levels.
3- Breakout Probability
Symbol: Starts with the letter "B" followed by a percentage (example: "B: 60%").
Meaning: A percentage from 0% to 100% that shows the probability of the price breaking the level based on the current momentum, the strength of the level, and the distance between the price and the level.
Interest: A high percentage (such as 60% or more) means that the price may soon break through the level, while low percentages (such as 20%) indicate that the price may bounce. This is useful for anticipating the next move.
4- Liquidity Value
Symbol: Starts with the letter "L" followed by a number (example: "L: 1200").
Meaning: Represents the average trading volume in the range near the level, reflecting historical liquidity around it.
Interest: High values indicate high liquidity, meaning that the price may react strongly to this level (either by bouncing or breaking through). Low values indicate low liquidity, which may make the level less influential.
5- Price Targets
Symbol: Starts with "BT" (breakout target) and "RT" (rebound target) followed by numbers (example: "BT: 150.50 RT: 148.20").
Meaning:
BT (Breakout Target): The potential price that the price may reach after breaking the level.
RT (Reversal Target): The potential price that the price may reach if it rebounds from the level.
Utility: Helps traders identify potential exit points after a breakout or rebound, making it easier to develop an accurate trading plan.
Working examples
Resistance label: "R: 4 B: 25% L: 1500 BT: 155.00 RT: 152.00"
Level tested 4 times, strength 80 (very strong), probability of breakout 25% (low, i.e. higher probability of rebound), liquidity 1500 (high), breakout target 155.00, rebound target 152.00.
Conclusion: The level is strong and the price is likely to rebound from it, but if it breaks, it may reach 155.00.
Support Label: "S: 2 B: 70% L: 800 BT: 145.00 RT: 147.50"
Level tested twice, Strength 40 (medium to weak), Breakout Probability 70% (high), Liquidity 800 (medium), Breakout Target 145.00, Rebound Target 147.50.
Conclusion: The level is weak and the price is likely to break it to drop to 145.00.
How to use labels
Determine strength and weakness: Use the level's strength to see if the level is reliable for a bounce or vulnerable to a breakout.
Predict the move: Look at the Breakout Probability to determine whether to wait for a breakout or a bounce.
Risk Management: Use price targets (BT and RT) to set take profit or stop loss points.
Liquidity Evaluation: Focus on levels with high liquidity as they are often key turning points in the market.
Analysis Confirmation: Combine the number of touches with strength and liquidity to get a complete picture of the level’s importance.
Customize Labels
The user can enable or disable any of these values (strength, probability, liquidity, targets) from the indicator settings.
The size of the labels (small, normal, large), their position (right, left, top, bottom), and the color of the text can also be changed to suit your needs.
The labels in this indicator act as a small dashboard next to each support and resistance level, providing you with instant information about its strength, probability of breakout, liquidity, and price targets. By understanding these numbers, you can improve your trading decisions, whether you are looking for entry points, exit points, or risk management. If you want a tool that combines simplicity with analytical depth.
Disclaimer:
The indicator is an auxiliary tool only and should be used in conjunction with technical and fundamental analysis for best results.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of advice or recommendations provided or endorsed by TradingView.
FVG | iSolani
Unveiling Market Inefficiencies with Precision
In fast-moving markets, spotting hidden opportunities often hinges on identifying imbalances between price and value. The FVG | iSolani indicator revolutionises this process by detecting Fair Value Gaps (FVGs) —zones where price action skips over "fair" valuation levels, creating potential retracement targets. Combining advanced filtering, dynamic visualisation, and automated management, this tool empowers traders to pinpoint high-probability setups with unprecedented clarity.
Core Methodology
The indicator employs a multi-layered approach to identify FVGs:
Three-Bar Gap Analysis: Bullish FVGs form when the current low exceeds the high of two bars prior, while bearish FVGs occur when the current high stays below the low of two bars back.
Volatility-Adjusted Filtering: Gaps are measured against a 100-bar standard deviation to exclude insignificant price jumps.
Volume Confirmation: Only gaps accompanied by above-average volume (relative to a 1-bar SMA) are validated, filtering out low-conviction moves.
Auto-Invalidation System: Continuously monitors price action to remove FVG zones once price closes within their range, maintaining chart cleanliness.
Breaking New Ground
This tool introduces three paradigm-shifting innovations:
Volume-Weighted Significance: Unlike traditional FVG detectors, it ties gap validity to volume spikes, emphasising institutional activity.
Adaptive Zone Management: Boxes automatically extend rightward (when enabled) and self-destruct when invalidated, eliminating manual cleanup.
Smart Color Encoding: Offers both monochrome (for multi-timeframe analysis) and standard bull/bear color schemes, with customisable transparency.
Engine Under the Hood
The script operates through four key processes:
Gap Detection: Scans every new bar for three-candle patterns meeting FVG criteria.
Statistical Filtering: Applies user-defined threshold (default: 1σ) to separate meaningful gaps from market noise.
Box Rendering: Draws semi-transparent zones between gap boundaries using TradingView's box objects, styled according to user preferences.
Array-Based Memory: Stores all active FVGs in arrays, enabling real-time validation checks against current price action.
Standard Configuration
Optimised default settings balance visibility and functionality:
Filter: 1.0 (1 standard deviation threshold)
Colors: "Mono" mode (gray boxes) with 90% transparency
Text Labels: Enabled in medium gray
Extension: Gaps extend indefinitely rightward
Borders: Dotted lines with visible outlines
Through its fusion of quantitative rigor and visual adaptability, the FVG | iSolani transforms raw price data into actionable intelligence. By focusing on volume-confirmed gaps and automating zone management, it cuts through market chaos to reveal structurally significant levels—a must-have for traders navigating breakouts, reversals, or order-flow analysis.
ZenAlgo - DetectorThis script combines multiple volume data sources, calculates several forms of volume-based metrics, displays a table for Spot vs. Perpetual volumes, and visualizes several technical elements (such as cumulative delta, divergences, fractals, and specialized moving averages). The primary objective is to help analyze volume activity across different exchanges, compare Spot vs. Perpetual markets, and observe how shifting volumes may coincide with price action characteristics. This description aims to clarify each component, explain how the calculations are performed, and show you how to interpret the various chart markings.
Why Combine These Metrics in One Script?
Many publicly available volume-related tools focus only on a single exchange or a single type of volume (like spot or futures). This script merges multiple exchange sources for spot and perpetual data into a unified view. By doing so, users can detect discrepancies or confirm alignment between different markets without juggling multiple indicators. It also processes volume-derived signals (delta, divergences, fractals, etc.) in one place, sparing you from manually combining various standalone scripts. Through this integration, it becomes easier to observe how price and volume interact across different market segments.
Core Concept: Aggregated Volume
The script begins by collecting volumes from multiple exchanges in two categories:
Spot volumes – Typically aggregated under symbols ending with "USDT" or a user-selected currency, and
Perpetual volumes – From perpetual futures contracts (e.g., symbols ending in "USD.P" or "USDT.P").
All these exchange volumes are requested via the built-in request.security() function in a single line for each exchange. The user can enable or disable each exchange in the inputs. The script then calculates an "aggregated volume" for Spot, an aggregated volume for Perpetual, and an overall combined total.
This aggregated volume is used later to break down how much of each bar's volume can be considered "buy" or "sell" based on the bar's candle structure (body vs. wicks).
Volume-Based Calculations: Buy vs. Sell Volume and Delta
For each bar, the script estimates how much of the aggregated volume can be associated with a "buy side" and a "sell side."
Volume Buy is computed if the bar's close is above the open , giving more weight to the candle's body and allocating some portion of volume to the wicks as well.
Volume Sell is similarly computed if the bar's close is below the open .
This results in a Delta value: Delta = (Buy Volume) – (Sell Volume).
Additionally, the script accumulates these values over a user-defined "lookback length" to provide Cumulative Delta . This can help show longer-term directional volume bias.
Table: Spot vs. Perpetual Comparison
There is a toggle ("Show Spot vs Perpetual Table") that displays an on-chart table comparing volumes:
Buy Volume and Sell Volume for each aggregated category (Spot, Perp, and their sum).
Delta (the difference between Buy and Sell).
Percentage breakdowns of buy vs. sell portions.
This table only appears on the most recent bar and helps users quickly assess how Spot and Perpetual volumes compare, plus the overall total.
PVSRA Color Coding
A "PVSRA-style" color approach classifies each bar based on volume and candle range:
Climax Up (lime) or Climax Down (red) occurs if volume is extremely high relative to a simple moving average of volume and range.
Above-Average Up (blue) or Down (fuchsia) occurs if volume is moderately higher than average.
Otherwise, colors fall back to neutral up/down colors.
This allows you to spot potentially high-volume "climax" bars vs. bars with only moderate or typical volume levels.
Fractals and Divergences
The script detects certain fractal points on the aggregated volumes (sum of buy or sell volumes). It looks for a 5-bar pattern (with the current bar in the middle for top or bottom fractals).
When a fractal is confirmed on buy volume, the script checks if new higher price highs coincide with lower buy-volume peaks (or vice versa) to highlight regular or hidden divergences.
Similar logic is applied on the sell-volume side if new lower price lows occur alongside higher sell-volume troughs (or the opposite).
If enabled in the settings, lines and labels may appear on the chart to mark these divergence points.
"Delta Dot" Events
This script draws small circles above or below bars when the total delta changes magnitude relative to the previous bar by certain user-defined multipliers. It segregates "tiny," "small," "large," and "extra" expansions in bullish or bearish delta.
Bullish Dots : Appear above the bar when the new positive delta is multiple times bigger than the previous positive delta.
Bearish Dots : Appear below the bar in a similar fashion for negative delta.
These dots emphasize large or sudden shifts in buy/sell pressure from one bar to the next.
Delta MA and its Direction
A moving average is calculated on the total delta and optionally multiplied by a factor (in the code, by 4) to make it visually prominent. The user can pick from SMA, EMA, WMA, RMA, or HMA as the smoothing technique.
Delta MA Direction : The script compares the current delta MA to a short SMA of itself to define whether it is rising or falling.
A color is assigned—blue if rising, orange if falling, gray if they're roughly equal.
This helps quickly visualize longer-term momentum in the net delta metric.
Divergences on the Delta MA
After computing the "Delta MA" line, the script detects pivot highs or lows on that line. If the price makes a new high but the Delta MA pivot is lower (and vice versa), it draws lines and small labels indicating potential divergence.
Bearish Divergence : Price makes a higher high, while the Delta MA pivot forms a lower high.
Bullish Divergence : Price makes a lower low, while the Delta MA pivot forms a higher low.
RSI + MFI Computation
The script also calculates a simplified form of RSI+MFI by comparing (close – open) / (high – low) * a multiplier , then smoothing it with a simple average. This is purely for an optional observational measure to see if the price action is leaning bullish or bearish in terms of these combined indicators.
EMA Overlay and Diamond Shapes
There are two standard EMAs (13 and 21). The script checks whether price is above or below these EMAs, in addition to other conditions (like changes in delta, volume, or RSI+MFI direction) to draw diamond shapes at the top or bottom of the chart:
Green Diamonds near the bottom if the conditions line up to suggest that the environment is more favorable for bullish pressure.
Red Diamonds near the top if the environment suggests more bearish pressure.
These diamonds come in two sizes:
Normal – More pronounced, typically plotted if RSI+MFI result is above/below zero.
Small – Plotted if RSI+MFI is on the other side of that threshold.
An optional "Hardcore Mode" adds special tiny diamonds under specific delta color/condition mismatches.
How to Interpret the Chart Elements
Line Plots of Buy and Sell Volumes : A positive line for buy volume, a negative line for sell volume, and a zero-line for reference. This provides at-a-glance perspective on how buy or sell volumes add up per bar.
Histogram "Total Delta" : A color-coded bar that quickly shows whether overall buy vs. sell volume is dominant. The color is governed by the PVSRA logic (e.g., potential climax or above-average conditions).
Volume Table (when enabled): Summarizes volumes in numeric and percentage form for Spot, Perp, and total categories on the last bar.
Delta Dots : Small circles highlighting abrupt changes in delta magnitude. Larger multiples indicate bigger jumps compared to the previous bar.
Fractals & Divergence Lines : Connect pivot points in buy/sell volume or in the Delta MA line with price highs/lows to indicate potential divergences.
Delta MA Plot : Smooth curve (scaled up x4) to reflect longer-term accumulation or distribution in the delta. Colored by whether the MA is above or below a short average of itself.
Diamonds : Appear when certain volume, price, RSI+MFI, and delta conditions converge. Green diamonds near the bottom typically coincide with bullish conditions, red diamonds near the top with bearish conditions.
Practical Usage Notes
Use the Spot vs. Perp breakdown to see if these two market segments differ significantly in their contributions to total volume. This can be informative when a certain type of market (futures vs. spot) might be "driving" price action.
The PVSRA color scheme highlights "climax" or "above-average" volume bars, which can sometimes appear around major reversals or breakouts.
Observing divergences in aggregated buy/sell volume (or in the Delta MA line) can provide additional context on whether certain price moves are backed by strong volume involvement.
The script's fractal divergences rely on short pivot detection. Signals will appear only after enough bars have passed for confirmation, so these are effectively "after-the-fact" notations to illustrate possible volume/price divergences.
The diamonds do not necessarily instruct any buy/sell action; rather, they mark conditions where multiple volume and momentum criteria line up in one direction.
Important Considerations
This script displays aggregated volumes from potentially multiple exchanges. Each exchange or pair might have different time zones, liquidity, or data availability, which can occasionally result in incomplete or zero values.
All references to "buy" or "sell" volume are approximate breakdowns based on candle structure. They are not absolute measures of real-time order flow.
Divergences and fractal points are provided strictly for analytical insight. They can repaint or shift if the fractal conditions were not fully confirmed in real time.
The color-coded lines, histograms, diamonds, and tables are strictly to guide analysis of volume fluctuations and do not claim to predict future price performance.
If you enable "Hardcore Mode," you will see additional diamond markers. This mode is mainly intended as an extra highlight of certain "contradictory" delta conditions.
Summary
The "ZenAlgo - Detector" script brings together a variety of volume-based analyses:
Aggregated volumes from multiple exchanges
A breakdown into Spot vs. Perpetual activity
Delta calculations, fractal divergences, and a specialized Delta Moving Average
Color-coded bars reflecting possible PVSRA concepts
A table to highlight numeric differences and percentages
Additional overlays (e.g., diamonds, RSI+MFI synergy, etc.)
In contrast to many free, single-exchange indicators, this script centralizes multiple exchange volumes in one place, making it easier to observe and compare volume flows across different market types (spot vs. perpetual). Users no longer need to rely on scattered tools or separate overlays to check volume divergences, fractals, or specialized MA calculations—everything is unified here. By carefully monitoring the table, Delta histogram, color-coded bars, divergence lines, and diamond markers, traders can more comprehensively evaluate how volume and price interact. Each plot is designed to showcase different aspects of volume flow—such as whether spot or derivatives markets dominate, if volume is skewed toward buying or selling, and if there are divergences between volume momentum and price movement.
All computations are displayed to help you carry out a more informed market analysis. It is strongly advised to combine these observations with other risk management or analytical methods, rather than relying on any single indicator alone.
MMM MARKET CHAOS TO CLARITY INTELLIGENCE @MaxMaserati# MMM MARKET CHAOS TO CLARITY INTELLIGENCE
## Overview
The MMM MARKET CHAOS TO CLARITY INTELLIGENCE (MMM AI Pro) by MaxMaserati is a sophisticated multi-factor analysis tool that provides comprehensive market insights through a unified dashboard. This system integrates several proprietary components to detect market conditions, trends, and potential reversals.
At its core, this indicator is designed to bring clarity to market complexity by identifying meaningful patterns and establishing order within what often appears as random market chaos
The MMM Intelligence Matrix accomplishes this through its multi-layered approach:
- The MMPD system quantifies market conditions on a clear 0-100 scale, transforming complex price movements into actionable premium/discount levels
- The proprietary candle analysis (MMMC Bias) identifies specific patterns with predictive value
- The integration of volume, momentum, and multi-timeframe analysis creates a comprehensive market context
- The Hot/Cold classification system helps traders distinguish between sustainable moves and overextended conditions
What makes this indicator particularly valuable is how it synthesizes multiple technical factors into clear visual signals and classifications. Instead of leaving traders to interpret numerous conflicting indicators, it presents an organized dashboard of market conditions with straightforward action zones.
## Core Components
### MMPD (Max Maserati Premium and Discount)
- Normalizes price movement on a 0-100 scale:
- **Premium (>50)**: Bullish conditions
- **Discount (<50)**: Bearish conditions
- **Extreme values (>90 or <10)**: Potential reversal zones
### MMMC (Max Maserati Model Candle) Bias
- Analyzes candle patterns to predict behavior:
- **Bullish/Bearish Body Close**: Price closes beyond previous candle's high/low
- **Bullish/Bearish Affinity**: Shows tendency toward continuation
- **Seek & Destroy**: Tests previous levels then breaks in new direction
- **Close Inside**: Closes within previous candle's range with directional bias
- **Plus/Minus**: Indicates slight tendency toward bulls/bears
### PC Strength (Previous Candle Strength)
- Measures percentage power of recent candlesticks
- Analyzes strength across multiple previous candles (PC1, PC2, PC3)
### MVM (Market Volatility Momentum)
- Adaptive moving averages system analyzing multiple timeframes:
- **Short context (8 bars)**: Immediate direction
- **Medium context (21 bars)**: Intermediate validation
- **Long context (55 bars)**: Primary trend confirmation
- **Higher timeframe**: Additional confirmation
### Volume Intelligence System
- Adaptive algorithm comparing current volume to 20-period average
- Identifies significant volume events and thresholds
### Hot/Cold Momentum Classification
- **Strong Bullish/Bearish (Hot)**: Potentially overextended
- **Strong Bullish/Bearish (Cold)**: Strong with room to continue
- **Bullish/Bearish Momentum**: Clear directional bias
- **Mild Bullish/Bearish**: Weak directional bias
### HVC (Highest Volume Candles) Detection
- Triangle markers and sequential stars indicate significant volume-confirmed movements
- Signals potential trend changes and continuation setups
## Dashboard Interface
The customizable dashboard displays:
1. **MMMC Bias**: Candle pattern analysis and direction
2. **Delta MA**: Buy/sell pressure with directional arrows
3. **PC Strength**: Percentage strength of previous candles
4. **Current Trend**: Overall market bias state
5. **MMPD Bias**: Premium/discount context
6. **Short/Medium/Long Term**: Price change percentages
7. **Trend Quality**: Reliability rating
8. **Volume Strength**: Classification (High/Medium/Low)
9. **MMPD Values**: Current level with direction indicator
10. **HTF Trend**: Higher timeframe confirmation
11. **Trend Strength**: Overall momentum measurement
12. **Action Zone**: Trading zone classification
13. **Momentum Strength**: Hot/Cold status
## MMPD Value Classifications
- **EXTREME PREMIUM (>90) ⚠️**: Extremely overbought
- **HIGH PREMIUM (80-90) ↗**: Strong bullish (caution)
- **PREMIUM (65-80) ↗**: Healthy bullish zone
- **LIGHT PREMIUM (50-65) →**: Mild bullish territory
- **LIGHT DISCOUNT (35-50) →**: Mild bearish territory
- **DISCOUNT (20-35) ↘**: Healthy bearish zone
- **HIGH DISCOUNT (10-20) ↘**: Strong bearish (caution)
- **EXTREME DISCOUNT (<10) ⚠️**: Extremely oversold
## Action Zone Classifications
- **MASSIVE BUY/SELL ZONE ★★★**: Very strong bias (Strength >5.0)
- **STRONG BUY/SELL ZONE ★★**: Strong bias (Strength >3.0)
- **MEDIUM BUY/SELL ZONE ★**: Moderate bias (Strength >2.0)
- **LIGHT BUY/SELL ZONE ⋆**: Mild bias (Strength >1.0)
- **SUPER LIGHT BUY/SELL ZONE ·**: Weak bias (Strength <1.0)
- **NEUTRAL ZONE**: No clear directional bias
## Visual Signals
1. **Triangle Markers**: HVC system directional signals (up/down)
2. **Sequential Stars (★)**: Advanced confirmation signals following trend changes
3. **High Volume Highlighting**: Optional candle emphasis for volume events
## Entry Conditions
### Strong Buy Setup
- MMPD Values: PREMIUM or LIGHT PREMIUM
- Hot/Cold Status: "⚠️ Strong Bullish (Cold)" or "↗️ Bullish Momentum"
- Action Zone: MASSIVE or STRONG BUY ZONE
- Volume Strength: High or Medium
- Current Trend: Strong Bullish or Bullish
### Strong Sell Setup
- MMPD Values: DISCOUNT or LIGHT DISCOUNT
- Hot/Cold Status: "⚠️ Strong Bearish (Cold)" or "↘️ Bearish Momentum"
- Action Zone: MASSIVE or STRONG SELL ZONE
- Volume Strength: High or Medium
- Current Trend: Strong Bearish or Bearish
## Exit Conditions
### Exit Long Positions When
- Hot/Cold Status changes to "⚠️ Strong Bullish (Hot)" or "↘️ Bearish Momentum"
- MMPD Values shows EXTREME PREMIUM or HIGH PREMIUM
- Action Zone changes to NEUTRAL ZONE or any SELL ZONE
- Current Trend shows "Bearish Reversal" or "Exiting Overbought"
### Exit Short Positions When
- Hot/Cold Status changes to "⚠️ Strong Bearish (Hot)" or "↗️ Bullish Momentum"
- MMPD Values shows EXTREME DISCOUNT or HIGH DISCOUNT
- Action Zone changes to NEUTRAL ZONE or any BUY ZONE
- Current Trend shows "Bullish Reversal" or "Exiting Oversold"
## Position Sizing Guidelines
- **Full Position (100%)**: Action Zone ★★★/★★, normal momentum, High volume
- **Reduced Position (50-75%)**: "Cold" signal, Action Zone ★, Medium volume
- **Small Position (25-50%)**: Action Zone ⋆, Medium/Low volume, mixed signals
- **No Position**: "Hot" signal, NEUTRAL zone, Low volume
## Special Trade Setups
### Reversal Setups
- **Bullish Reversal**: Transition from EXTREME DISCOUNT, Hot→Cold change, emerging buy signal, high volume
- **Bearish Reversal**: Transition from EXTREME PREMIUM, Hot→Cold change, emerging sell signal, high volume
### Continuation Setups
- **Bullish Continuation**: PREMIUM range, "Cold" signal, strong volume, timeframe alignment, clear Action Zone
- **Bearish Continuation**: DISCOUNT range, "Cold" signal, strong volume, timeframe alignment, clear Action Zone
## Sequential Stars System
- **Sequential Buy Signal**: Bullish star after bearish trend, volume confirmation
- **Sequential Sell Signal**: Bearish star after bullish trend, volume confirmation
## Best Practices
- Check multiple timeframes (prioritize when all align)
- Validate with volume (High >2.5x, Medium >1.2x)
- Assess trend quality (Strong ★★★, Confirmed ★★, Warning ⚠, Transition ↕)
- Handle inside bars/consolidation with additional confirmation
## Technical Considerations
- Based on closed candles for calculations
- Requires reliable volume data
- Higher sensitivity settings may produce more frequent signals
- Extreme readings indicate potential turning points
- Sequential stars require proper trend changes for activation
## Indicator Applicability
- **Markets**: Forex, Crypto, Stocks, Futures, Commodities
- **Timeframes**: 1H+ recommended, 4H/Daily for primary analysis
*Intended for use with the full MMM system. Trading decisions require proper knowledge and risk management.*
Delta VolDelta Volume BTC - Multi Pair
Description The Delta Volume BTC - Multi Pair indicator visualizes the balance between buying and selling volume across multiple Bitcoin exchanges. By analyzing price action within each bar, it provides insight into underlying market pressure that traditional volume indicators miss. This indicator allows traders to:
Compare volume flow across Coinbase, Binance, and Binance Perpetual markets
Identify divergences between exchanges that may signal market shifts
Detect accumulation or distribution patterns through volume imbalances
View exchanges individually or in aggregate for comprehensive analysis
Calculation Methods The indicator offers three volume delta calculation methods:
VWAP Based (default):
price_range = high - low
buy_percent = (close - low) / price_range
sell_percent = (high - close) / price_range
delta = volume * (buy_percent - sell_percent)
This method distributes volume based on where price closed within the bar's range, providing a nuanced view of buying/selling pressure.
Tick Based :
delta = volume * sign(hlc3 - previous_hlc3)
This approach assigns volume based on the direction of typical price movement between bars, capturing momentum between periods.
Simple :
delta = close > open ? volume : close < open ? -volume : 0
A straightforward method that assigns positive volume to up bars and negative volume to down bars.
When Aggregate Mode is enabled, the indicator sums the volume deltas from all selected exchanges:
aggregate_delta = coinbase_delta + binance_delta + binance_perp_delta
Features
Multi-Exchange Support : Track volume delta across Coinbase, Binance, and Binance Perpetual futures
Advanced Calculation Methods : Choose between VWAP-based, tick-based, or simple volume delta algorithms
Flexible Display Options : Visualize as histogram, columns, area, or line charts
Customizable Colors : Distinct color schemes for each exchange and direction
Smoothing Options : Apply EMA, SMA, or WMA to reduce noise
Aggregate Mode : Combine all exchanges to see total market flow
How to Use
Individual Exchange Analysis : Uncheck "Aggregate Mode" to see each exchange separately, revealing where smart money may be positioning
Divergence Detection : Watch for one exchange showing buying while others show selling
Volume Trend Confirmation : Strong price moves should be accompanied by strong delta in the same direction
Liquidity Analysis : Compare spot vs futures volume delta to identify market sentiment shifts
The Delta Volume BTC - Multi Pair indicator helps identify the "hidden" buying and selling pressure that may not be apparent from price action alone, giving you an edge in understanding market dynamics across the Bitcoin ecosystem.
Heatmap Suite [PhenLabs]📊 Heatmap Suite
Version: PineScript™ v6
📌 Description
The Heatmap Suite is an advanced technical analysis tool that combines multiple density calculation methods with dynamic visualization to identify significant price levels and trading activity zones. It features a sophisticated analysis system that processes price and volume data through various kernel methods, providing traders with insights into market structure, support/resistance zones, and potential price reaction areas.
🚀 Points of Innovation:
Multi-method density calculation incorporating three distinct approaches
Adaptive visualization system with dynamic color gradients
Real-time dashboard with key market metrics
Significant level detection with automatic threshold adjustment
🚨 Important🚨
🔸Comprehensive tooltips included in the PhenLabs dashboard for in depth guidance
🔧 Core Components
Density Analysis: Multiple calculation methods for price distribution assessment
Heat Mapping: Dynamic visualization of price congestion zones
Level Detection: Automatic identification of significant price levels
Dashboard System: Real-time market metrics and analysis
🔥 Key Features
The indicator provides comprehensive analysis through:
Kernel Density: Traditional balanced view of price distribution
Exponential Kernel: Time-weighted analysis emphasizing recent price action
Volume-Weighted: Focus on high-volume price areas
Significant Levels: Automatic detection of important price zones
Heat Distribution: Color-coded visualization of price congestion
🎨 Visualization
Heat Zones: Shows intensity of price activity
Significant Lines: Key level indicators
Color Gradients: Indicates density strength
Dashboard Display: Real-time metrics
Dynamic Opacity: Reflects density intensity
📖 Usage Guidelines
The indicator offers several customization options:
Basic Settings:
Calculation Method: Choose between three density calculation approaches
Lookback Period: Analysis timeframe adjustment
Zone Count: Price range division granularity
Heat Sensitivity: Contrast adjustment for visualization
🎛️ Visual Settings:
Dashboard Size: Text size customization
Position: Dashboard placement options
Color Scheme: Heat map gradient visualization
Level Display: Significant price zone indicators
✅ Best Use Cases:
Identify strong support/resistance zones through high-density areas
Spot potential price reversal zones at significant levels
Analyze price congestion patterns
Monitor real-time changes in market structure
⚠️ Limitations
Requires sufficient historical data
Computational intensity increases with longer lookback periods
Heat sensitivity needs adjustment based on market conditions
Dashboard placement may need adjustment based on price action
💡 What Makes This Unique
Multi-method Analysis: Three distinct calculation approaches
Adaptive Visualization: Dynamic color gradient system
Real-time Metrics: Comprehensive dashboard display
Automatic Level Detection: Significant price zone identification
Memory-efficient Design: Optimized calculation methods
🔬 How It Works
The indicator processes market data through four main components:
1. Density Calculation:
Processes price and volume data
Applies selected kernel method
Generates density distribution
2. Heat Mapping:
Converts density values to color gradients
Updates visualization in real-time
Displays price congestion zones
3. Level Detection:
Identifies significant price levels
Applies threshold filtering
Marks important zones
4. Dashboard Updates:
Calculates real-time metrics
Updates display components
Provides market context
💡Note:
The indicator performs best with adequate historical data and proper sensitivity settings. Its sophisticated density analysis provides valuable insights into market structure beyond traditional support/resistance indicators.
Luma Signals – Orderflow ImbalanceLuma Signals – Imbalance Detector
The Luma Signals – Imbalance Detector highlights price inefficiencies where buying or selling pressure dominates, causing rapid market movements. These imbalances can act as potential support and resistance zones or indicate areas where liquidity needs to be filled.
🔹 Key Features:
✔ Identifies Bullish & Bearish Imbalances – Blue candles indicate strong buying pressure, red candles indicate strong selling pressure.
✔ Clear Market Structure – Normal bullish candles appear in light gray, normal bearish candles in white.
✔ Dynamic Orderflow Analysis – Helps traders spot high-volatility price movements and potential reversals.
✔ No repainting & lightweight – The indicator works in real-time without altering past data.
📊 How to Use:
Trend Confirmation: If an imbalance aligns with a strong trend, it may indicate trend continuation.
Liquidity Gaps: Price often revisits imbalances before continuing its movement.
Scalping & Intraday Trading: Identify key reaction points for short-term trades.
WIG20 Total Value-Weighted VolumeThis Pine Script creates a custom indicator for TradingView that calculates and visualizes the total "value-weighted volume" of the 20 stocks in the WIG20 index (a major Polish stock market index). Here's a breakdown of what it does:
Functionality:
Stock Selection:
The script allows you to input the ticker symbols for the 20 stocks that make up the WIG20 index (e.g., "PKO" for PKO Bank Polski, "PKN" for PKN Orlen, etc.). These are customizable via input fields, so you can adjust them to match the current WIG20 constituents.
Data Retrieval:
For each of the 20 stocks, it fetches two pieces of data from the current chart timeframe (e.g., daily, hourly):
Volume: The number of shares traded (e.g., v01 for the first stock).
Average Price: The midpoint price of the candle, calculated as (open + close) / 2 (e.g., p01 for the first stock). This represents a typical price for that period.
Value-Weighted Volume Calculation:
For each stock, it multiplies the volume by its average price (e.g., vw01 = v01 * p01). This converts the raw volume (in shares) into a monetary value (e.g., in Polish złoty, PLN, assuming the prices are in PLN).
The result, called "value-weighted volume," reflects the total monetary amount traded for each stock rather than just the number of shares.
Total Value-Weighted Volume:
It sums the value-weighted volumes of all 20 stocks into a single value, totalValueVolume. This represents the combined monetary trading activity across the WIG20 index for each time period (e.g., each candle on the chart).
Statistical Analysis:
The script calculates a rolling mean and standard deviation of the totalValueVolume over a user-defined lookback period (default is 20 bars, adjustable via input).
It then computes a "3-sigma" threshold, which is the mean plus three times the standard deviation. This threshold identifies unusually high trading activity (statistically significant outliers).
Candle Direction:
It checks whether the current candle on the chart (e.g., the WIG20 index itself) is bullish or bearish:
Bullish: If the close price is higher than the open price (close > open).
Bearish: If the close price is lower than the open price (close < open).
Color-Coded Visualization:
The totalValueVolume is plotted as a histogram on the chart with dynamic colors:
Blue: If the value-weighted volume is below the 3-sigma threshold (normal trading activity).
Green: If the value-weighted volume exceeds the 3-sigma threshold and the candle is bullish (indicating unusually high buying activity).
Red: If the value-weighted volume exceeds the 3-sigma threshold and the candle is bearish (indicating unusually high selling activity).
Purpose:
What It Shows: The indicator highlights the total monetary trading volume across the WIG20 stocks, adjusted for each stock’s price, and flags periods of exceptional activity (above 3 sigma) with colors that indicate market direction (bullish or bearish).
Use Case: Traders or analysts might use this to:
Identify significant market events where trading volume spikes (e.g., news-driven moves).
Assess whether those spikes align with bullish (green) or bearish (red) sentiment, based on the WIG20 index’s price movement.
Compare monetary trading activity across different periods, rather than just share volume, which gives more weight to higher-priced stocks.
Key Features:
Customizable: You can tweak the stock symbols and lookback period to fit your needs.
Statistical Insight: The 3-sigma rule helps spot outliers in trading activity.
Visual Clarity: The histogram’s color changes make it easy to see when volume spikes occur and whether they’re tied to upward or downward price moves.
Example Output:
On a daily WIG20 chart, if one day’s total value-weighted volume is exceptionally high (above 3 sigma) and the WIG20 closes higher than it opened, the histogram bar for that day turns green. If it closes lower, it turns red. Otherwise, it stays blue.
In essence, this script transforms raw volume data into a price-adjusted, statistically informed indicator that visually emphasizes significant trading events with directional context!
Supertrend + MACD Trend Change with AlertsDetailed Guide
1. Indicator Overview
Purpose:
This script combines the Supertrend and MACD indicators to help you detect potential trend changes. It plots a Supertrend line (green for bullish, red for bearish) and marks the chart with shapes when a trend reversal is signaled by both indicators. In addition, it includes alert conditions so that you can be notified when a potential trend change occurs.
How It Works:
Supertrend: Uses the Average True Range (ATR) to determine dynamic support and resistance levels. When the price crosses these levels, it signals a possible change in trend.
MACD: Focuses on the crossover between the MACD line and the signal line. A bullish crossover (MACD line crossing above the signal line) suggests upward momentum, while a bearish crossover (MACD line crossing below the signal line) suggests downward momentum.
2. Supertrend Component
Key Parameters:
Factor:
Function: Multiplies the ATR to create an offset from the mid-price (hl2).
Adjustment Impact: Lower values make the indicator more sensitive (producing more frequent signals), while higher values result in fewer, more confirmed signals.
ATR Period:
Function: Sets the number of bars over which the ATR is calculated.
Adjustment Impact: A shorter period makes the ATR react more quickly to recent price changes (but can be noisy), whereas a longer period provides a smoother volatility measurement.
Trend Calculation:
The script compares the previous close with the dynamically calculated upper and lower bands. If the previous close is above the upper band, the trend is set to bullish (1); if it’s below the lower band, the trend is bearish (-1). The Supertrend line is then plotted in green for bullish trends and red for bearish trends.
3. MACD Component
Key Parameters:
Fast MA (Fast Moving Average):
Function: Represents a shorter-term average, making the MACD line more sensitive to recent price movements.
Slow MA (Slow Moving Average):
Function: Represents a longer-term average to smooth out the MACD line.
Signal Smoothing:
Function: Defines the period for the signal line, which is a smoothed version of the MACD line.
Crossover Logic:
The script uses the crossover() function to detect when the MACD line crosses above the signal line (bullish crossover) and crossunder() to detect when it crosses below (bearish crossover).
4. Combined Signal Logic
How Signals Are Combined:
Bullish Scenario:
When the MACD shows a bullish crossover (MACD line crosses above the signal line) and the Supertrend indicates a bullish trend (green line), a green upward triangle is plotted below the bar.
Bearish Scenario:
When the MACD shows a bearish crossover (MACD line crosses below the signal line) and the Supertrend indicates a bearish trend (red line), a red downward triangle is plotted above the bar.
Rationale:
By combining the signals from both indicators, you increase the likelihood that the detected trend change is reliable, filtering out some false signals.
5. Alert Functionality
Alert Setup in the Code:
The alertcondition() function is used to define conditions under which TradingView can trigger alerts.
There are two alert conditions:
Bullish Alert: Activated when there is a bullish MACD crossover and the Supertrend confirms an uptrend.
Bearish Alert: Activated when there is a bearish MACD crossover and the Supertrend confirms a downtrend.
What Happens When an Alert Triggers:
When one of these conditions is met, TradingView registers the alert condition. You can then create an alert in TradingView (using the alert dialog) and choose one of these alert conditions. Once set up, you’ll receive notifications (via pop-ups, email, or SMS, depending on your settings) whenever a trend change is signaled.
6. User Adjustments and Their Effects
Factor (Supertrend):
Adjustment: Lowering the factor increases sensitivity, resulting in more frequent signals; raising it will filter out some signals, making them potentially more reliable.
ATR Period (Supertrend):
Adjustment: A shorter ATR period makes the indicator more responsive to recent price movements (but can introduce noise), while a longer period smooths out the response.
MACD Parameters (Fast MA, Slow MA, and Signal Smoothing):
Adjustment:
Shortening the Fast MA increases sensitivity, generating earlier signals that might be less reliable.
Lengthening the Slow MA produces a smoother MACD line, reducing noise.
Adjusting the Signal Smoothing changes how quickly the signal line responds to changes in the MACD line.
7. Best Practices and Considerations
Multiple Confirmation:
Even if both indicators signal a trend change, consider confirming with additional analysis such as volume, price action, or other indicators.
Market Conditions:
These indicators tend to perform best in trending markets. In sideways or choppy conditions, you may experience more false alerts.
Backtesting:
Before applying the indicator in live trading, backtest your settings to ensure they suit your trading style and the market conditions.
Risk Management:
Always use proper risk management, including stop-loss orders and appropriate position sizing, as alerts may occasionally produce late or false signals.
Happy trading!
Volume Weighted SuperTrend | QuantumResearchQuantumResearch Volume Weighted Supertrend (VWST)
The Volume Adaptive Supertrend (VWST) is a dynamic trend-following tool that enhances traditional Supertrend calculations by incorporating volume-weighted market conditions.
This indicator adapts its trend signals based on volume-adjusted price action, allowing traders to refine their entries and exits with improved responsiveness. 🚀📊
1. Key Features
Volume-Weighted Adaptation: Uses various moving averages (VWMA, EMA, SMA, etc.) to adjust ATR bands based on market activity.
Customizable Trend Sensitivity: Adjusts ATR multipliers separately for bullish and bearish conditions.
Adaptive Supertrend Calculation: Dynamically recalculates trend direction based on volume-enhanced price movements.
Multi-Timeframe Compatibility: Can be applied across different assets and timeframes for versatile market analysis.
Visual Clarity & Alerts: Color-coded trend signals, shaded areas, and real-time alerts for trend shifts.
2. How It Works
A. Volume-Weighted Price Calculation
The indicator applies a user-selected moving average (EMA, VWMA, SMA, etc.) to price and volume data
This ensures that trend calculations are more reactive to strong volume surges and less influenced by low-liquidity fluctuations.
B. Adaptive ATR-Based Trend Filtering
ATR bands are dynamically adjusted based on volume-weighted price action.
Separate ATR multipliers for bullish and bearish conditions allow for refined sensitivity control.
The Supertrend line shifts dynamically to reflect these conditions.
C. Signal Generation
Bullish Trend: The price closes above the adaptive Supertrend line. ✅
Bearish Trend: The price closes below the adaptive Supertrend line. ❌
Long Entry: Triggered when trend direction switches from bearish to bullish.
Short Entry: Triggered when trend direction switches from bullish to bearish.
3. Visual Representation
A. Color-Coded Trend Signals
Green Trend Line: Indicates a bullish trend.
Red Trend Line: Indicates a bearish trend.
Gray Trend Line: Neutral phase.
B. Dynamic Background Fill
Shaded Green Areas: Confirmed uptrend zones.
Shaded Red Areas: Confirmed downtrend zones.
4. Customization & Parameters
ATR Length & Multipliers: Adjust trend sensitivity with separate multipliers for bullish and bearish phases.
Moving Average Type: Select from VWMA, EMA, SMA, HMA, WMA, DEMA, TEMA for volume-weighted calculations.
Volume Length: Modify how far back volume data is used to refine trend calculations.
Color Themes: Choose from 8 distinct color modes for clear visual representation.
5. Backtest & Market Applications
Backtest Summary :
The Volume Adaptive Supertrend (VWST) has been tested across multiple assets, including:
BTC/USD
ETH/USD
SOL/USD
📊 Key Observations:
Responsive Trend Detection: The volume-weighted adaptation helps minimize lag in trend shifts.
Versatile Across Market Conditions: Works well in both trending and consolidating phases with appropriate settings.
Customizable Risk Control: ATR multipliers can be adjusted to fine-tune signal sensitivity.
⚠️ Disclaimer: This indicator is designed to complement existing analysis techniques . Market conditions vary, and no tool can guarantee future performance. Always use proper risk management when trading.
6. Final Thoughts
The Volume Weighted Supertrend (VWST) enhances traditional Supertrend indicators by incorporating volume-adjusted trend detection.
Its dynamic ATR-based trend filtering ensures greater responsiveness to real market conditions.
Suitable for trend traders, breakout traders, and risk-conscious investors looking for volume-driven confirmations.
Use it alongside other confluences to build a robust trading system.
Important Reminder: No single indicator guarantees profitability. Always validate signals with additional market context. 📊
Intrabar Volume Distribution [BigBeluga]Intrabar Volume Distribution is an advanced volume and order flow indicator that visualizes the buy and sell volume distribution within each candlestick.
🔔 Before Use:
Turn off the background color of your candles for clear visibility.
Overlay the indicator on the top layout to ensure accurate alignment with the price chart.
🔵 Key Features:
Inside Bar Volume Visualization:
Each candlestick is divided into two columns:
Left column displays the sell % volume amount.
Right column displays the buy % volume amount.
Provides a clear representation of buyer-seller activity within individual bars.
Percentage Volume Labels:
Labels above each bar show the percentage share of sell and buy volume relative to the total (100%).
Quickly assess market sentiment and volume imbalances.
Point of Control (POC) Levels:
Orange dashed lines mark the POC inside each bar, indicating the price level with the highest traded volume.
Helps identify key liquidity zones within individual candlesticks.
Multi-Timeframe Volume Analysis:
The indicator automatically uses a timeframe 20-30 times lower than the current one to gather detailed volume data.
For each higher timeframe candle, it collects 20-30 bars of lower timeframe data for precise volume mapping.
Each bar is divided into 100 volume bins to capture detailed volume distribution across the price range.
Bins are filled based on the aggregated volume from the lower timeframe data.
Lookback Period:
Allows traders to select how many bars to display with delta and volume information.
The beginning of the selected lookback period is marked with a gray line and label for quick reference.
Indicator displays up to 80 bars back
🔵 Usage:
Order Flow Analysis: Monitor buy/sell volume distribution to spot potential reversals or continuations.
Liquidity Identification: Use POC levels to locate areas of strong market interest and potential support/resistance.
Volume Imbalance Detection: Pay attention to percentage labels for quick recognition of buyer or seller dominance.
Scalping & Intraday Trading: Ideal for traders seeking real-time insight into order flow and volume behavior.
Historical Analysis: Adjust the lookback period to analyze past price action and volume activity.
Intrabar Volume Distribution is a powerful tool for traders aiming to gain deeper insight into market sentiment through detailed volume analysis, allowing for more informed trading decisions based on real-time order flow dynamics.
Multi-Timeframe VWAP DashboardMulti-Timeframe VWAP Dashboard with Advanced Customization**
Unlock the power of **Volume-Weighted Average Price (VWAP)** across multiple timeframes with this highly customizable and feature-rich Pine Script. Designed for traders who demand precision and flexibility, this script provides a **comprehensive VWAP dashboard** that adapts to your trading style and strategy. Whether you're a day trader, swing trader, or long-term investor, this tool offers unparalleled insights into market trends and price levels.
---
### **Key Features:**
1. **Multi-Timeframe VWAP Calculation:**
- Calculate VWAP across **12-minute, 48-minute, 96-minute, 192-minute, daily, weekly, monthly, and even yearly timeframes**.
- Supports **custom timeframes** for tailored analysis.
2. **Price Source Selection:**
- Choose from multiple price sources for VWAP calculation, including **Open, High, Low, Close, HL2, HLC3, HLCC4, and All**.
- Optimize VWAP for **uptrends and downtrends** by selecting the most relevant price source.
3. **Customizable Labels:**
- Add **dynamic labels** to each VWAP line for quick reference.
- Customize label **colors, sizes, and offsets** to suit your chart setup.
- Display **price values** and **session types** (e.g., "12 Min", "Daily", "Weekly") directly on the chart.
4. **Advanced Session Detection:**
- Automatically detect new sessions for **intraday, daily, weekly, monthly, and yearly timeframes**.
- Ensures accurate VWAP calculations for each session.
5. **Plot Visibility Control:**
- Toggle the visibility of individual VWAP plots to **reduce clutter** and focus on the most relevant timeframes.
- Includes options for **short-term, medium-term, and long-term VWAPs**.
6. **Comprehensive Timeframe Coverage:**
- From **12-minute intervals** to **12-month intervals**, this script covers all major timeframes.
- Perfect for traders who analyze markets across multiple horizons.
7. **User-Friendly Inputs:**
- Intuitive input options for **timeframes, colors, labels, and offsets**.
- Easily customize the script to match your trading preferences.
8. **Dynamic Label Positioning:**
- Labels adjust automatically based on price movements and session changes.
- Choose from **multiple offset options** to position labels precisely.
9. **Miscellaneous Customization:**
- Adjust **text color, label size, and price display settings**.
- Enable or disable **price values** and **session type labels** for a cleaner chart.
---
### **Why Use This Script?**
- **Versatility:** Suitable for all trading styles, including scalping, day trading, swing trading, and long-term investing.
- **Precision:** Accurate VWAP calculations across multiple timeframes ensure you never miss key price levels.
- **Customization:** Tailor the script to your specific needs with a wide range of input options.
- **Clarity:** Dynamic labels and customizable plots make it easy to interpret market trends at a glance.
---
### **How It Works:**
1. **Select Your Price Source:**
- Choose the price source (e.g., Open, Close, HL2) for VWAP calculation based on your trading strategy.
2. **Choose Timeframes:**
- Define the timeframes for VWAP calculation, from intraday to yearly intervals.
3. **Customize Labels and Plots:**
- Enable or disable labels and plots for each timeframe.
- Adjust colors, sizes, and offsets to match your chart setup.
4. **Analyze Market Trends:**
- Use the VWAP lines and labels to identify **support/resistance levels**, **trend direction**, and **potential reversal points**.
5. **Adapt to Market Conditions:**
- Switch between timeframes and price sources to adapt to changing market conditions.
---
### **Ideal For:**
- **Day Traders:** Use short-term VWAPs (e.g., 12-minute, 48-minute) to identify intraday trends and key levels.
- **Swing Traders:** Leverage medium-term VWAPs (e.g., 96-minute, daily) to spot swing opportunities.
- **Long-Term Investors:** Analyze long-term VWAPs (e.g., weekly, monthly) to gauge overall market direction.
---
### **How to Get Started:**
1. Add the script to your TradingView chart.
2. Customize the inputs to match your trading preferences.
3. Analyze the VWAP lines and labels to make informed trading decisions.
---
### **Pro Tip:**
Combine this script with other technical indicators (e.g., moving averages, RSI) for a **holistic view** of the market. Use the VWAP lines as dynamic support/resistance levels to enhance your entry and exit strategies.
This script is a must-have tool for traders who value precision, flexibility, and clarity. Share it with your audience to help them elevate their trading game. Whether they're beginners or seasoned professionals, this **Multi-Timeframe VWAP Dashboard** will become an essential part of their toolkit.
Multi-Timeframe VWAP Master ProThe Multi-Timeframe VWAP Suite is a comprehensive and highly customizable indicator designed for traders who rely on Volume-Weighted Average Price (VWAP) across multiple timeframes and periods. This tool provides a complete suite of VWAP calculations, including daily, weekly, monthly, quarterly, yearly, and custom VWAPs, allowing traders to analyze price action and volume trends with precision. Whether you're a day trader, swing trader, or long-term investor, this indicator offers unparalleled flexibility and depth for your trading strategy.
Multi-Timeframe VWAPs:
Daily, Weekly, Monthly, Quarterly, and Yearly VWAPs: Track VWAP across various timeframes to identify key support and resistance levels.
Customizable Timeframes: Use the SMA timeframe input to adjust the period for moving averages and other calculations.
Previous Period VWAPs:
Previous Daily, Weekly, Monthly, and Quarterly VWAPs: Analyze historical VWAP levels to understand past price behavior and identify potential reversal zones.
Previous Year Quarterly VWAPs: Compare current price action to VWAP levels from specific quarters of the previous year.
Custom VWAPs:
Custom Start Date and Timeframe: Define your own VWAP periods by specifying a start date and timeframe, allowing for tailored analysis.
Dynamic Custom VWAP Calculation: Automatically calculates VWAP based on your custom inputs, ensuring flexibility for unique trading strategies.
Seasonal and Yearly VWAPs:
April, July, and October VWAPs: Analyze seasonal trends by tracking VWAP levels for specific months.
Yearly VWAP: Get a broader perspective on long-term price trends with the yearly VWAP.
SMA Integration:
SMA Overlay: Combine VWAP analysis with a Simple Moving Average (SMA) for additional confirmation of trends and reversals.
Customizable SMA Length and Timeframe: Adjust the SMA settings to match your trading style and preferences.
User-Friendly Customization:
Toggle Visibility and Labels: Easily enable or disable the display of specific VWAPs and their labels to keep your chart clean and focused.
Color Customization: Each VWAP line and label is color-coded for easy identification and can be customized to suit your preferences.
Dynamic Labeling:
Automatic Labels: Labels are dynamically placed on the last bar, providing clear and concise information about each VWAP level.
Customizable Label Text: Labels include detailed information, such as the timeframe or custom period, for quick reference.
Flexible Timeframe Detection:
Automatic Timeframe Detection: The indicator automatically detects new days, weeks, months, and quarters, ensuring accurate VWAP calculations.
Support for Intraday and Higher Timeframes: Works seamlessly on all chart timeframes, from 1-minute to monthly charts.
Previous Year Quarterly VWAPs:
Q1, Q2, Q3, Q4 VWAPs: Compare current price action to VWAP levels from specific quarters of the previous year.
User-Selectable Year: Choose the year for which you want to calculate previous quarterly VWAPs.
Persistent Monthly VWAPs:
Option to Persist Monthly VWAPs Year-Round: Keep monthly VWAP levels visible even after the month ends for ongoing analysis.
Comprehensive Analysis: Combines multiple VWAP timeframes and periods into a single tool, eliminating the need for multiple indicators.
Customizable and Flexible: Tailor the indicator to your specific trading strategy with customizable timeframes, periods, and settings.
Enhanced Decision-Making: Gain deeper insights into price action and volume trends across different timeframes, helping you make more informed trading decisions.
Clean and Organized Charts: Toggle visibility and labels to keep your chart clutter-free while still accessing all the information you need.
Ideal For:
Day Traders: Use daily and intraday VWAPs to identify intraday support and resistance levels.
Swing Traders: Analyze weekly and monthly VWAPs to spot medium-term trends and reversals.
Long-Term Investors: Leverage quarterly and yearly VWAPs to understand long-term price behavior and key levels.
Seasonal Traders: Track April, July, and October VWAPs to capitalize on seasonal trends.
The Multi-Timeframe VWAP Suite is a powerful and versatile tool for traders of all styles and timeframes. With its comprehensive suite of VWAP calculations, customizable settings, and user-friendly design, it provides everything you need to analyze price action and volume trends with precision and confidence. Whether you're looking to fine-tune your intraday strategy or gain a broader perspective on long-term trends, this indicator has you covered.