SuperTrend Confluence Signals [AlgoAlpha]OVERVIEW
This script enhances the classic SuperTrend indicator by integrating volume dynamics, retracement detection, and a multi-asset trend matrix—alongside an automatic mitigation-level drawing system. It's designed for traders who want to see not just trend direction, but the confluence of trend strength, volatility-adjusted retracements, and capital flow through volume pressure. It visually maps key transitions in market structure while offering a clean, color-coded overview of multiple symbols and timeframes in a single chart.
CONCEPTS
At the core is the traditional SuperTrend , which determines directional bias using Average True Range (ATR) with a volatility multiplier. This script overlays that with a dynamic volume histogram that scales relative to recent volume standard deviation, coloring volume bursts within the trend. Retracement signals are triggered when price pulls back toward the SuperTrend level but respects it—quantified through normalized distance sensitivity. On top of that, the indicator automatically draws and manages horizontal support/resistance zones that appear at key trend shifts. These levels persist and are cleared based on configurable rules such as wick/body sweeps or consecutive candle closes. A multi-asset, multi-timeframe table then gives an instant snapshot of trend status across five user-defined symbols and timeframes.
FEATURES
SuperTrend : Configurable ATR length and multiplier for flexible trend sensitivity.
Volumetric Histogram : Gradient-filled candles anchored to SuperTrend bands, scaled by relative volume to indicate activity intensity during trends.
Retracement Arrows : Signals printed when price nears the SuperTrend level without breaking it, allowing identification of high-probability continuation zones.
Volume TP Markers : Diamond markers flag high-volume events, contextualizing price moves with liquidity bursts.
Automatic Structure Levels : Draws clean horizontal lines at significant trend transitions, with optional volatility-based band fills. These levels self-update and clear based on price interaction logic.
Trend Table : Displays trend direction (▲/▼) across five assets and five timeframes. Each cell is colored according to trend bias, providing a compact overview for multi-market confluence.
USAGE
Start by loading the indicator on your main chart and adjusting the ATR Length and Multiplier to match your strategy timeframe. Use lower values for scalping and higher values for swing trading. The histogram bars will appear as colored candles above or below the SuperTrend level, indicating how strong volume is within that trend. Arrow signals suggest minor pullbacks within the trend, which can act as entry opportunities. The level system will automatically plot key price zones during trend flips; if "Body" is selected for mitigation, price must close through the level to invalidate it. If "Wick" is chosen, a single wick breach is enough. Adjust expiry and rejection settings to fine-tune how long levels stay on chart. Finally, enable the Multi-Asset Table to view live trend signals across popular symbols like AAPL or NVDA in different timeframes, helping spot macro-to-micro alignment for higher-confidence trades.
成交量
Institutional Volume Footprint ProOVERVIEW
The Institutional Volume Footprint Pro is a comprehensive volume analysis indicator designed to identify institutional trading activity and significant volume patterns. Based on the proven Pocket Pivot Volume methodology by Chris Kacher and Gil Morales, this indicator has been enhanced with multiple additional volume analysis techniques to provide traders with a complete picture of smart money movements.
KEY FEATURES
1. Pocket Pivot Volume (PPV) Detection
- Identifies bullish volume patterns where current volume exceeds the highest down-day volume of the past 10 days
- Blue volume bars with "PPV" labels mark potential institutional accumulation
- Customizable lookback period (5-20 days)
2. Pivot Negative Volume (PNV) Detection
- Spots bearish volume patterns where selling volume exceeds recent up-day volumes
- Orange bars with "PNV" labels indicate potential institutional distribution
- Early warning system for trend reversals
3. Advanced Institutional Patterns
- Accumulation Detection (Aqua): High volume with narrow price range - classic stealth accumulation
- Churning/Distribution (Yellow): Heavy volume with minimal price progress - potential topping pattern
- Volume Dry-up (Purple): Extremely low volume periods that often precede significant moves
- Volume Climax (Fuchsia): Extreme volume spikes signaling potential exhaustion
4. Real-time Analytics Dashboard
- Relative Volume: Current volume compared to 10-day average
- Volume vs MA: Multiple of current volume to selected moving average
- Price Range Analysis: Narrow/Normal/Wide range classification
5. Accumulation/Distribution Trend
- Background coloring shows overall money flow direction
- Green tint: Net accumulation phase
- Red tint: Net distribution phase
HOW TO USE
Entry Signals:
- PPV (Blue): Consider long positions when price breaks above resistance with PPV confirmation
- Accumulation (Aqua): Watch for breakouts following multiple accumulation days
- Volume Dry-up (Purple): Prepare for potential explosive moves
Exit/Warning Signals:
- PNV (Orange): Consider taking profits or tightening stops
- Churning (Yellow): Distribution may be occurring despite stable prices
- Volume Climax (Fuchsia): Potential reversal point - extreme caution advised
CUSTOMIZATION OPTIONS
Analysis Parameters:
- PPV Lookback Period (5-20 days)
- Volume MA Length & Type (SMA/EMA/WMA)
- Relative Volume Threshold
- Climax Volume Multiplier
Visual Controls:
- Toggle Info Table display
- Enable/disable individual label types (PPV, PNV, ACC)
- Show/hide volume moving averages
- Control A/D trend background
- Customize threshold lines
BUILT-IN ALERTS
- Pocket Pivot Volume detected
- Pivot Negative Volume detected
- Institutional Accumulation pattern
- Volume Climax warning
- Volume Dry-up alert
PRO TIPS
1. Combine with Price Action: Volume confirms price - look for PPV at breakouts and PNV at breakdowns
2. Multiple Timeframes: Check daily and weekly charts for confluence
3. Relative Volume Matters: Patterns are stronger when relative volume > 1.5x
4. Watch for Divergences: Price up with decreasing volume = weakness
COLOR LEGEND
- Blue: Pocket Pivot Volume (Bullish)
- Orange: Pivot Negative Volume (Bearish)
- Aqua: Institutional Accumulation
- Yellow: Churning/Distribution
- Purple: Volume Dry-up
- Fuchsia: Volume Climax
- Green: Above-average up volume
- Red: Above-average down volume
- Gray: Below-average volume
EDUCATIONAL BACKGROUND
This indicator implements concepts from:
- "Trade Like an O'Neil Disciple" by Gil Morales & Chris Kacher
- William O'Neil's volume analysis principles
- Richard Wyckoff's accumulation/distribution methodology
Happy Trading! May the volume be with you!
Volume Profile (PRO) [ActiveQuants]The Volume Profile (PRO) indicator is an advanced analytical tool designed to provide traders with a deep understanding of market dynamics by displaying trading activity across different price levels over a specified period. By meticulously plotting volume distribution , this indicator helps identify significant price zones, such as areas of high acceptance ( High Volume Nodes - HVNs ), rejection ( Low Volume Nodes - LVNs ), Volume Peaks Clusters , Volume Troughs Clusters , the Point of Control (POC) , and the Value Area (VA) . This insight is crucial for spotting potential support/resistance levels, assessing market sentiment, and making more informed trading decisions.
This indicator operates on the principle that price levels with higher traded volume hold greater significance, often acting as pivotal points for future price movements. Conversely, areas with low volume typically indicate less agreement on price, leading to quicker price transitions. The Volume Profile (PRO) offers extensive customization to tailor the analysis to your specific needs and trading style.
█ KEY FEATURES
Comprehensive Volume Analysis: Visualize volume distribution horizontally, revealing key price levels based on actual traded volume.
Dynamic Profile Calculation: Uses a rolling lookback period to keep the profile relevant to recent price action.
Point of Control (POC): Automatically identifies and plots the price level with the highest traded volume within the profile period. Available as a "Regular" (fixed for the current profile) or "Developing" line that tracks its evolution bar-by-bar.
Value Area (VA): Highlights the price range where a specified percentage (typically 70%) of the total volume was traded. Also available as "Regular" or "Developing" VAH (Value Area High) and VAL (Value Area Low) lines.
High and Low Volume Nodes (HVNs & LVNs): Option to automatically detect and highlight a specified number of the highest volume concentration zones (HVNs) and lowest volume zones (LVNs) within the profile. These are crucial for identifying support/resistance and areas of potential quick price movement.
Volume Peaks and Troughs Detection: Identify statistically significant high-volume (Peaks) and low-volume (Troughs) rows relative to their neighbors, either as single rows or clusters. These can pinpoint precise levels of interest.
Multiple Volume Display Types: Choose to display volume as:
- Up/Down: Shows buying and selling volume side-by-side for each row.
- Total: Shows the aggregate volume for each row.
- Delta: Shows the difference between buying and selling volume for each row, highlighting imbalances.
Extensive Customization: Fine-tune lookback period, number of rows, profile width, horizontal placement, Value Area percentage, colors for all elements, and specific parameters for node/peak/trough detection.
Visual Enhancements:
- Optional gradient colors for volume bars.
- Display volume figures directly on rows.
- Background shading for the Value Area and the entire Profile range.
- Price labels for POC, VAH, VAL, Profile High, and Profile Low.
Integrated Alert System: Pre-built alert conditions for critical volume profile events. (See section on "█ SETTING UP ALERTS " for more details).
█ USER INPUTS
The settings panel is organized into distinct sections:
- Calculation Settings:
Lookback: Number of most recent bars for profile calculation.
Number of Rows: Resolution of the volume profile.
Profile Width: Relative horizontal length of the volume bars.
Horizontal Offset: Horizontal positioning of the profile.
Value Area (%): Percentage of volume to include in the Value Area.
Volume: Display type ("Up/Down", "Total", "Delta").
Profile Placement: "Right" or "Left" side of the chart.
- Appearance:
Volume Profile On/Off: Toggle visibility of the entire profile.
Rows Border Width & Color: Customize the outline of volume rows.
Gradient Colors: Enable/disable gradient coloring for volume bars.
Row Volume: Display numerical volume on each row.
VAH (Value Area High): Display type ("None", "Regular", "Developing"), Color, Price Label, Line Width.
VAL (Value Area Low): Display type ("None", "Regular", "Developing"), Color, Price Label, Line Width.
Profile High Price Label & Color: Toggle and customize.
Profile Low Price Label & Color: Toggle and customize.
Value Area Up/Down Color: Colors for up/down volume within VA.
Profile Up/Down Color: Colors for up/down volume outside VA.
Total Volume Color: For "Total" volume display type.
Delta Volume Positive/Negative Color: For "Delta" volume display type.
POC (Point of Control): Display type ("None", "Regular", "Developing"), Color, Line Width, Price Label.
Value Area Background & Color: Enable and customize VA background shading.
Profile Background & Color: Enable and customize profile range background shading.
Volume Nodes:
Highest Volume Nodes & Color: Number of HVNs to highlight and their color.
Lowest Volume Nodes & Color: Number of LVNs to highlight and their color.
Volume Peaks: Detection type ("None", "Single Row", "Cluster"), Color.
Compared Neighbors (Peaks): Number of neighboring rows to compare against for peak detection.
Minimum Peak Ratio (Peaks): Volume ratio required for a row to be considered a peak.
Volume Troughs: Detection type ("None", "Single Row", "Cluster"), Color.
Compared Neighbors (Troughs): Number of neighboring rows to compare against for trough detection.
Minimum Trough Ratio (Troughs): Volume ratio required for a row to be considered a trough.
█ SETTING UP ALERTS
The Volume Profile (PRO) indicator comes with a comprehensive set of pre-configured alert conditions to notify you of key market events related to volume structure. To set up an alert:
Click the " Alert " button (clock icon) on TradingView's right-hand toolbar or top panel.
In the " Condition " dropdown, select " Volume Profile (PRO) ".
A second dropdown will appear, allowing you to choose from the following specific alert conditions built into the script:
- POC Price Change: Triggers when the Point of Control price level changes.
- POC Crossover: Triggers when the closing price crosses over the POC line and is now above it.
- POC Crossunder: Triggers when the closing price crosses under the POC line and is now below it.
- Close Inside Value Area: Triggers when the closing price enters the Value Area.
- Close Outside Value Area: Triggers when the closing price exits the Value Area.
- Close Inside High Volume Node: Triggers when the closing price enters a detected High Volume Node.
- Close Inside Low Volume Node: Triggers when the closing price enters a detected Low Volume Node.
- Close Inside Volume Peak: Triggers when the closing price enters a detected Volume Peak row.
- Close Inside Volume Peak Cluster: Triggers when the closing price enters the area of a Volume Peak cluster.
- Close Inside Volume Trough: Triggers when the closing price enters a detected Volume Trough row.
- Close Inside Volume Trough Cluster: Triggers when the closing price enters the area of a Volume Trough cluster.
Choose your preferred " Trigger " option:
- " Only Once ": The alert triggers the first time the condition is met.
- " Once Per Bar Close ": ( Recommended for most profile signals ) The alert triggers only after the current bar closes if the condition was true on that closed bar. This ensures signals are based on confirmed price action.
Customize the alert name, message, and notification preferences.
Click " Create ".
█ STRATEGY EXAMPLES
The following examples are for illustrative purposes only to demonstrate how the Volume Profile (PRO) can be used. They are not financial advice. Always conduct thorough backtesting and research.
1. POC as Dynamic Support/Resistance
Goal: Identify potential bounces or rejections from the Point of Control.
Setup: Enable "POC Line" (Regular or Developing) and observe price interaction.
Entry (Long):
- Price approaches the POC from above and shows signs of holding (e.g., bullish candlestick patterns, deceleration).
- Enter on confirmation of support at the POC.
Entry (Short):
- Price approaches the POC from below and shows signs of rejection (e.g., bearish candlestick patterns).
- Enter on confirmation of resistance at the POC.
Management: Stop-loss beyond the recent swing pivot or the POC itself after a confirmed break. Target the next significant volume node (HVN/LVN) or Value Area boundary.
2. Trading Low Volume Nodes (LVNs) as "Vacuum Zones"
Goal: Capitalize on rapid price movement through LVNs and their potential to become support/resistance once traversed.
Setup: Enable "Lowest Volume Nodes" to identify LVNs.
Entry (Long):
- Price breaks decisively above an LVN.
- Look for a retest of the top of the LVN as support. Enter long on confirmation.
Entry (Short):
- Price breaks decisively below an LVN.
- Look for a retest of the bottom of the LVN as resistance. Enter short on confirmation.
Concept: Price is expected to move quickly through LVNs (volume vacuum). Once price has passed through an LVN, that area of prior low acceptance can act as a new support/resistance zone.
Management: Stop-loss beyond the retested LVN. Target the next HVN or significant price level.
█ CONCLUSION
The Volume Profile (PRO) indicator offers a sophisticated and highly customizable approach to volume analysis. By providing clear visualizations of POC, Value Area, HVNs, LVNs, and Volume Peaks/Troughs, along with integrated alerts and developing levels, this tool empowers traders to identify critical price zones, understand market structure, and develop more nuanced trading strategies. Whether you're looking for precise entry points, areas of support and resistance, or confirmation of market sentiment, this Volume Profile indicator is an invaluable addition to your technical analysis toolkit.
█ IMPORTANT NOTES
⚠ Lookback vs. Calculated Bars Relationship: The value set in the " Lookback " input ( Calculation Settings ) must be less than half of the number of bars the indicator is set to calculate on your chart (referred to as " Calculated bars " in the script, typically controlled by TradingView's historical data loading or a calc_bars_count setting within the script's indicator() declaration – in this script, it is 1200 bars by default). For example, if "Calculated bars" is 1200, your Lookback should be less than 600. The default Lookback of 500 respects this. Setting a Lookback too high relative to available calculated bars can lead to errors or incorrect profile rendering.
⚠ Parameter Optimization: The default settings are starting points. Always adjust indicator parameters (Lookback, Number of Rows, VA%, etc.) based on the specific asset, its volatility, and the timeframe you are trading. Thorough backtesting is crucial.
⚠ Context is Key: Volume Profile is powerful, but its signals are best interpreted within the broader market context (trend, news, other technical indicators).
⚠ Lookback vs. Profile Stability: A shorter lookback makes the profile very responsive to recent action but less stable. A longer lookback provides more stable levels but may lag in fast-moving markets.
⚠ Number of Rows: Higher row counts offer more granularity but can impact performance and may show too much noise. Lower row counts offer a broader view but may obscure finer details.
⚠ Alert Confirmation: Using " Once Per Bar Close " for alerts is generally recommended to ensure signals are based on confirmed price action.
█ RISK DISCLAIMER
Trading involves a substantial risk of loss and is not suitable for all investors. The Volume Profile (PRO) indicator is provided for educational and informational purposes only . It does NOT constitute financial advice or a recommendation to buy or sell any asset. Indicator signals identify potential patterns based on historical data but do not guarantee future price movements or profitability. Always conduct your own thorough research, utilize multiple sources of information, and implement robust risk management practices before making any trading decisions. Past performance is not indicative of future results.
📊 Happy trading! 🚀
Quantum State Superposition Indicator (QSSI)Quantum State Superposition Indicator (QSSI) - Where Physics Meets Finance
The Quantum Revolution in Market Analysis
After months of research into quantum mechanics and its applications to financial markets, I'm thrilled to present the Quantum State Superposition Indicator (QSSI) - a groundbreaking approach that models price action through the lens of quantum physics. This isn't just another technical indicator; it's a paradigm shift in how we understand market behavior.
The Theoretical Foundation
Quantum Superposition in Markets
In quantum mechanics, particles exist in multiple states simultaneously until observed. Similarly, markets exist in a superposition of potential states (bullish, bearish, neutral) until a significant volume event "collapses" the wave function into a definitive direction.
The mathematical framework:
Wave Function (Ψ): Represents the market's quantum state as a weighted sum of all possible states:
Ψ = Σ(αᵢ × Sᵢ)
Where αᵢ are probability amplitudes and Sᵢ are individual quantum states.
Probability Amplitudes: Calculated using the Born rule, normalized so Σ|αᵢ|² = 1
Observation Operator: Volume/Average Volume ratio determines observation strength
The Five Quantum States
Momentum State: Short-term price velocity (EMA of returns)
Mean Reversion State: Deviation from equilibrium (normalized z-score)
Volatility Expansion State: ATR relative to historical average
Trend Continuation State: Long-term price positioning
Chaos State: Volatility of volatility (market uncertainty)
Each state contributes to the overall wave function based on current market conditions.
Wave Function Collapse
When volume exceeds the observation threshold (default 1.5x average), the wave function "collapses," committing the market to a direction. This models how institutional volume forces markets out of uncertainty into trending states.
Collapse Detection Formula:
Collapse = Volume > (Threshold × Average Volume)
Direction = Sign(Ψ) at collapse moment
Advanced Quantum Concepts
Heisenberg Uncertainty Principle
The indicator calculates market uncertainty as the product of price and momentum
uncertainties:
ΔP × ΔM = ℏ (market uncertainty constant)
This manifests as dynamic uncertainty bands that widen during unstable periods.
Quantum Tunneling
Calculates the probability of price "tunneling" through resistance/support barriers:
P(tunnel) = e^(-2×|barrier_height|×√coherence_length)
Unlike classical technical analysis, this gives probability of breakouts before they occur.
Entanglement
Measures the quantum correlation between price and volume:
Entanglement = |Correlation(Price, Volume, lookback)|
High entanglement suggests coordinated institutional activity.
Decoherence
When market states lose quantum properties and behave classically:
Decoherence = 1 - Σ(amplitude²)
Indicates trend emergence from quantum uncertainty.
Visual Innovation
Probability Clouds
Three-tier probability distributions visualize market uncertainty:
Inner Cloud (68%): One standard deviation - most likely price range
Middle Cloud (95%): Two standard deviations - probable extremes
Outer Cloud (99.7%): Three standard deviations - tail risk zones
Cloud width directly represents market uncertainty - wider clouds signal higher entropy states.
Quantum State Visualization
Colored dots represent individual quantum states:
Green: Momentum state strength
Red: Mean reversion state strength
Yellow: Volatility state strength
Dot brightness indicates amplitude (influence) of each state.
Collapse Events
Aqua Diamonds (Above): Bullish collapse - upward commitment
Pink Diamonds (Below): Bearish collapse - downward commitment
These mark precise moments when markets exit superposition.
Implementation Details
Core Calculations
Feature Extraction: Normalize price returns, volume ratios, and volatility measures
State Calculation: Compute each quantum state's value
Amplitude Assignment: Weight states by market conditions and observation strength
Wave Function: Sum weighted states for final market quantum state
Visualization: Transform quantum values to price space for display
Performance Optimization
- Efficient array operations for state calculations
- Single-pass normalization algorithms
- Optimized correlation calculations for entanglement
- Smart label management to prevent visual clutter
Trading Applications:
Signal Generation
Bullish Signals:
- Positive wave function during collapse
- High tunneling probability at support
- Coherent market state with bullish bias
Bearish Signals:
- Negative wave function during collapse
- High tunneling probability at resistance
- Decoherent state transitioning bearish
Risk Management
Uncertainty-Based Position Sizing:
Narrow clouds: Normal position size
Wide clouds: Reduced position size
Extreme uncertainty: Stay flat
Quantum Stop Losses:
- Place stops outside probability clouds
- Adjust for Heisenberg uncertainty
- Respect quantum tunneling levels
Market Regime Recognition
Quantum Coherent (Superposed):
- Market in multiple states
- Avoid directional trades
- Prepare for collapse
Quantum Decoherent (Classical):
-Clear trend emergence
- Follow directional signals
- Traditional analysis applies
Advanced Features
Adaptive Dashboards
Quantum State Panel: Real-time wave function, dominant state, and coherence status
Performance Metrics: Win rate, signal frequency, and regime analysis
Information Guide: Comprehensive explanation of all quantum concepts
- All dashboards feature adjustable sizing for different screen resolutions.
Multi-Timeframe Quantum Analysis
The indicator adapts to any timeframe:
Scalping (1-5m): Short coherence length, sensitive thresholds
Day Trading (15m-1H): Balanced parameters
Swing Trading (4H-1D): Long coherence, stable states
Alert System
Sophisticated alerts for:
- Wave function collapse events
- Decoherence transitions
- High tunneling probability
- Strong entanglement detection
Originality & Innovation
This indicator introduces several firsts:
Quantum Superposition: First to model markets as quantum systems
Wave Function Collapse: Original volume-triggered state commitment
Tunneling Probability: Novel breakout prediction method
Entanglement Metrics: Unique price-volume quantum correlation
Probability Clouds: Revolutionary uncertainty visualization
Development Journey
Creating QSSI required:
- Deep study of quantum mechanics principles
- Translation of physics equations to market context
- Extensive backtesting across multiple markets
- UI/UX optimization for trader accessibility
- Performance optimization for real-time calculation
- The result bridges cutting-edge physics with practical trading.
Best Practices
Parameter Optimization
Quantum States (2-5):
- 2-3 for simple markets (forex majors)
- 4-5 for complex markets (indices, crypto)
Coherence Length (10-50):
- Lower for fast markets
- Higher for stable markets
Observation Threshold (1.0-3.0):
- Lower for active markets
- Higher for thin markets
Signal Confirmation
Always confirm quantum signals with:
- Market structure (support/resistance)
- Volume patterns
- Correlated assets
- Fundamental context
Risk Guidelines
- Never risk more than 2% per trade
- Respect probability cloud boundaries
- Exit on decoherence shifts
- Scale with confidence levels
Educational Value
QSSI teaches advanced concepts:
- Quantum mechanics applications
- Probability theory
- Non-linear dynamics
- Risk management
- Market microstructure
Perfect for traders seeking deeper market understanding.
Disclaimer
This indicator is for educational and research purposes only. While quantum mechanics provides a fascinating framework for market analysis, no indicator can predict future prices with certainty. The probabilistic nature of both quantum mechanics and markets means outcomes are inherently uncertain.
Always use proper risk management, conduct thorough analysis, and never risk more than you can afford to lose. Past performance does not guarantee future results.
Conclusion
The Quantum State Superposition Indicator represents a revolutionary approach to market analysis, bringing institutional-grade quantum modeling to retail traders. By viewing markets through the lens of quantum mechanics, we gain unique insights into uncertainty, probability, and state transitions that classical indicators miss.
Whether you're a physicist interested in finance or a trader seeking cutting-edge tools, QSSI opens new dimensions in market analysis.
"The market, like Schrödinger's cat, exists in multiple states until observed through volume."
* As you may have noticed, the past two indicators I've released (Lorentzian Classification and Quantum State Superposition) are designed with strategy implementation in mind. I'm currently developing a stable execution platform that's completely unique and moves away from traditional ATR-based position sizing and stop loss systems. I've found ATR-based approaches to be unreliable in volatile markets and regime transitions - they often lag behind actual market conditions and can lead to premature exits or oversized positions during volatility spikes.
The goal is to create something that adapts to market conditions in real-time using the quantum and relativistic principles we've been exploring. Hopefully I'll have something groundbreaking to share soon. Stay tuned!
Trade with quantum insight. Trade with QSSI .
— Dskyz , for DAFE Trading Systems
Delta Volume Profile [BigBeluga]🔵Delta Volume Profile
A dynamic volume analysis tool that builds two separate horizontal profiles: one for bullish candles and one for bearish candles. This indicator helps traders identify the true balance of buying vs. selling volume across price levels, highlighting points of control (POCs), delta dominance, and hidden volume clusters with remarkable precision.
🔵 KEY FEATURES
Split Volume Profiles (Bull vs. Bear):
The indicator separates volume based on candle direction:
If close > open , the candle’s volume is added to the bullish profile (positive volume).
If close < open , it contributes to the bearish profile (negative volume).
ATR-Based Binning:
The price range over the selected lookback is split into bins using ATR(200) as the bin height.
Each bin accumulates both bull and bear volumes to form the dual-sided profile.
Bull and Bear Volume Bars:
Bullish volumes are shown as right-facing bars on the right side, colored with a bullish gradient.
Bearish volumes appear as left-facing bars on the left side, shaded with a bearish gradient.
Each bar includes a volume label (e.g., +12.45K or -9.33K) to show exact volume at that price level.
Points of Control (POC) Highlighting:
The bin with the highest bullish volume is marked with a border in POC+ color (default: blue).
The bin with the highest bearish volume is marked with a POC− color (default: orange).
Total Volume Density Map:
A neutral gray background box is plotted behind candles showing the total volume (bull + bear) per bin.
This reveals high-interest price zones regardless of direction.
Delta and Total Volume Summary:
A Delta label appears at the top, showing net % difference between bull and bear volume.
A Total label at the bottom shows total accumulated volume across all bins.
🔵 HOW IT WORKS
The indicator captures all candles within the lookback period .
It calculates the price range and splits it into bins using ATR for adaptive resolution.
For each candle:
If price intersects a bin and close > open , volume is added to the positive profile .
If close < open , volume is added to the negative profile .
The result is two side-by-side histograms at each price level—one for buyers, one for sellers.
The bin with the highest value on each side is visually emphasized using POC highlight colors.
At the end, the script calculates:
Delta: Total % difference between bull and bear volumes.
Total: Sum of all volumes in the lookback window.
🔵 USAGE
Volume Imbalance Zones: Identify price levels where buyers or sellers were clearly dominant.
Fade or Follow Volume Clusters: Use POC+ or POC− levels for reaction trades or breakouts.
Delta Strength Filtering: Strong delta values (> ±20%) suggest momentum or exhaustion setups.
Volume-Based Anchoring: Use profile levels to mark hidden support/resistance and execution zones.
🔵 CONCLUSION
Delta Volume Profile offers a unique advantage in market reading by separating buyer and seller activity into two visual layers. This allows traders to not only spot where volume was high, but also who was more aggressive. Whether you’re analyzing trend continuations, reversals, or absorption levels, this indicator gives you the transparency needed to trade with confidence.
Leslie's EMA Ribbon: 5/9/21 + VWAPEMA + VWAP Crossover Indicator with Alerts
This script blends three Exponential Moving Averages (5, 9, 21) with VWAP to identify momentum shifts and volume-confirmed trend signals. It’s optimized for the Daily timeframe, but also adaptable to shorter-term trading.
🔍 Why this combination?
EMAs provide fast and reliable trend signals:
- 5/9 EMA crossover → short-term shifts (more frequent)
- 9/21 EMA crossover → swing confirmation (less noise)
- VWAP adds volume context used by institutions for fair value tracking.
- 9EMA crossing VWAP confirms price action supported by volume.
Together, these tools offer a multi-layered view of market momentum — combining speed, confirmation, and conviction.
⚙️ Features:
Clean plots with dynamic labels on latest bar
Adjustable line weights for clarity
Alerts included for all crossovers:
- 5EMA / 9EMA
- 9EMA / 21EMA
- 9EMA / VWAP
✅ How to Use:
- Best on the Daily timeframe
- Use 5/9 as early signals, 9/21 for trend filtering, and 9/VWAP for volume-backed setups
- Turn on alerts to stay informed of key shifts without staring at charts
TP/SL Overlay with Volume/ATR TableThis is a Take Profit and Stop Loss indicator that plots the TP/SL levels, along with the Risk/Reward ratios on the chart similar to an auto fib overlay. These levels are ATR based and are dynamic, based on the current price. It also includes heads-up display that shows the Relative Volume, ATR and several TP levels. All settings and configurations are editable from the settings menu, as well. I created this to make it easier to estimate TP levels without having to pull up a calculator or the "Long" tool that TradingView provides. Hope you like it!
Topological Market Stress (TMS) - Quantum FabricTopological Market Stress (TMS) - Quantum Fabric
What Stresses The Market?
Topological Market Stress (TMS) represents a revolutionary fusion of algebraic topology and quantum field theory applied to financial markets. Unlike traditional indicators that analyze price movements linearly, TMS examines the underlying topological structure of market data—detecting when the very fabric of market relationships begins to tear, warp, or collapse.
Drawing inspiration from the ethereal beauty of quantum field visualizations and the mathematical elegance of topological spaces, this indicator transforms complex mathematical concepts into an intuitive, visually stunning interface that reveals hidden market dynamics invisible to conventional analysis.
Theoretical Foundation: Topology Meets Markets
Topological Holes in Market Structure
In algebraic topology, a "hole" represents a fundamental structural break—a place where the normal connectivity of space fails. In markets, these topological holes manifest as:
Correlation Breakdown: When traditional price-volume relationships collapse
Volatility Clustering Failure: When volatility patterns lose their predictive power
Microstructure Stress: When market efficiency mechanisms begin to fail
The Mathematics of Market Topology
TMS constructs a topological space from market data using three key components:
1. Correlation Topology
ρ(P,V) = correlation(price, volume, period)
Hole Formation = 1 - |ρ(P,V)|
When price and volume decorrelate, topological holes begin forming.
2. Volatility Clustering Topology
σ(t) = volatility at time t
Clustering = correlation(σ(t), σ(t-1), period)
Breakdown = 1 - |Clustering|
Volatility clustering breakdown indicates structural instability.
3. Market Efficiency Topology
Efficiency = |price - EMA(price)| / ATR
Measures how far price deviates from its efficient trajectory.
Multi-Scale Topological Analysis
Markets exist across multiple temporal scales simultaneously. TMS analyzes topology at three distinct scales:
Micro Scale (3-15 periods): Immediate structural changes, market microstructure stress
Meso Scale (10-50 periods): Trend-level topology, medium-term structural shifts
Macro Scale (50-200 periods): Long-term structural topology, regime-level changes
The final stress metric combines all scales:
Combined Stress = 0.3×Micro + 0.4×Meso + 0.3×Macro
How TMS Works
1. Topological Space Construction
Each market moment is embedded in a multi-dimensional topological space where:
- Price efficiency forms one dimension
- Correlation breakdown forms another
- Volatility clustering breakdown forms the third
2. Hole Detection Algorithm
The indicator continuously scans this topological space for:
Hole Formation: When stress exceeds the formation threshold
Hole Persistence: How long structural breaks maintain
Hole Collapse: Sudden topology restoration (regime shifts)
3. Quantum Visualization Engine
The visualization system translates topological mathematics into intuitive quantum field representations:
Stress Waves: Main line showing topological stress intensity
Quantum Glow: Surrounding field indicating stress energy
Fabric Integrity: Background showing structural health
Multi-Scale Rings: Orbital representations of different timeframes
4. Signal Generation
Stable Topology (✨): Normal market structure, standard trading conditions
Stressed Topology (⚡): Increased structural tension, heightened volatility expected
Topological Collapse (🕳️): Major structural break, regime shift in progress
Critical Stress (🌋): Extreme conditions, maximum caution required
Inputs & Parameters
🕳️ Topological Parameters
Analysis Window (20-200, default: 50)
Primary period for topological analysis
20-30: High-frequency scalping, rapid structure detection
50: Balanced approach, recommended for most markets
100-200: Long-term position trading, major structural shifts only
Hole Formation Threshold (0.1-0.9, default: 0.3)
Sensitivity for detecting topological holes
0.1-0.2: Very sensitive, detects minor structural stress
0.3: Balanced, optimal for most market conditions
0.5-0.9: Conservative, only major structural breaks
Density Calculation Radius (0.1-2.0, default: 0.5)
Radius for local density estimation in topological space
0.1-0.3: Fine-grained analysis, sensitive to local changes
0.5: Standard approach, balanced sensitivity
1.0-2.0: Broad analysis, focuses on major structural features
Collapse Detection (0.5-0.95, default: 0.7)
Threshold for detecting sudden topology restoration
0.5-0.6: Very sensitive to regime changes
0.7: Balanced, reliable collapse detection
0.8-0.95: Conservative, only major regime shifts
📊 Multi-Scale Analysis
Enable Multi-Scale (default: true)
- Analyzes topology across multiple timeframes simultaneously
- Provides deeper insight into market structure at different scales
- Essential for understanding cross-timeframe topology interactions
Micro Scale Period (3-15, default: 5)
Fast scale for immediate topology changes
3-5: Ultra-fast, tick/minute data analysis
5-8: Fast, 5m-15m chart optimization
10-15: Medium-fast, 30m-1H chart focus
Meso Scale Period (10-50, default: 20)
Medium scale for trend topology analysis
10-15: Short trend structures
20-25: Medium trend structures (recommended)
30-50: Long trend structures
Macro Scale Period (50-200, default: 100)
Slow scale for structural topology
50-75: Medium-term structural analysis
100: Long-term structure (recommended)
150-200: Very long-term structural patterns
⚙️ Signal Processing
Smoothing Method (SMA/EMA/RMA/WMA, default: EMA) Method for smoothing stress signals
SMA: Simple average, stable but slower
EMA: Exponential, responsive and recommended
RMA: Running average, very smooth
WMA: Weighted average, balanced approach
Smoothing Period (1-10, default: 3)
Period for signal smoothing
1-2: Minimal smoothing, noisy but fast
3-5: Balanced, recommended for most applications
6-10: Heavy smoothing, slow but very stable
Normalization (Fixed/Adaptive/Rolling, default: Adaptive)
Method for normalizing stress values
Fixed: Static 0-1 range normalization
Adaptive: Dynamic range adjustment (recommended)
Rolling: Rolling window normalization
🎨 Quantum Visualization
Fabric Style Options:
Quantum Field: Flowing energy visualization with smooth gradients
Topological Mesh: Mathematical topology with stepped lines
Phase Space: Dynamical systems view with circular markers
Minimal: Clean, simple display with reduced visual elements
Color Scheme Options:
Quantum Gradient: Deep space blue → Quantum red progression
Thermal: Black → Hot orange thermal imaging style
Spectral: Purple → Gold full spectrum colors
Monochrome: Dark gray → Light gray elegant simplicity
Multi-Scale Rings (default: true)
- Display orbital rings for different time scales
- Visualizes how topology changes across timeframes
- Provides immediate visual feedback on cross-scale dynamics
Glow Intensity (0.0-1.0, default: 0.6)
Controls the quantum glow effect intensity
0.0: No glow, pure line display
0.6: Balanced, recommended setting
1.0: Maximum glow, full quantum field effect
📋 Dashboard & Alerts
Show Dashboard (default: true)
Real-time topology status display
Current market state and trading recommendations
Stress level visualization and fabric integrity status
Show Theory Guide (default: true)
Educational panel explaining topological concepts
Dashboard interpretation guide
Trading strategy recommendations
Enable Alerts (default: true)
Extreme stress detection alerts
Topological collapse notifications
Hole formation and recovery signals
Visual Logic & Interpretation
Main Visualization Elements
Quantum Stress Line
Primary indicator showing topological stress intensity
Color intensity reflects current market state
Line style varies based on selected fabric style
Glow effect indicates stress energy field
Equilibrium Line
Silver line showing average stress level
Reference point for normal market conditions
Helps identify when stress is elevated or suppressed
Upper/Lower Bounds
Red upper bound: High stress threshold
Green lower bound: Low stress threshold
Quantum fabric fill between bounds shows stress field
Multi-Scale Rings
Aqua circles : Micro-scale topology (immediate changes)
Orange circles: Meso-scale topology (trend-level changes)
Provides cross-timeframe topology visualization
Dashboard Information
Topology State Icons:
✨ STABLE: Normal market structure, standard trading conditions
⚡ STRESSED: Increased structural tension, monitor closely
🕳️ COLLAPSE: Major structural break, regime shift occurring
🌋 CRITICAL: Extreme conditions, reduce risk exposure
Stress Bar Visualization:
Visual representation of current stress level (0-100%)
Color-coded based on current topology state
Real-time percentage display
Fabric Integrity Dots:
●●●●● Intact: Strong market structure (0-30% stress)
●●●○○ Stressed: Weakening structure (30-70% stress)
●○○○○ Fractured: Breaking down structure (70-100% stress)
Action Recommendations:
✅ TRADE: Normal conditions, standard strategies apply
⚠️ WATCH: Monitor closely, increased vigilance required
🔄 ADAPT: Change strategy, regime shift in progress
🛑 REDUCE: Lower risk exposure, extreme conditions
Trading Strategies
In Stable Topology (✨ STABLE)
- Normal trading conditions apply
- Use standard technical analysis
- Regular position sizing appropriate
- Both trend-following and mean-reversion strategies viable
In Stressed Topology (⚡ STRESSED)
- Increased volatility expected
- Widen stop losses to account for higher volatility
- Reduce position sizes slightly
- Focus on high-probability setups
- Monitor for potential regime change
During Topological Collapse (🕳️ COLLAPSE)
- Major regime shift in progress
- Adapt strategy immediately to new market character
- Consider closing positions that rely on previous regime
- Wait for new topology to stabilize before major trades
- Opportunity for contrarian plays if collapse is extreme
In Critical Stress (🌋 CRITICAL)
- Extreme market conditions
- Significantly reduce risk exposure
- Avoid new positions until stress subsides
- Focus on capital preservation
- Consider hedging existing positions
Advanced Techniques
Multi-Timeframe Topology Analysis
- Use higher timeframe TMS for regime context
- Use lower timeframe TMS for precise entry timing
- Alignment across timeframes = highest probability trades
Topology Divergence Trading
- Most powerful at regime boundaries
- Price makes new high/low but topology stress decreases
- Early warning of potential reversals
- Combine with key support/resistance levels
Stress Persistence Analysis
- Long periods of stable topology often precede major moves
- Extended stress periods often resolve in regime changes
- Use persistence tracking for position sizing decisions
Originality & Innovation
TMS represents a genuine breakthrough in applying advanced mathematics to market analysis:
True Topological Analysis: Not a simplified proxy but actual topological space construction and hole detection using correlation breakdown, volatility clustering analysis, and market efficiency measurement.
Quantum Aesthetic: Transforms complex topology mathematics into an intuitive, visually stunning interface inspired by quantum field theory visualizations.
Multi-Scale Architecture: Simultaneous analysis across micro, meso, and macro timeframes provides unprecedented insight into market structure dynamics.
Regime Detection: Identifies fundamental market character changes before they become obvious in price action, providing early warning of structural shifts.
Practical Application: Clear, actionable signals derived from advanced mathematical concepts, making theoretical topology accessible to practical traders.
This is not a combination of existing indicators or a cosmetic enhancement of standard tools. It represents a fundamental reimagining of how we measure, visualize, and interpret market dynamics through the lens of algebraic topology and quantum field theory.
Best Practices
Start with defaults: Parameters are optimized for broad market applicability
Match timeframe: Adjust scales based on your trading timeframe
Confirm with price action: TMS shows market character, not direction
Respect topology changes: Reduce risk during regime transitions
Use appropriate strategies: Adapt approach based on current topology state
Monitor persistence: Track how long topology states maintain
Cross-timeframe analysis: Align multiple timeframes for highest probability trades
Alerts Available
Extreme Topological Stress: Market fabric under severe deformation
Topological Collapse Detected: Regime shift in progress
Topological Hole Forming: Market structure breakdown detected
Topology Stabilizing: Market structure recovering to normal
Chart Requirements
Recommended Markets: All liquid markets (forex, stocks, crypto, futures)
Optimal Timeframes: 5m to Daily (adaptable to any timeframe)
Minimum History: 200 bars for proper topology construction
Best Performance: Markets with clear regime characteristics
Academic Foundation
This indicator draws from cutting-edge research in:
- Algebraic topology and persistent homology
- Quantum field theory visualization techniques
- Market microstructure analysis
- Multi-scale dynamical systems theory
- Correlation topology and network analysis
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice or provide direct buy/sell signals. Topological analysis reveals market structure characteristics, not future price direction. Always use proper risk management and combine with your own analysis. Past performance does not guarantee future results.
See markets through the lens of topology. Trade the structure, not the noise.
Bringing advanced mathematics to practical trading through quantum-inspired visualization.
Trade with insight. Trade with structure.
— Dskyz , for DAFE Trading Systems
Capitulation ScoutCapitulation Scout - Description
Overview
The Capitulation Scout is a streamlined technical indicator designed to identify potential market reversals by spotting moments of "capitulation" – extreme fear ( bearish capitulation ) or euphoria ( bullish capitulation ). It combines two independent filter groups to provide reliable reversal signals: an Extremes Filter (RSI + Bollinger Bands) and a Confirmation Filter (Volume Spike + MA Deviation). The indicator dynamically adapts to the current chart timeframe, making it versatile for day traders and long-term investors alike.
How It Works
This indicator uses two filter groups to detect capitulation, which can be enabled or disabled individually:
1. Extremes Filter (RSI + Bollinger Bands) : Identifies overbought (default: RSI > 70) or oversold (default: RSI < 30) conditions combined with price breaking through the Bollinger Bands (default: 200-period, 2x multiplier), indicating an extreme price movement.
2. Confirmation Filter (Volume Spike + MA Deviation) : Requires both a significant volume increase (default: 2x the 20-period average volume on lower timeframes, dynamically adjusted on higher timeframes) and a significant price deviation from a moving average (default: 5% deviation from a 50-period SMA) to confirm the capitulation event.
A signal is generated if at least one filter is enabled and all enabled filters meet their respective conditions.
Signals
- Bearish Capitulation : Marked with a red downward triangle (customizable in the "Style" tab) above the candle. Occurs when the enabled filters detect a potential top, e.g., overbought RSI and price above the upper Bollinger Band (if Extremes Filter enabled), and/or a volume spike combined with a significant upward deviation from the MA (if Confirmation Filter enabled).
- Bullish Capitulation : Marked with a green upward triangle (customizable in the "Style" tab) below the candle. Occurs when the enabled filters detect a potential bottom, e.g., oversold RSI and price below the lower Bollinger Band (if Extremes Filter enabled), and/or a volume spike combined with a significant downward deviation from the MA (if Confirmation Filter enabled).
Note : At least one filter must be enabled to generate signals. If both filters are disabled, no signals will be shown.
How to Use
1. Add the Capitulation Scout to your chart.
2. Look for red downward triangles ( bearish capitulation ) at market tops or green upward triangles ( bullish capitulation ) at market bottoms as potential reversal signals.
3. Use the signals in conjunction with other technical analysis tools (e.g., support/resistance levels, trendlines) to confirm trades.
4. Set up alerts for bearish or bullish capitulation signals to get real-time notifications.
5. Adjust the settings to suit your trading style and timeframe. For smaller timeframes (e.g., 5M or 15M), consider reducing the Bollinger Bands length for more sensitivity.
Settings
- Extremes Filter Settings
- Use Extremes Filter (RSI + Bollinger Bands) : Enable/disable the RSI and Bollinger Bands filter (default: enabled).
- RSI Length : Period for RSI calculation (default: 14 periods, relative to the chart timeframe).
- RSI Overbought/Oversold Levels : Thresholds for overbought/oversold conditions (default: 70/30).
- Bollinger Bands Length/Multiplier : Settings for Bollinger Bands (default: 200 periods, 2x multiplier).
- Confirmation Filter Settings
- Use Confirmation Filter (Volume Spike + MA Deviation) : Enable/disable the combined Volume Spike and MA Deviation filter (default: enabled). When enabled, both a volume spike and a significant MA deviation are required to meet the filter condition.
- Volume Spike Threshold (Base Multiplier) : Multiplier for detecting volume spikes on lower timeframes (default: 2x the 20-period average). On higher timeframes (e.g., weekly or monthly), the threshold is dynamically reduced to be more sensitive (e.g., 1.5x on weekly, 1x on monthly).
- Moving Average Length : Period for the SMA (default: 50 periods, relative to the chart timeframe).
- MA Deviation Threshold (%) : Percentage deviation from the MA to consider the price stretched (default: 5%).
Features
- MA Deviation Filter Visualization : The moving average used for the MA deviation filter can be enabled in the "Style" tab under "MA for Deviation Filter (Optional)" and is displayed in blue by default. It is disabled by default and must be manually enabled in the "Style" tab. Its color, line width, and style can be customized in the "Style" tab.
- Customizable Visuals : In the "Style" tab, you can toggle the visibility of signal markers and customize their colors, sizes, and styles.
- Alerts : Set up alerts for bearish or bullish capitulation signals to get real-time notifications.
Notes
- The indicator automatically adapts to the current chart timeframe (e.g., 1M, 15M, 1H, 1D, etc.). On smaller timeframes, consider reducing the RSI Length, Bollinger Bands Length, and Volume Period for better sensitivity. For example, on a 5-minute chart, a Bollinger Bands Length of 200 covers 1,000 minutes (over 16 hours), which might be too long – try lowering it to 50 or 100.
- Capitulation events are generally more reliable on higher timeframes (e.g., 1H, 4H, 1D), but the indicator can be used on any timeframe with proper adjustments. On weekly or monthly timeframes, the volume spike threshold is dynamically reduced to detect capitulation events more effectively.
- You can enable any combination of filters to generate signals. For example, disabling the Extremes Filter and enabling only the Confirmation Filter will generate signals based solely on volume spikes combined with MA deviation.
- Always combine with other analysis methods to reduce false signals.
- Test the indicator on your preferred markets (stocks, ETFs, crypto, etc.) and tweak the settings as needed.
Example
The thumbnail shows the Capitulation Scout on a daily chart of ETHUSD on Coinbase. Two red downward triangles ( bearish capitulation ) marked a major local top in early 2024, and from there, the ETH price started to correct. Two green upward triangles ( bullish capitulation ) marked a major bottom in April 2025, followed by a significant rally. For more examples, follow my account – I’ll aim to share and track such signals with you in the future.
VWAP Fibonacci S&R with Bell CurveThis indicator is a sophisticated trading tool that combines three powerful technical analysis concepts to identify high-probability trading opportunities. Let me break down how it works:
Core Components:
1. VWAP (Volume Weighted Average Price)
Calculates the average price weighted by volume over a specified period
Acts as a dynamic support/resistance level that institutions often use
Can reset daily, weekly, or monthly depending on your trading timeframe
The yellow line on your chart represents the current VWAP
2. Bell Curve Probability Analysis
Measures how far the current price deviates from the VWAP in statistical terms
Calculates a Z-score (standard deviations away from the mean)
Creates probability bands around the VWAP based on price volatility
The theory: extreme deviations from VWAP tend to revert back to the mean
3. Fibonacci Retracement Levels
Uses recent highs and lows to calculate key Fibonacci levels (38.2%, 50%, 61.8%)
These levels often act as support and resistance zones
Combined with VWAP analysis for confluence trading
How the Signals Work:
BUY Signals (Green arrows below candles)
Generated when either condition is met:
Mean Reversion Buy: Price is below VWAP + high probability of reversion + extreme statistical deviation
Fibonacci Support Buy: Price is above VWAP + near key Fibonacci support levels (38.2% or 50%)
SELL Signals (Red arrows above candles)
Generated when either condition is met:
Mean Reversion Sell: Price is above VWAP + high probability of reversion + extreme statistical deviation
Fibonacci Resistance Sell: Price is below VWAP + near key Fibonacci resistance levels (61.8% or 50%)
Visual Elements
Yellow Line: Main VWAP
Blue Bands: Probability zones based on standard deviation
Orange/White/Purple Lines: Key Fibonacci levels (38.2%, 50%, 61.8%)
Yellow Background: High probability mean reversion zones
⚠ Symbol: Extreme deviation warning (Z-score > 2.5)
The Information Table
Shows real-time statistics:
VWAP: Current VWAP value
Distance: How far price is from VWAP (percentage)
Z-Score: Statistical measure of deviation (>2 is significant)
Reversion %: Probability of mean reversion
Fib 50%: Key Fibonacci midpoint level
Status: Current signal state
Trading Logic
The indicator works on the principle that:
Extreme deviations from VWAP are unsustainable and tend to revert
Fibonacci levels provide natural support/resistance zones
Volume confirmation ensures the move has institutional backing
Statistical probability helps time entries when odds are favorable
Best Use Cases
Scalping: Quick mean reversion trades when price gets too far from VWAP
Swing Trading: Using Fibonacci levels with VWAP for longer-term positions
Risk Management: Avoiding trades when probability is low
Confluence Trading: Waiting for multiple signals to align
Malama's Dashboard with HeikinMalama's Dashboard with Heikin is a comprehensive trading indicator designed to provide traders with a consolidated view of market sentiment across multiple technical indicators. It combines Ichimoku Cloud, RSI, ADX, Choppiness Index, volume analysis, momentum, divergence detection, and multi-timeframe (MTF) MACD and volume trends to generate a composite sentiment score. The indicator displays these metrics in a visually intuitive table, enabling traders to quickly assess market conditions and make informed decisions. Optionally, it supports Heikin Ashi candles to smooth price data and reduce noise, aiding in trend identification. The script solves the problem of information overload by presenting key indicators in a single, trader-friendly dashboard, reducing the need for multiple charts or indicators.
Originality and Usefulness
This script is a unique mashup of several well-known technical indicators, integrated into a cohesive dashboard with a composite sentiment score. Unlike standalone indicators like RSI or Ichimoku, this script synthesizes signals from Ichimoku Cloud, RSI, ADX, Choppiness, volume, momentum, divergence, and MTF analysis into a unified sentiment metric. The inclusion of Heikin Ashi candles as an optional input adds flexibility for traders preferring smoothed price action. The composite score, derived from weighted contributions of each indicator, provides a novel way to gauge overall market direction, which is not commonly found in public open-source scripts. While individual components like RSI or Ichimoku are widely available, the script’s originality lies in its integrated approach, clear table visualization, and customizable settings, making it a practical tool for traders seeking a holistic market view.
Detailed Methodology ("How It Works")
The script processes multiple technical indicators and aggregates their signals into a composite sentiment score, displayed in a table. Below is a breakdown of its core components and logic:
Heikin Ashi Candles:
Logic: Optionally applies Heikin Ashi calculations to smooth price data. Heikin Ashi candles are computed using formulas for open, high, low, and close prices, reducing market noise and emphasizing trends.
Usage: When enabled, all subsequent calculations (Ichimoku, RSI, ADX, etc.) use Heikin Ashi prices instead of regular OHLC data, potentially improving trend clarity.
Ichimoku Cloud:
Logic: Calculates the Conversion Line (9-period high/low average), Base Line (26-period high/low average), Leading Span A (average of Conversion and Base Lines), and Leading Span B (52-period high/low average).
Signals: Bullish if the close price is above both Leading Spans; bearish if below; neutral otherwise.
Average Directional Index (ADX):
Logic: Computes ADX using a 14-period (default) directional movement index, measuring trend strength. PlusDI and MinusDI are calculated from price movements, and ADX is derived from their difference.
Signals: Bullish if PlusDI > MinusDI; bearish otherwise. ADX value indicates trend strength but is not used directly in sentiment scoring.
Relative Strength Index (RSI):
Logic: Calculates RSI over a 21-period (default) using the closing price. Overbought (>75) and oversold (<25) levels are user-defined.
Signals: Bullish if RSI > 50; bearish if RSI < 50. Overbought/oversold conditions are displayed but not used in the composite score.
Momentum:
Logic: Measures the difference between the current close and the close 10 periods ago (default).
Signals: Bullish if momentum > 0; bearish if < 0; neutral if 0.
Choppiness Index:
Logic: Calculates choppiness over a 14-period (default) using ATR and price range, normalized to a 0–100 scale. Values >61.8 indicate a sideways market; <38.2 indicate a trending market.
Signals: Bullish if choppiness < 38.2; bearish otherwise.
Volume Analysis:
Logic: Compares current volume to a 21-period (default) simple moving average (SMA). Bullish or bearish pressure is determined by whether the close is above or below the open.
Signals: Bullish if volume > 1.2x SMA and bullish pressure dominates; bearish if bearish pressure dominates; neutral otherwise.
Divergence Detection:
Logic: Identifies RSI divergences over a 5-period lookback. A bullish divergence occurs when price makes a lower low, but RSI makes a higher low; bearish divergence is the opposite.
Signals: Bullish or bearish based on divergence detection; neutral if no divergence.
Multi-Timeframe (MTF) Analysis:
Logic: Retrieves daily MACD (12, 26, 9) and volume SMA (21-period) from a higher timeframe. MACD is bullish if the MACD line > signal line; volume is bullish if current volume > daily SMA.
Signals: Bullish or bearish based on MACD and volume trends.
Composite Sentiment Score:
Logic: Aggregates signals from Ichimoku (±2), RSI (±1), ADX (±1), momentum (±1), choppiness (±1), divergence (±1), MTF MACD (±1), and MTF volume (±1). The score ranges from -8 to +8.
Signals: Bullish if score > 0; bearish if < 0; neutral if 0.
Alert Condition:
Triggers an alert when the composite sentiment flips (e.g., from bullish to bearish).
Strategy Results and Risk Management
This script is an indicator, not a strategy, and does not include backtesting or automated trade signals. However, the composite sentiment score can guide trading decisions. Assumptions for practical use include:
Commission and Slippage: Traders should account for realistic trading costs (e.g., 0.1% per trade) when acting on signals, though the script does not model these.
Risk Limits: Traders are advised to risk 5–10% of equity per trade, depending on their strategy and the strength of the composite score (e.g., higher scores may justify larger positions).
Trade Frequency: The script’s signals are based on multiple indicators, ensuring sufficient trade opportunities across trending and ranging markets.
Customization: Traders can adjust risk by modifying input parameters (e.g., RSI overbought/oversold levels or lookback periods) to align with their risk tolerance. For example, tightening RSI thresholds may reduce signal frequency but increase precision.
User Settings and Customization
The script offers several user-configurable inputs, allowing traders to tailor its behavior:
Use Heikin Ashi Candles (Boolean, default: false): Enables/disables Heikin Ashi smoothing for all calculations, affecting trend clarity.
ADX Length (Integer, default: 14, min: 1): Sets the period for ADX calculations, influencing trend strength sensitivity.
RSI Length (Integer, default: 21, min: 1): Adjusts RSI calculation period, impacting overbought/oversold detection.
RSI Overbought Level (Integer, default: 75, min: 1): Sets the RSI overbought threshold.
RSI Oversold Level (Integer, default: 25, min: 1): Sets the RSI oversold threshold.
Volatility Length (Integer, default: 21, min: 1): Controls the ATR period for volatility (used in Choppiness).
Volume MA Length (Integer, default: 21, min: 1): Sets the SMA period for volume analysis.
Momentum Length (Integer, default: 10, min: 1): Defines the lookback for momentum calculations.
Choppiness Length (Integer, default: 14, min: 1): Sets the period for Choppiness Index calculations.
These settings allow traders to adjust the indicator’s sensitivity to market conditions. For example, shorter RSI or ADX periods increase responsiveness but may generate more noise, while longer periods smooth signals but may lag.
Visualizations and Chart Setup
The script plots a table in the top-right corner of the chart, summarizing the following:
Header: Displays “MALAMA’S DASHBOARD” in white text on a black background.
Indicator Rows: Each row corresponds to an indicator (Ichimoku, RSI, ADX, Choppiness, Volume, Momentum, Divergence, MTF MACD, MTF Volume, Composite).
Columns:
Indicator: Lists the indicator name.
Value: Shows the calculated value (e.g., RSI value, composite score) and sentiment (e.g., Bullish, Bearish, Neutral).
Color Coding: Bullish signals are green, bearish signals are red, and neutral signals are gray, all with 85% transparency for readability.
Composite Sentiment: The final row displays the composite score and sentiment, providing a quick summary of market direction.
No trend lines, signal markers, or additional overlays are plotted, ensuring the chart remains uncluttered and focused on the dashboard’s insights.
EMA Pullback Indicator with Volume Confirmationvolume analysis that follows momentum and only enters on pullbacks. Exit at end of next candle
Spectral Order Flow Resonance (SOFR) Spectral Order Flow Resonance (SOFR)
See the Market’s Hidden Rhythms—Trade the Resonance, Not the Noise!
The Spectral Order Flow Resonance (SOFR) is a next-generation tool for traders who want to go beyond price and volume, tapping into the underlying “frequency signature” of order flow itself. Instead of chasing lagging signals or reacting to surface-level volatility, SOFR lets you visualize and quantify the real-time resonance of market activity—helping you spot when the crowd is in sync, and when the regime is about to shift.
What Makes SOFR Unique?
Not Just Another Oscillator:
SOFR doesn’t just measure momentum or volume. It applies spectral analysis (using Fast Fourier Transform) to normalized order flow, extracting the dominant cycles and their resonance strength. This reveals when the market is harmonizing around key frequencies—often the precursor to major moves.
Regime Detection, Not Guesswork:
By tracking harmonic alignment and phase coherence across multiple Fibonacci-based frequencies, SOFR identifies when the market is entering a bullish, bearish, or neutral resonance regime. This is visualized with a dynamic dashboard and info line, so you always know the current state at a glance.
Dynamic Dashboard:
The on-chart dashboard color-codes each key metric—regime, dominant frequency, harmonic alignment, phase coherence, and energy concentration—so you can instantly gauge the strength and direction of the current resonance. No more guesswork or clutter.
Universal Application:
Works on any asset, any timeframe, and in any market—futures, stocks, crypto, forex. If there’s order flow, SOFR can reveal its hidden structure.
How Does It Work?
Order Flow Normalization:
SOFR calculates the net buying/selling pressure and normalizes it using a rolling mean and standard deviation, making the signal robust across assets and timeframes.
Spectral Analysis:
The script applies FFT to the normalized order flow, extracting the magnitude and phase of several key frequencies (typically Fibonacci numbers). This allows you to see which cycles are currently dominating the market.
Resonance & Regime Logic:
When multiple frequencies align and exceed a dynamic resonance threshold, and phase coherence is high, SOFR detects a “resonance regime”—bullish, bearish, or neutral. This is when the market is most likely to experience a strong, sustained move.
Visual Clarity:
The indicator plots each frequency’s magnitude, highlights the dominant one, and provides a real-time dashboard with color-coded metrics for instant decision-making.
SOFR Dashboard Metrics Explained
Regime:
What it means: The current “state” of the market as detected by SOFR—Bullish, Bearish, or Neutral.
Why it matters: The regime tells you whether the market’s order flow is resonating in a way that favors upward moves (Bullish), downward moves (Bearish), or is out of sync (Neutral). This helps you align your trades with the prevailing market force, or stand aside when there’s no clear edge.
Dominant Freq:
What it means: The most powerful frequency (cycle length, in bars) currently detected in the order flow.
Why it matters: Markets often move in cycles. The dominant frequency shows which cycle is currently driving price action, helping you time entries and exits with the market’s “heartbeat.”
Harmonic Align:
What it means: The number of key frequencies (out of 3) that are currently in resonance (above threshold).
Why it matters: When multiple frequencies align, it signals that different groups of traders (with different time horizons) are acting in concert. This increases the probability of a strong, sustained move.
Phase Coh.:
What it means: A measure (0–100%) of how “in sync” the phases of the key frequencies are.
Why it matters: High phase coherence means the market’s cycles are reinforcing each other, not cancelling out. This is a classic signature of trending or explosive moves.
Energy Conc.:
What it means: The concentration of spectral energy in the dominant frequency, relative to the average.
Why it matters: High energy concentration means the market’s activity is focused in one cycle, increasing the odds of a decisive move. Low concentration means the market is scattered and less predictable.
How to Use
Bullish Regime:
When the dashboard shows a green regime and high harmonic alignment, the market is in a bullish resonance—look for long opportunities or trend continuations.
Bearish Regime:
When the regime is red and alignment is high, the market is in a bearish resonance—look for short opportunities or trend continuations.
Neutral Regime:
When the regime is gray or alignment is low, the market is out of sync—consider waiting for clearer signals or using other tools.
Combine with Your Strategy:
Use SOFR as a confirmation tool, a filter for trend/range conditions, or as a standalone regime detector. The dashboard’s color-coded metrics help you instantly spot when the market is entering or exiting resonance.
Inputs Explained
FFT Window Length :
Controls the number of bars used for spectral analysis. Higher values smooth the signal, lower values make it more sensitive.
Order Flow Period:
Sets the lookback for normalizing order flow. Shorter periods react faster, longer periods are smoother.
Fibonacci Frequencies:
Choose which cycles to analyze. Default values (5, 8, 13) capture common market rhythms.
Resonance Threshold:
Sets how strong a frequency’s signal must be to count as “in resonance.” Lower for more signals, higher for stricter filtering.
Signal Smoothing & Amplify:
Fine-tune the display for your chart and asset.
Dashboard & Info Line Toggles:
Show or hide the on-chart dashboard and info line as needed.
Why This Matters
Most indicators show you what just happened. SOFR shows you when the market is entering a state of resonance—when crowd behavior is most likely to produce powerful, sustained moves. By visualizing the hidden structure of order flow, you gain a tactical edge over traders who only see the surface.
For educational purposes only. Not financial advice. Always use proper risk management.
Use with discipline. Trade your edge.
— Dskyz, for DAFE Trading Systems
Bitcoin Open Interest [SAKANE]Bitcoin Open Interest
— Unveiling the True Flow of Capital
PurposeVisualize and compare Bitcoin open interest (OI) from CME and Binance, the leading derivatives exchanges, in a single intuitive chart, providing traders with clear insights into crypto market capital dynamics.
Background & MotivationIn the 24/7 crypto market, price movements alone reveal only part of the story. Open interest (OI)—the total outstanding futures contracts—offers critical clues to the market’s next move. Yet, accessing and interpreting OI data is challenging:
CME Constraints: Commitment of Traders (COT) reports are weekly, and standalone BTC1! or BTC2! OI is noisy due to contract rollovers, obscuring true OI changes.
Existing Tool Limitations: Most OI indicators are fixed to either USD or BTC, limiting flexible analysis.
This indicator overcomes these hurdles, enabling seamless comparison of CME and Binance OI to track the market’s “capital center of gravity” in real time.
Key Features
Synthetic CME OI: Combines BTC1! and BTC2! to deliver high-accuracy OI, eliminating rollover noise.
Multi-Timeframe Analysis: Displays daily CME OI as pseudo-candlestick (OHLC) on any timeframe (e.g., 4H), allowing intuitive capital flow tracking across timeframes.
CME/Binance One-Click Toggle: Instantly compare institutional-driven CME and retail-driven Binance OI.
USD/BTC Flexibility: Switch between BTC (real demand) and USD (margin) perspectives for OI analysis.
Robust Design: Concise, global-scope code ensures stability and adaptability to TradingView updates.
Insights & Use Cases
Holistic Market Sentiment: Analyze capital flows by region and exchange for a multidimensional view.
Signal Detection: E.g., a sharp drop in CME OI during a sell-off may signal institutional withdrawal.
Retail Trends: A surge in Binance OI suggests retail-driven inflows.
Event-Driven Insights: E.g., during a hypothetical April 2025 “Trump Tariff Shock,” instantly identify which exchange drives capital shifts.
Unique ValueUnlike price-centric indicators, this tool focuses on capital flow (OI). It’s the only indicator offering one-click multi-timeframe and multi-exchange OI comparison, empowering traders to uncover the market’s “true intent” and gain a strategic edge.
ConclusionBitcoin Open Interest makes the market’s hidden capital movements accessible to all. By capturing market dynamics and pinpointing the “leading forces” during events, it sets a new standard for traders seeking a revolutionary perspective.
GCM Centre Line Candle MarkerGCM Centre Line Candle Marker (GCM-CLCM) - Descriptive Notes
Indicator Overview:
The "GCM Centre Line Candle Marker" is a versatile TradingView overlay indicator designed to enhance chart analysis by drawing short horizontal lines at user-defined "centre" points of candles. These lines provide a quick visual reference to key price levels within each candle, such as midpoints, open, close, or typical prices. The indicator offers extensive customization for line appearance, positioning, and conditional display, including an option to highlight only bullish engulfing patterns.
Key Features:
1. Customizable Line Position:
o Users can choose from various methods to calculate the "centre" price for the line:
(High + Low) / 2 (Default)
(Open + Close) / 2
Close
Open
(Open + High + Low + Close) / 4 (HLCO/4)
(Open + High + Close) / 3 (Typical Price HLC/3 variation)
(Open + Close + Low) / 3 (Typical Price OCL/3 variation)
2. Line Appearance Customization:
o Visibility: Toggle lines on/off.
o Style: Solid, dotted, or dashed lines.
o Width: Adjustable line thickness (1 to 5).
o Length: Defines how many candles forward the line extends (1 to 10).
o Color: Lines are colored based on candle type (bullish/bearish), with user-selectable base colors.
o Dynamic Opacity: Line opacity is dynamically adjusted based on the candle's size relative to recent candles. Larger candles produce more opaque lines (up to the user-defined maximum opacity), while smaller candles result in more transparent lines. This helps significant candles stand out.
3. Price Labels:
o Show Labels: Option to display price labels at the end of each center line.
o Label Background Color: Customizable.
o Dynamic Text Color: Label text color can change based on the movement of the center price:
Green: Current center price is higher than the previous.
Red: Current center price is lower than the previous.
Gray: No change or first label.
o Static Text Color: Alternatively, a fixed color can be used for all labels.
4. Conditional Drawing - Bullish Engulfing Filter:
o Users can enable an option to Only Show Bullish Engulfing Candles. When active, center lines will only be drawn for candles that meet bullish engulfing criteria (current bull candle's body engulfs the previous bear candle's body).
5. Performance Management:
o Max Lines to Show: Limits the number of historical lines displayed on the chart to maintain clarity and performance. Older lines are automatically removed as new ones are drawn.
6. Alert Condition:
o Includes a built-in alert: Big Bullish Candle. This alert triggers when a bullish candle's range (high - low) is greater than the 20-period simple moving average (SMA) of candle ranges.
How It Works:
• For each new candle, the script calculates the "center" price based on the user's Line Position selection.
• If showLines is enabled and (if applicable) the bullish engulfing condition is met, a new line is drawn from the current candle's bar_index at the calculated _center price, extending lineLength candles forward.
• The line's color is determined by whether the candle is bullish (close > open) or bearish (close < open).
• Opacity is calculated dynamically: scaledOpacity = int((100 - maxUserOpacity) * (1 - dynamicFactor) + maxUserOpacity), where dynamicFactor is candleSize / maxSize (current candle size relative to the max size in the last 20 candles). This means maxUserOpacity is the least transparent the line will be (for the largest candles), and smaller candles will have lines approaching full transparency.
• Optional price labels are added at the end of these lines.
• The script manages an array of drawn lines, removing the oldest ones if the maxLines limit is exceeded.
Potential Use Cases:
• Visualizing Intra-Candle Levels: Quickly see midpoints or other key price points without manual drawing.
• Short-Term Reference Points: The extended lines can act as very short-term dynamic support/resistance or points of interest.
• Pattern Recognition: Highlight bullish engulfing patterns or simply emphasize candles based on their calculated center.
• Volatility Indication: The dynamic opacity can subtly indicate periods of larger or smaller candle ranges.
• Confirmation Tool: Use in conjunction with other indicators or trading strategies.
User Input Groups:
• Line Settings: Controls all aspects of the line's appearance and calculation.
• Label Settings: Manages the display and appearance of price labels.
• Other Settings: Contains options for line management and conditional filtering (like Bullish Engulfing).
This indicator provides a clean and customizable way to mark significant price levels within candles, aiding traders in their technical analysis.
Volume Candle Color (Continuous)Volume-Based Candle Color Indicator (Continuous Gradient)
Overview
Transform your charts with this advanced volume visualization tool that colors candles based on relative volume intensity using a smooth, continuous gradient . Unlike traditional step-based volume indicators, this script provides nuanced color transitions that make volume anomalies instantly visible.
Key Features
Continuous Color Gradient
Smooth transitions - No more discrete color steps
High volume = Bright, opaque colors that demand attention
Low volume = Faded, transparent colors that blend into background
Real-time adaptation to market conditions
Full Customization Control
Volume Range Settings: Define min/max volume ratios for optimal sensitivity
Transparency Control: Adjust brightness levels from 0-95%
Custom Colors: Choose your preferred bullish/bearish base colors
Moving Average Period: Customize the volume comparison timeframe (default: 30)
Enhanced Visualization
Optional Info Panel: Real-time display of volume metrics
Volume Ratio Plot: Additional pane showing volume ratio trends
Clean Interface: Non-intrusive overlay that enhances price action
How It Works
The indicator calculates relative volume by comparing current volume to a Simple Moving Average (SMA) of volume over your chosen period. This ratio is then mapped to a continuous color scale:
Volume Ratio > 2.0: Maximum intensity (brightest colors)
Volume Ratio 1.0: Average volume (medium intensity)
Volume Ratio < 0.5: Below average (most transparent)
Bullish Candles (Close > Open): Green gradient
Bearish Candles (Close < Open): Red gradient
Trading Applications
Volume Spread Analysis (VSA)
Perfect companion for VSA traders who need to quickly identify:
Climactic volume at key support/resistance levels
No demand situations with low volume
Professional money accumulation/distribution patterns
Breakout Confirmation
High volume breakouts: Immediately visible with bright colors
False breakouts: Revealed by low volume (faded colors)
Volume divergences: Spotted instantly through color intensity changes
Market Structure Analysis
Support/Resistance tests: Volume validation through color brightness
Trend strength: Continuous color feedback on volume participation
Market phases: Easy identification of accumulation vs distribution
Why Choose This Indicator?
Advantages Over Traditional Volume Indicators:
Instant Visual Feedback: No need to look at separate volume bars
Continuous Scale: More precise than discrete level systems
Customizable Sensitivity: Adapt to any market or timeframe
Clean Charts: Maintains focus on price action while adding volume context
Universal Application: Works on all instruments and timeframes
Settings Guide
Essential Settings:
Volume MA Period (30): Longer periods = smoother baseline, shorter = more sensitive
Min Volume Ratio (0.2): Lower values = more sensitivity to low volume
Max Volume Ratio (3.0): Higher values = accommodate extreme volume spikes
Transparency Range (10-85%): Adjust visual contrast to your preference
Pro Tips:
Day Trading: Use 10-20 period MA for quick volume changes
Swing Trading: Use 30-50 period MA for broader volume context
Lower transparency range (0-70%) for subtle effects
Higher transparency range (20-90%) for dramatic contrasts
Best Practices
Combine with Price Action: Use volume colors to confirm price patterns
Multiple Timeframes: Apply on different timeframes for comprehensive analysis
Market Context: Adjust sensitivity based on market volatility periods
Backtesting: Test settings on historical data before live trading
Perfect For:
Volume Spread Analysis practitioners
Breakout traders seeking confirmation
Market structure analysts
Anyone wanting cleaner, more intuitive volume visualization
Technical Specifications
Pine Script v6 - Latest version compatibility
Overlay Indicator - Works directly on price charts
Minimal Performance Impact - Optimized calculations
All Market Types - Stocks, Forex, Crypto, Futures
Transform your volume analysis today! Experience the difference continuous color gradients make in identifying high-probability trading opportunities.
Like and follow for more innovative trading tools!
MFI + RSI + EMA Dynamic SignalsThe MFI + RSI + EMA Dynamic Signals is a designed to combine with widened criteria to capture more trading opportunities, it balances momentum, trend, and flexibility, making it suitable for trading on timeframes like 15-minute to 4-hour charts.
How It Works
The indicator uses three technical components with relaxed criteria to produce signals:
Money Flow Index (MFI) for Momentum Extremes:
The MFI, calculated over a 14-period length, measures buying and selling pressure using price and volume. A buy signal can trigger when MFI crosses above the oversold level (default: 30, widened from 20), indicating potential buying pressure, while a sell signal can occur when MFI crosses below the overbought level (default: 70, widened from 80), suggesting selling pressure.
Relative Strength Index (RSI) for Momentum Confirmation:
The RSI, calculated over a 14-period length, confirms momentum strength. Bullish momentum is confirmed when RSI is above a buy threshold (default: 45, relaxed from 50), and bearish momentum when below a sell threshold (default: 55, relaxed from 50), allowing more signals near neutral momentum levels.
Exponential Moving Average (EMA) for Trend Sensitivity:
The indicator uses a fast EMA (default: 9 periods) and a slow EMA (default: 21 periods) to detect trend direction and crossovers. Signals can trigger when the fast EMA crosses the slow EMA, or when the fast EMA is within a proximity threshold (default: 0.5%) of the slow EMA, capturing early trend changes and increasing signal frequency.
Signal Generation
Signals are generated using the previous bar’s values to prevent repainting, with widened criteria for more frequent triggers:
Buy Signal: Either the MFI crosses above the oversold level or the fast EMA crosses above the slow EMA, and either RSI confirms bullish momentum (above 45) or the EMAs are near a crossover (within 0.5%). Displayed as a green upward triangle below the bar.
Sell Signal: Either the MFI crosses below the overbought level or the fast EMA crosses below the slow EMA, and either RSI confirms bearish momentum (below 55) or the EMAs are near a crossover (within 0.5%). Displayed as a red downward triangle above the bar.
Consolidation Range [BigBeluga]A hybrid volatility-volume indicator that isolates periods of price equilibrium and reveals the directional force behind each range buildup.
Consolidation Range is a powerful tool designed to detect compression phases in the market using volatility thresholds while visualizing volume imbalance within those phases. By combining low-volatility detection with directional volume delta, it highlights where accumulation or distribution is occurring—giving traders the confidence to act when breakouts follow. This indicator is particularly valuable in choppy or sideways markets where range identification and sentiment context are key.
🔵 CONCEPTS
Volatility Compression: Uses ADX (Average Directional Index) to detect periods of low trend strength—specifically when ADX drops below a configurable threshold.
Range Structure: Upon a low-volatility trigger, the script dynamically anchors horizontal upper and lower bounds based on local highs and lows.
Directional Volume Delta: Inside each active range, it calculates the net difference between buy and sell volume, showing who controlled the range.
Sentiment Bias: A label appears in the center of the zone on breakout, showing the accumulated delta and bias direction (▲ for positive, ▼ for negative).
Range Validity Filter: Only ranges with more than 15 bars are considered valid—short-lived consolidations are auto-filtered.
🔵 KEY FEATURES
Detects low volatility market phases using ADX logic (crosses under "Volatility Threshold Input").
Automatically plots adaptive consolidation zones with upper and lower boundary lines.
Includes dynamic midline to visualize the price average inside the range.
Visual range is filled with a progressive gradient to reflect distance between highs and lows.
When the range is active, the indicator accumulates volume delta (Buy - Sell volume) .
Upon breakout, the total volume delta is displayed at the midpoint , providing insight into market sentiment during the consolidation phase.
Filters out weak or short-lived consolidations under 15 bars.
🔵 HOW TO USE
Spot ranging or compression zones with minimal effort.
Use breakouts with volume delta bias to assess the strength or weakness of moves.
Combine with trend-following tools or volume-based confirmation for stronger setups.
Apply to higher timeframes for macro consolidation tracking .
🔵 CONCLUSION
Consolidation Range now brings together volatility filtering and directional volume delta into one smart module. This hybrid logic allows traders to not only identify balance zones but also understand who was in control during the buildup—offering a sharper edge for breakout and trend continuation strategies.
CVD VWAP (1m CVD, Daily/Weekly + EMA + WMA)🟠 CVD VWAP (1m CVD, Daily/Weekly + EMA + WMA)
This custom indicator combines Cumulative Volume Delta (CVD) with a VWAP-style calculation, built on 1-minute resolution data, and includes smoothed trend analysis via EMA and WMA.
🔍 Key Features:
1-Minute CVD Calculation:
Captures buying vs. selling pressure by comparing close vs. open price per minute.
CVD-Based VWAP:
A custom VWAP that uses CVD instead of price, reset Daily or Weekly (user-selectable). This helps identify volume-weighted mean "pressure" rather than price-weighted mean value.
Smoothed Trend Lines:
EMA (Exponential Moving Average): Applied to the CVD to show short-term momentum shifts.
WMA (Weighted Moving Average): Highlights trend strength and sensitivity with adjustable period, thickness, and color.
Flexible Visuals:
Adjustable thickness for each line.
Displayed in a separate pane for clear analysis, independent of price action.
⚙️ Inputs:
VWAP Reset Mode: Choose between Daily or Weekly reset.
EMA Period & Thickness
WMA Period, Color & Thickness
🧠 Use Cases:
Detect divergence between price and CVD-based VWAP.
Monitor trend alignment via CVD, EMA, and WMA.
Evaluate volume-driven moves, especially during session opens or key volume spikes.
💡 Ideal for traders focused on volume-based analysis, order flow insights, or those looking to enhance VWAP strategies using a more nuanced approach with CVD.
Volume-Weighted SMI with Divergence Alerts📊 Volume-Weighted SMI with Divergence Alerts
This indicator is a modified version of the Stochastic Momentum Index (SMI) that incorporates volume-weighting to give more significance to price movements during high-volume periods. It also includes optional divergence alerts for improved signal precision.
🔍 Key Features:
Volume-Weighted SMI: Enhances the traditional SMI by amplifying signals during high-volume conditions.
WMA Smoothing: Applies a weighted moving average for clearer trend structure.
Custom Thresholds: Adjustable upper and lower bounds (default ±80) to identify overbought/oversold zones.
Divergence Alerts:
Detects bullish divergence (price makes lower lows, SMI makes higher lows).
Detects bearish divergence (price makes higher highs, SMI makes lower highs).
Sends alerts without plotting markers to keep your chart clean.
⚙️ Inputs:
SMI Length: Lookback for high/low range.
K Smoothing: Smooths the volume-weighted SMI signal.
WMA Length: Period of the WMA applied to the smoothed SMI.
Upper/Lower Threshold: Custom levels for signal zones.
Pivot Lookback: Defines the swing structure used in divergence detection.
🔔 Alerts:
Set a TradingView alert on:
“Any alert() function call”
to receive real-time divergence notifications (bullish or bearish) directly from the indicator.
🧠 How to Use:
Look for crossovers of the WMA with the SMI line to confirm shifts in momentum.
Use threshold levels for overbought/oversold identification.
Watch for divergence alerts to anticipate potential reversals or exhaustion.
Volume and Volatility Ratio Indicator-WODI策略名称
交易量与波动率比例策略-WODI
一、用户自定义参数
vol_length:交易量均线长度,计算基础交易量活跃度。
index_short_length / index_long_length:指数短期与长期均线长度,用于捕捉中短期与中长期趋势。
index_magnification:敏感度放大倍数,调整指数均线的灵敏度。
index_threshold_magnification:阈值放大因子,用于动态过滤噪音。
lookback_bars:形态检测回溯K线根数,用于捕捉反转模式。
fib_tp_ratio / fib_sl_ratio:斐波那契止盈与止损比率,分别对应黄金分割(0.618/0.382 等)级别。
enable_reversal:反转信号开关,开启后将原有做空信号反向为做多信号,用于单边趋势加仓。
二、核心计算逻辑
交易量百分比
使用 ta.sma 计算 vol_ma,并得到 vol_percent = volume / vol_ma * 100。
价格波动率
volatility = (high – low) / close * 100。
构建复合指数
volatility_index = vol_percent * volatility,并分别计算其短期与长期均线(乘以 index_magnification)。
动态阈值
index_threshold = index_long_ma * index_threshold_magnification,过滤常规波动。
三、信号生成与策略执行
做多/做空信号
当短期指数均线自下而上突破长期均线,且 volatility_index 突破 index_threshold 时,发出做多信号。
当短期指数均线自上而下跌破长期均线,且 volatility_index 跌破 index_threshold 时,发出做空信号。
反转信号模式(可选)
若 enable_reversal = true,则所有做空信号反向为做多,用于在强趋势行情中加仓。
止盈止损管理
进场后自动设置斐波那契止盈位(基于入场价 × fib_tp_ratio)和止损位(入场价 × fib_sl_ratio)。
支持多级止盈:可依次以 0.382、0.618 等黄金分割比率分批平仓。
四、图表展示
策略信号标记:图上用箭头标明每次做多/做空(或反转加仓)信号。
斐波那契区间:在K线图中显示止盈/止损水平线。
复合指数与阈值线:与原版相同,在独立窗口绘制短、长期指数均线、指数曲线及阈值。
量能柱状:高于均线时染色,反转模式时额外高亮。
Strategy Name
Volume and Volatility Ratio Strategy – WODI
1. User-Defined Parameters
vol_length: Length for volume SMA.
index_short_length / index_long_length: Short and long MA lengths for the composite index.
index_magnification: Sensitivity multiplier for index MAs.
index_threshold_magnification: Threshold multiplier to filter noise.
lookback_bars: Number of bars to look back for pattern detection.
fib_tp_ratio / fib_sl_ratio: Fibonacci take-profit and stop-loss ratios (e.g. 0.618, 0.382).
enable_reversal: Toggle for reversal mode; flips short signals to long for trend-following add-on entries.
2. Core Calculation
Volume Percentage:
vol_ma = ta.sma(volume, vol_length)
vol_percent = volume / vol_ma * 100
Volatility:
volatility = (high – low) / close * 100
Composite Index:
volatility_index = vol_percent * volatility
Short/long MAs applied and scaled by index_magnification.
Dynamic Threshold:
index_threshold = index_long_ma * index_threshold_magnification.
3. Signal Generation & Execution
Long/Short Entries:
Long when short MA crosses above long MA and volatility_index > index_threshold.
Short when short MA crosses below long MA and volatility_index < index_threshold.
Reversal Mode (optional):
If enable_reversal is on, invert all short entries to long to scale into trending moves.
Fibonacci Take-Profit & Stop-Loss:
Automatically set TP/SL levels at entry price × respective Fibonacci ratios.
Supports multi-stage exits at 0.382, 0.618, etc.
4. Visualization
Signal Arrows: Marks every long/short or reversal-add signal on the chart.
Fibonacci Zones: Plots TP/SL lines on the price panel.
Index & Threshold: Same as v1.0, with MAs, index curve, and threshold in a separate sub-window.
Volume Bars: Colored when above vol_ma; extra highlight if a reversal-add signal triggers
S/R with Multi-Indicator ConsensusThis script identifies key support and resistance levels by analyzing consensus across multiple technical indicators. Here's how it works:
Core Concept
The script monitors 14 different technical indicators simultaneously, looking for areas where most indicators agree on potential reversal points. When a strong consensus emerges (over 60% agreement by default), it marks these price levels as significant support or resistance zones.
Indicator Analysis
The script uses an advanced "harmonic convergence" technique that examines:
Momentum indicators (RSI, Stochastic, Williams %R)
Volume-based indicators (OBV, MFI)
Trend indicators (MACD, WaveTrend)
Volatility measures (ATR, Bollinger Bands)
Special proprietary oscillators (RVI, Ultimate Oscillator)
Each indicator is normalized to a 0-100 scale for consistent comparison. The script then applies a "quantum weighting" algorithm that gives more importance to indicators showing extreme readings.
Support/Resistance Identification
When multiple indicators simultaneously reach overbought or oversold conditions near the same price level, the script:
Records these "harmonic convergence points"
Applies volume-based weighting (heavier volume = stronger level)
Uses time decay to fade older, less relevant levels
Groups nearby levels using a proprietary "price magnetism" algorithm
Visual Features
Colored Lines: Red for resistance, green for support
Line Styles: Solid (strong), dashed (medium), dotted (weak)
Dynamic Width: Thicker lines indicate stronger consensus
Info Labels: Show price, strength percentage, and touch count
Info Table: Displays key statistics in the corner
In this script, "Consensus Type" refers to whether the majority of indicators are signaling a potential support (oversold) or resistance (overbought) level.
How It Works:
The script checks multiple normalized indicators (RSI, Stochastic, MACD, OBV, etc.) to see if they are in overbought (OB) or oversold (OS) zones.
It calculates a consensus score (0% to 100%) based on how many indicators agree:
Type = 1 → Most indicators are in overbought (resistance likely).
Type = -1 → Most indicators are in oversold (support likely).
Type = 0 → No clear consensus (neutral).
The strength of the signal depends on the consensus score (higher = stronger level).
Example:
If RSI, Stochastic, and MACD are all in overbought territory (above ob_threshold), the script detects a Type 1 (Resistance).
If Williams %R, CCI, and OBV are oversold (below os_threshold), it detects a Type -1 (Support).
Why It Matters:
Helps traders identify high-probability reversal zones.
Filters out weak levels where indicators don’t agree.
Works alongside volume weighting & time decay to prioritize the strongest S/R levels.
The Info Table in the top-right corner shows the current Consensus Type (1, -1, or 0) and its strength (e.g., 75% means 75% of indicators agree on resistance/support).
Float, Daily % Change & Short %This TradingView Pine Script displays a compact table on your chart showing four key metrics for any stock:
📊 What It Shows:
Float – Number of publicly available shares, formatted in K/M/B.
Daily % Change – Price change from yesterday’s close to the current price.
Intraday % Change – Price change from today’s open to the current price.
Short Volume % – Estimated short volume as a percentage of total daily volume.
⚙️ How to Use:
Add the script to your TradingView chart.
Choose table size and screen position from the settings panel.
The values update in real-time on the latest candle only, so they stay out of the way but always visible.
Ideal for momentum traders, short float hunters, and day traders who need quick access to real-time float, price action, and short volume stats.