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.
Volume
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.
(Optimized) Volume Based Colored Bars Volume Based Colored Bars (VCB)
This indicator analyzes the relationship between price action and volume to provide visual cues for traders. It colors the price bars based on whether the bar's volume is high, medium, or low relative to the moving average of volume. Additionally, it distinguishes between bullish (price closed higher than it opened) and bearish (price closed lower than it opened) bars, offering a quick and intuitive way to assess market sentiment and activity.
Key Features:
Volume Classification:
High Volume: Volume is greater than 1.5 times the moving average.
Medium Volume: Volume is between 0.5 and 1.5 times the moving average.
Low Volume: Volume is less than 0.5 times the moving average.
Price Action Analysis:
Bullish Bars: Bars where the closing price is higher than the opening price.
Bearish Bars: Bars where the closing price is lower than the opening price.
Bar Colors:
Bearish High Volume: Dark red.
Bearish Medium Volume: Red.
Bearish Low Volume: Orange.
Bullish High Volume: Dark green.
Bullish Medium Volume: Lime green.
Bullish Low Volume: Aquamarine.
This indicator helps traders quickly identify when price movements are supported by significant volume, offering potential insights into market strength or weakness. Ideal for both novice and experienced traders looking for an edge in their analysis.
BTC Spot vs Perpetual CVD DivergenceThis indicator:
Data Sources:
Uses Binance BTC/USDT for spot market
Uses Binance BTC/USD perpetual (USD-M) for futures market
Both symbols should be available on TradingView
CVD Approximation:
Since true CVD requires order book data (not fully available in Pine Script), we approximate it by:
Multiplying volume by price direction (+1 for up bars, -1 for down bars)
Summing over the specified lookback period
Normalization:
Normalizes both CVD values to a -1 to 1 range for fair comparison
This accounts for different volume scales between spot and perpetual markets
Divergence Calculation:
Subtracts normalized perpetual CVD from spot CVD
Positive values indicate spot market is more bullish than perpetual
Negative values indicate perpetual market is more bullish than spot
Visualization:
Red line: Main divergence indicator
Green line: Normalized spot CVD
Blue line: Normalized perpetual CVD
Green background: Strong positive divergence (>0.5)
Red background: Strong negative divergence (<-0.5)
Gray dashed line at zero
Limitations:
This is an approximation since true CVD requires buy/sell volume separation, which isn't directly available
Results may vary depending on timeframe and lookback period
Assumes volume data reliability from both markets
Serum Oscillator [ST]Serum Oscillator is an advanced technical indicator. This indicator combines several techniques and algorithms to provide traders with a robust tool for analyzing and predicting market movements. The indicator is not just an oscillator, but also includes functionalities for detecting divergences, mining flow, custom alerts, and more. Below is a detailed description of its features, components, and functionalities.
Characteristics
1. Oscillator and Signal: the indicator has a moving line that acts as a signal to determine the state of the market, whether bullish or bearish. In addition, this moving line can be switched between different types for greater accuracy, allowing it to better suit the trader's style.
2. Modes: the indicator has three modes to adapt to the market. Fast, Normal and Slow. The user can choose the mode that best suits his strategy. Fast mode generates very early signals, perfect for getting ahead of the market; however, it can also generate a greater number of false crosses. Slow mode generates fewer signals, perfect for filtering range zones.
3. Overbought and Oversold Levels: the indicator generates signals between values 0 and 100, for this reason it can be speculated that values 70 and 30 are overbought and oversold levels respectively; however, these levels can vary according to the modes. For this reason we designed the dynamic bands.
4. Multi Timeframe: Can observe data from a different time frame than the current chart. You will be able to observe the state of the oscillator and the direction.
5. Trend Catcher: tool to detect the market trend according to the indicator. Ideal for filtering false crossovers and trading in favor of the trend.
6. Smart Flow: Money flow optimized with AI to detect the overall money flow. Ideal for detecting trends. Additionally, you will be able to visualize the convergences between smart flow and the oscillator to operate in favor of the price trend. You can also activate thresholds, to detect when there is really a large monetary flow.
7. Divergences: Real-time detection of divergences to identify possible reversal zones. The user can adjust the sensitivity.
8. Alerts: Programmable alerts to automate the detection of various price conditions according to the indicator.
> This indicator is a comprehensive technical tool that provides traders with multiple capabilities to analyze market trends and reversals. Its combination of different types of smoothing and adaptive functions, along with the detection of divergences, trend lines, and custom alerts, makes it a powerful and versatile indicator for trading decision-making. The customization of its parameters and the depth of its calculations offer users a significant advantage in interpreting market data, facilitating more precise understanding and timely action in their trading operations.
Power Play Signal Indicator [Masky18]Power Play Signal Indicator
The Power Play Signal Indicator is a sophisticated custom trading strategy designed to identify high-probability breakout and breakdown opportunities by combining consolidation detection, trend alignment, volume analysis, and relative strength ranking. Unlike simple mashups of existing indicators, this script integrates multiple technical concepts into a cohesive strategy that helps traders capitalize on market momentum with precision.
What Makes This Indicator Unique?
The PowerPlay Signal Indicator is not just a combination of existing indicators; it is a custom-built strategy that uses original logic to filter out low-probability setups and focus on high-quality trading opportunities. Here’s how it works:
Consolidation Detection:
The script identifies consolidation zones by analyzing price action over a user-defined period (default: 6 bars). It calculates the high, low, and midpoint of the consolidation range and ensures the price stays within a specified percentage range (default: 13%).
Consolidations are classified as Tight, Loose, or Okay, helping traders gauge the strength of the potential breakout or breakdown.
Breakout & Breakdown Logic:
Breakouts and breakdowns are confirmed using a combination of:
Price Action: The script checks if the price closes above the consolidation high (breakout) or below the consolidation low (breakdown).
Volume Analysis: A significant volume spike (default: 20% increase) is required to confirm the move.
MACD & Moving Averages: The script uses MACD and moving averages (50-day and 200-day) to ensure the breakout/breakdown aligns with the prevailing trend.
Trend Alignment:
The script ensures trades are aligned with the long-term trend by using:
50-day SMA and 200-day SMA to confirm uptrends or downtrends.
150-day SMA as an additional filter to ensure the trend is strong.
52-week high/low conditions to ensure the price is in a favorable position relative to its historical range.
Relative Strength Ranking:
The script compares the asset’s performance against a benchmark asset (e.g., SPY) to ensure it is outperforming the market. This is done using a customizable Relative Strength (RS) Threshold (default: 70).
Golden Candle Signals:
For high-probability setups, the script identifies Golden Candles—strong breakout or breakdown candles with:
Large price movement (default: 7.5% to 12.5% candle size).
High volume (default: 2x the average consolidation volume).
Alignment with MACD and moving averages.
Risk Management:
The script provides stop loss, trailing stop, and take profit levels based on:
ATR (Average True Range): Dynamic stop loss levels are calculated using ATR (default: 14-period ATR with a 2x multiplier).
Trailing Stop Percentage: User-defined trailing stop (default: 2%).
Take Profit Percentage: User-defined take profit (default: 5%).
Performance Tracking:
The script includes a Performance Table that tracks:
Total breakouts and breakdowns.
Successful and failed trades.
Win rates for breakouts and breakdowns.
Golden candle signals.
How Does It Work?
The PowerPlay Signal Indicator combines the following key components to generate signals:
Consolidation Detection:
The script calculates the high, low, and midpoint of the consolidation range over a user-defined period.
It ensures the price stays within a specified percentage range (default: 13%) to confirm consolidation.
Breakout/Breakdown Confirmation:
A breakout is confirmed when:
The price closes above the consolidation high.
Volume increases by at least 20%.
MACD is positive and above the signal line.
The price is above the 50-day and 200-day SMAs.
A breakdown is confirmed when:
The price closes below the consolidation low.
Volume increases by at least 20%.
MACD is negative and below the signal line.
The price is below the 50-day and 200-day SMAs.
Golden Candle Signals:
Golden Candles are identified when:
The candle size is between 7.5% and 12.5%.
Volume is at least 2x the average consolidation volume.
The candle aligns with the prevailing trend and MACD.
Risk Management:
Stop loss levels are calculated using ATR (default: 14-period ATR with a 2x multiplier).
Trailing stop and take profit levels are based on user-defined percentages.
How to Use the Indicator
Input Parameters:
Consolidation Periods: Set the number of bars to analyze for consolidation (default: 6).
Maximum Consolidation Range: Define the maximum percentage range for consolidation (default: 13%).
Stop Loss Factor: Adjust the stop loss multiplier based on the midpoint of the consolidation range (default: 0.985).
RS Threshold: Set the relative strength threshold for trend alignment (default: 70).
Comparison Asset: Enable comparison with a benchmark asset (e.g., SPY) to ensure the asset is outperforming the market.
Trailing Stop Percentage: Set the trailing stop percentage (default: 2%).
Take Profit Percentage: Set the take profit percentage (default: 5%).
Time Exit Bars: Define the maximum number of bars to hold a trade (default: 10).
Interpreting Signals:
Breakout Signal: A green label ("BO") appears when a breakout is detected.
Breakdown Signal: A red label ("BD") appears when a breakdown is detected.
Golden Candle Signal: A gold medal icon (🥇) appears for high-probability setups.
Performance Table:
The performance table displays the number of trades, successful trades, failed trades, and win rates for breakouts and breakdowns.
Alerts:
Enable alerts for breakouts, breakdowns, and golden candles to stay informed about potential trading opportunities.
Why Choose the PowerPlay Signal Indicator?
Original Logic: Combines consolidation detection, trend alignment, volume analysis, and relative strength ranking into a unique strategy.
High-Probability Signals: Focuses on high-quality setups with strong volume and trend alignment.
Risk Management: Built-in stop loss, trailing stop, and take profit options help you manage risk effectively.
Performance Tracking: Tracks trade outcomes and win rates to help you refine your strategy.
Customizable: Fully adjustable inputs allow you to adapt the indicator to your trading style and market conditions.
Orderblocks | iSolani
Revealing Institutional Footprints: The iSolani Volume-Powered Order Block System
Where Smart Money Leaves Its Mark – Automated Zone Detection for Discretionary Traders
Core Methodology
Pressure-Weighted Volume Analysis
Calculates directional commitment using candle position:
Buying Pressure = Total Volume × (Closing Price – Low) / (High – Low)
Selling Pressure = Total Volume × (High – Closing Price) / (High – Low)
Normalizes values against 31-period EMAs to filter retail noise
Adaptive Block Triggering
Identifies significant zones when:
Absolute Buy/Sell Difference > 4× SMA of Historical Differences (default)
Price closes bullishly (green block) or bearishly (red block)
Self-Maintaining Visualization
Blocks auto-extend rightward until price breaches critical level
Invalidated zones removed in real-time via array management
Technical Innovation
Dynamic Threshold Adjustment
Multiplier parameter (default 4) automatically scales with market volatility
Institutional-Grade Metrics
Blocks display:
Volume disparity in absolute terms
Percentage deviation from 33-period average
Directional bias through color-coding
Efficient Memory Handling
O(n) complexity cleanup routine prevents chart lag
System Workflow
Calculates real-time buy/sell pressure ratios
Compares to historical average (31-period default)
Generates semi-transparent zones (85% opacity) at spike locations
Monitors price interaction with block boundaries
Automatically retracts invalid zones
Standard Configuration
Sensitivity : 4× multiplier (ideal for 15m-4h charts)
Visuals : Red/green blocks with white text labels
Duration : 50-bar default extension
Volume Baseline : 33-period EMA filter
Boundary Check : Close beyond block high/low triggers deletion
This system transforms raw market data into a institutional roadmap – not by predicting turns, but by revealing where concentrated volume makes turns statistically probable. The color-coded blocks serve as persistent yet adaptive markers of where professional liquidity resides.
Value Area - Day Trading SuiteValue Area Day Trading Suite
A professional-grade indicator designed specifically for day traders who utilize Volume Profile and Auction Market Theory. This suite provides tracking of previous day's value areas, helping traders identify how current price interacts with these established institutional levels.
It tracks how much time has spent within the value area without Level to Help Measure Acceptance
Key Features
- Previous Day's Value Area tracking (VAH, POC, VAL)
- Precise time-in-value-area measurement
- Cash session integration with major market timezones
- Value Area acceptance alerts
Trading Applications
Perfect for day traders who:
- Trade using previous day's Volume Profile levels
- Focus on institutional price acceptance/rejection
- Trade market structure using confirmed value areas
- Want to automate their value area analysis
- Trade during specific market sessions
Value Area Analysis
The indicator tracks how long price stays within the previous day's value area, helping traders:
- Identify Potential Support / Resistance Levels
- Spot acceptance of established levels
- Find high-probability trading opportunities
- Time their entries and exits more effectively
Professional Tools
- Customizable cash session times for different markets
- Multiple timezone support
- Flexible dashboard positioning
- Clean, professional appearance with adjustable colors
- Alert system for value area acceptance
Built for day traders who utilize value areas
RVOL Color-Coded VolumeRVOL Color-Coded Volume Indicator
This tool visualizes volume intensity through color-coded bars in a separate panel, making it easy to identify significant market moves driven by unusual volume.
Key Features:
- Displays volume bars with varying colors and intensities based on RVOL (Relative Volume)
- Shows a customizable moving average line for volume reference
- Includes alert conditions for different RVOL thresholds
Color System:
Blue shades (Bullish):
- Light: Normal volume (RVOL < 1)
- Medium: Above average volume
- Dark: Heavy buying volume
- Solid: Extreme volume surge
Pink shades (Bearish):
- Light: Normal volume (RVOL < 1)
- Medium: Increased selling
- Dark: Heavy selling
- Solid: Extreme selling pressure
Gray shades (Neutral):
- Used when opening and closing prices are equal
- Intensity varies with RVOL level
Additional Features:
- Dotted threshold lines for easy reference
- Background highlighting for extreme volume events
- Data window shows exact RVOL values
- Multiple alert conditions for volume thresholds
The indicator helps traders spot potential trend changes and momentum shifts by highlighting unusual volume patterns without interfering with price analysis.
WhaleTrackBITGET:BTCUSDT.P
WhaleTrack – Volume Heatmap to Uncover Institutional Trading Activity
Overview
WhaleTrack is a volume-based heatmap indicator designed to reveal areas of high institutional trading activity. The indicator helps traders identify hidden support and resistance levels, analyze trend sustainability, and optimize stop-loss placements by displaying where significant market participants (whales) have historically traded in large volumes.
Institutions and large traders often push price into areas of historical liquidity to trigger retail stop-losses and fill their own large orders at optimal prices. WhaleTrack visualizes these critical areas, allowing traders to anticipate future price movements based on past institutional behavior.
How WhaleTrack Works
WhaleTrack analyzes historical trading volume and calculates a normalized volume intensity relative to the moving average (SMA). This data is then mapped onto a heatmap that highlights key liquidity zones.
1. Volume Normalization & SMA-Based Calculation
The script calculates the ratio of current volume to its SMA-based average.
Zones with significantly high volume spikes are identified as key liquidity areas where large traders may have accumulated or distributed assets.
The volume is quantized into different levels, ranging from Low to Extreme, creating a clear heatmap gradient.
2. Why Do Whales Manipulate Liquidity?
Large traders (whales) need liquidity to execute their orders.
They push price into historical high-volume areas to trigger stop-losses and force retail traders into selling.
This behavior allows them to accumulate at lower prices or distribute at higher prices before a major move.
Whale zones often act as support/resistance because institutions tend to protect their previous accumulation or distribution levels.
3. Heatmap Color Model & Zone Classification
WhaleTrack assigns volume intensity levels based on historical market participation:
Low → Minimal volume, weak interest
Low-Mid → Slightly increased volume
Mid → Standard trading activity, no major anomalies
Mid-High → Significant increase in volume, possible whale activity
High → Strong liquidity pool, institutional interest
Extreme → Highly concentrated volume, key reversal area
By observing these zones, traders can determine whether a price level is likely to hold as support or resistance , or if a breakout has the strength to sustain.
Trading Applications of WhaleTrack
WhaleTrack can be used to identify trade setups based on liquidity behavior:
1. Identifying Hidden Reversal Points (Support & Resistance)
Large Whale Zones below price → Likely strong support.
Large Whale Zones above price → Likely strong resistance.
These zones often lead to reversals, as large traders defend their previous positions.
2. Evaluating Trend Sustainability
A strong uptrend should leave multiple high-volume zones behind.
If no new high-volume zones form, the trend may be unsustainable.
High volume clusters in trend direction? → Likely trend continuation.
3. Optimizing Stop-Loss Placement
Placing stops inside whale zones increases stop-out risk.
Setting stops below whale buy zones protects against premature liquidation.
Stops above whale sell zones help avoid fake breakouts.
Customization & Settings
WhaleTrack is designed with flexibility in mind, offering multiple customization options:
1. Layout & Color Models
WhaleTrack Default – optimized for whale volume tracking
Model 1 & Model 2 – alternative heatmap color schemes
Contrast Mode – high visibility
White-Black & Black-White – for different chart backgrounds
Custom 1 & Custom 2 – user-defined color configurations
2. Advanced Options
Draw Full Candle Boxes – display full candle height or a partial range
Legend Visibility & Positioning – control placement of the heatmap legend
Exponential Color Model – choose between logarithmic and linear volume representation
Max Transparency Settings – adjust visibility of older zones
Number of Heatmap Colors – set the gradient sensitivity
3. Data Optimization Settings
Lookback Period – define how many bars are analyzed for volume normalization
Max Box Display – limit the number of displayed volume zones
Data Saver Mode – increase range at the expense of detail
Minimum Volume Threshold – filter out insignificant volume clusters
Disclaimer
This indicator is for educational and informational purposes only. It does not provide financial advice or guarantee future performance. Trading is risky—conduct your own research before making any investment decisions.
RG - Volume Spike DetectorRG - Volume Spike Detector is a comprehensive volume analysis tool designed to help traders identify significant volume activity across different tickers on TradingView. This indicator not only detects overall volume spikes and percentage changes but also approximates and analyzes buying and selling volume separately, providing valuable insights into market dynamics. With customizable parameters, visual cues, and built-in alerts, it's suitable for traders of all levels looking to monitor volume-based market movements.
Features
Volume Spike Detection:
Identifies when total volume exceeds a user-defined multiple of its moving average (default: 2x).
Separate detection for buying and selling volume spikes based on their respective moving averages.
Volume Change Analysis:
Calculates and displays the percentage change in total volume from the previous bar.
Highlights significant increases (>50%) or decreases (<-50%) with alert options.
Buy/Sell Volume Approximation:
Estimates buying and selling volume using price movement and range:
Up bars: Buying volume ≈ volume * (close - low)/(high - low)
Down bars: Selling volume ≈ volume * (close - low)/(high - low)
Handles edge cases (e.g., high = low) to ensure accurate calculations.
Ideal For
Day traders monitoring sudden volume surges
Swing traders analyzing volume trends
Market analysts studying buying vs. selling pressure
This indicator empowers traders with a robust tool to track volume dynamics, offering both visual clarity and actionable alerts for informed decision-making.
Put/Call RatioPut/Call Ratio Indicator
This indicator visualizes the Put/Call Ratio for various market symbols, helping traders assess market sentiment and potential reversals. It offers a dropdown menu to select from a range of Put/Call Ratios, including broad equities (CBOE), major indices (SPX, QQQ, IWM, VIX), and individual stocks (TSLA, GOOG, META, AMZN, MSFT, INTC).
The indicator plots the Put/Call Ratio with adjustable moving averages and standard deviation bands to highlight overbought or oversold conditions. A short-term moving average (default: 10 periods) is displayed with trend-based coloring, while longer-term moving averages (defaults: 30 and 200 periods) are calculated but hidden by default. Bands at 1, 1.5, and 2 standard deviations provide context for extreme readings.
Key Overbought/Oversold Signals:
Short-Term Extremes: The 10-day moving average moves beyond 1 standard deviation from the 200-day moving average, signaling potential overbought (above) or oversold (below) conditions. This will be highlighted by red or green background color.
Ratio Extremes: The Put/Call Ratio line itself crosses outside 2 standard deviations from the 200-day moving average, indicating stronger overbought or oversold zones.
Conditional coloring of the ratio line reflects its position relative to the bands, and background shading highlights when the short-term moving average crosses key levels.
Key Features:
Selectable Put/Call Ratio symbols.
Trend-colored moving averages.
Standard deviation bands for volatility analysis.
Dynamic line and background coloring for quick insights.
Usage:
Use this indicator to gauge market sentiment—high ratios may suggest bearish sentiment or oversold conditions, while low ratios may indicate bullish sentiment or overbought conditions. Combine with price action or other tools for confirmation.
CCI, RSI, Volume & ATR Buy Signal - Go with the herd!📌 CCI, RSI, Volume & ATR Buy Signal Indicator
🚀 Identify Smart Entry Opportunities with a Multi-Confirmation Approach
This indicator combines CCI (Commodity Channel Index), RSI (Relative Strength Index), Volume, and ATR (Average True Range) to provide a reliable buy signal by ensuring the market conditions are favorable before entering a trade.
📊 How Does It Work?
This script evaluates market momentum, volatility, and trading volume to generate a clear entry decision:
✅ (Green Check) → Favorable entry conditions
❌ (Red Cross) → Not an ideal entry point
The indicator displays all the relevant metrics in one compact label, positioned above the most recent candle for quick and easy reference.
📈 Components of the Indicator
Each metric is visually represented using traffic light colors (🟢 Green, 🟡 Yellow, 🔴 Red) for intuitive decision-making:
1️⃣ CCI (Commodity Channel Index) – Momentum Strength
🟢 Strong: Market momentum is high (CCI above the entry threshold).
🟡 Moderate: Market is showing some movement, but not strong enough.
🔴 Weak: No significant momentum (CCI is low).
2️⃣ RSI (Relative Strength Index) – Trend Confirmation
If RSI is above the user-defined threshold, the momentum is considered positive for entry.
3️⃣ Volume – Market Participation
🟢 High: Trading volume is above the moving average, confirming strong participation.
🟡 Moderate: Volume is near its average, signaling indecisiveness.
🔴 Low: Weak participation, indicating potential false signals.
4️⃣ ATR (Average True Range) – Volatility Indicator
🟢 High: The market is moving with sufficient volatility for a strong trade setup.
🟡 Moderate: Acceptable volatility but with some caution.
🔴 Low: Market is slow, and price movements may be weak.
🔧 Customizable Settings
You can fine-tune the indicator to match your trading strategy by adjusting:
CCI Threshold for Entry (default: 100)
RSI Threshold for Entry (default: 50)
Volume Multiplier for Confirmation (default: 1.0)
ATR Multiplier for Confirmation (default: 1.0)
🖥️ How to Use
1️⃣ Add the indicator to your TradingView chart.
2️⃣ Look for the label above the most recent candle.
Example output:
✅ Vola: 🟢 Mom: 🟢 Volu: 🟢 → Strong confirmation for entry.
❌ Vola: 🟡 Mom: 🔴 Volu: 🟡 → Entry conditions are not favorable.
3️⃣ Only enter trades when ✅ appears and all or most indicators are green.
4️⃣ Avoid trading when ❌ is displayed or when multiple indicators are yellow/red.
⚡ Why Use This Indicator?
✅ Multi-Factor Confirmation – Ensures you enter only high-probability setups.
✅ Customizable for Any Strategy – Adjust thresholds based on your risk tolerance.
✅ Traffic Light System – Easily interpret trade conditions at a glance.
✅ Real-Time Updates – The label dynamically updates based on the latest price action.
📌 Final Notes
This indicator is not a standalone trading system but a powerful confirmation tool. Always use proper risk management and combine it with price action analysis for best results. 📊📈