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.
Analisis Trend
Auto AI Trendlines [TradingFinder] Clustering & Filtering Trends🔵 Introduction
Auto AI trendlines Clustering & Filtering Trends Indicator, draws a variety of trendlines. This auto plotting trendline indicator plots precise trendlines and regression lines, capturing trend dynamics.
Trendline trading is the strongest strategy in the financial market.
Regression lines, unlike trendlines, use statistical fitting to smooth price data, revealing trend slopes. Trendlines connect confirmed pivots, ensuring structural accuracy. Regression lines adapt dynamically.
The indicator’s ascending trendlines mark bullish pivots, while descending ones signal bearish trends. Regression lines extend in steps, reflecting momentum shifts. As the trend is your friend, this tool aligns traders with market flow.
Pivot-based trendlines remain fixed once confirmed, offering reliable support and resistance zones. Regression lines, adjusting to price changes, highlight short-term trend paths. Both are vital for traders across asset classes.
🔵 How to Use
There are four line types that are seen in the image below; Precise uptrend (green) and downtrend (red) lines connect exact price extremes, while Pivot-based uptrend and downtrend lines use significant swing points, both remaining static once formed.
🟣 Precise Trendlines
Trendlines only form after pivot points are confirmed, ensuring reliability. This reduces false signals in choppy markets. Regression lines complement with real-time updates.
The indicator always draws two precise trendlines on confirmed pivot points, one ascending and one descending. These are colored distinctly to mark bullish and bearish trends. They remain fixed, serving as structural anchors.
🟣 Dynamic Regression Lines
Regression lines, adjusting dynamically with price, reflect the latest trend slope for real-time analysis. Use these to identify trend direction and potential reversals.
Regression lines, updated dynamically, reflect real-time price trends and extend in steps. Ascending lines are green, descending ones orange, with shades differing from trendlines. This aids visual distinction.
🟣 Bearish Chart
A Bullish State emerges when uptrend lines outweigh or match downtrend lines, with recent upward momentum signaling a potential rise. Check the trend count in the state table to confirm, using it to plan long positions.
🟣 Bullish Chart
A Bearish State is indicated when downtrend lines dominate or equal uptrend lines, with recent downward moves suggesting a potential drop. Review the state table’s trend count to verify, guiding short position entries. The indicator reflects this shift for strategic planning.
🟣 Alarm
Set alerts for state changes to stay informed of Bullish or Bearish shifts without constant monitoring. For example, a transition to Bullish State may signal a buying opportunity. Toggle alerts On or Off in the settings.
🟣 Market Status
A table summarizes the chart’s status, showing counts of ascending and descending lines. This real-time overview simplifies trend monitoring. Check it to assess market bias instantly.
Monitor the table to track line counts and trend dominance.
A higher count of ascending lines suggests bullish bias. This helps traders align with the prevailing trend.
🔵 Settings
Number of Trendlines : Sets total lines (max 10, min 3), balancing chart clarity and trend coverage.
Max Look Back : Defines historical bars (min 50) for pivot detection, ensuring robust trendlines.
Pivot Range : Sets pivot sensitivity (min 2), adjusting trendline precision to market volatility.
Show Table Checkbox : Toggles display of a table showing ascending/descending line counts.
Alarm : Enable or Disable the alert.
🔵 Conclusion
The multi slopes indicator, blending pivot-based trendlines and dynamic regression lines, maps market trends with precision. Its dual approach captures both structural and short-term momentum.
Customizable settings, like trendline count and pivot range, adapt to diverse trading styles. The real-time table simplifies trend monitoring, enhancing efficiency. It suits forex, stocks, and crypto markets.
While trendlines anchor long-term trends, regression lines track intraday shifts, offering versatility. Contextual analysis, like price action, boosts signal reliability. This indicator empowers data-driven trading decisions.
Dynamic Range Filter with Trend Candlesticks (Zeiierman)█ Overview
Dynamic Range Filter with Trend Candlesticks (Zeiierman) is a volatility-responsive trend engine that adapts in real-time to market structure, offering a clean and intelligent visualization of directional bias. It blends dynamic range calculation with customizable smoothing techniques and layered trend confirmation logic, making it ideal for traders who rely on clear trend direction, structural range analysis, and momentum-based candlestick signals.
By measuring scaled volatility over configurable lengths and applying advanced moving average techniques, this indicator filters out market noise while preserving true directional intent. Complementing this, a dual-trend system (range-based and candle-based) enhances clarity and responsiveness, particularly during shifting market conditions.
█ How It Works
⚪ Scaled Volatility Band Calculation
At the core lies a volatility engine that constructs adaptive range bands around price using smoothed high/low calculations. The bands are dynamically adjusted using:
High/Low Smoothing – Applies a moving average to the raw high and low data before calculating the range.
Scaled Range Volatility – A 2.618 multiplier scales the distance between smoothed highs and lows, forming a responsive volatility envelope.
Band Multiplier – Controls how wide the upper/lower range bands extend from the mean.
This filtering process minimizes false signals and highlights only structurally meaningful moves.
⚪ Multi-Type Smoothing Engine
Users can choose from a wide array of smoothing algorithms for trend construction, including:
HMA (default), SMA, EMA, RMA
KAMA – Adapts to market volatility using efficiency ratios.
VIDYA – Momentum-sensitive smoothing using CMO logic.
FRAMA – Dynamically adjusts to fractal dimension in price.
Super Smoother – Ideal for eliminating aliasing in range signals.
This provides the trader with fine-tuned control over reactivity vs. smoothness.
⚪ Trend Detection (Dual Engine)
The indicator includes two independent trend tracking systems:
Main Trend Filter – Based on adaptive volatility band shifts.
Candle Trend Filter – A second-tier confirmation using smoothed candle data, ideal for directional candles and confirmation entries.
█ How to Use
⚪ Trend Confirmation
Use the Trend Line and colored candlesticks for high-probability entries in the trend direction. The more trend layers that align, the higher the confidence.
⚪ Reversal Zones
When the price reaches the outer bands or fails to break them, look for candle color shifts or a crossover in the range to anticipate possible reversals or consolidations.
█ Settings
Scaled Volatility Length – Controls the lookback used to stabilize the base volatility band.
MA Type & Length – Choose and fine-tune the smoothing method (HMA, EMA, KAMA, etc.)
High/Low Smoother – Pre-smoothing for structural high/low banding.
Band Multiplier – Adjusts the width of the dynamic bands.
Trend Length (Candles) – Length used for candle-based trend confirmation.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Institutional Volume Profile# Institutional Volume Profile (IVP) - Advanced Volume Analysis Indicator
## Overview
The Institutional Volume Profile (IVP) is a sophisticated technical analysis tool that combines traditional volume profile analysis with institutional volume detection algorithms. This indicator helps traders identify key price levels where significant institutional activity has occurred, providing insights into market structure and potential support/resistance zones.
## Key Features
### 🎯 Volume Profile Analysis
- **Point of Control (POC)**: Identifies the price level with the highest volume activity
- **Value Area**: Highlights the price range containing a specified percentage (default 70%) of total volume
- **Multi-Row Distribution**: Displays volume distribution across 10-50 price levels for detailed analysis
- **Customizable Period**: Analyze volume profiles over 10-500 bars
### 🏛️ Institutional Volume Detection
- **Pocket Pivot Volume (PPV)**: Detects bullish institutional buying when up-volume exceeds recent down-volume peaks
- **Pivot Negative Volume (PNV)**: Identifies bearish institutional selling when down-volume exceeds recent up-volume peaks
- **Accumulation Detection**: Spots potential accumulation phases with high volume and narrow price ranges
- **Distribution Analysis**: Identifies distribution patterns with high volume but minimal price movement
### 🎨 Visual Customization Options
- **Multiple Color Schemes**: Heat Map, Institutional, Monochrome, and Rainbow themes
- **Bar Styles**: Solid, Gradient, Outlined, and 3D Effect rendering
- **Volume Intensity Display**: Visual intensity based on volume magnitude
- **Flexible Positioning**: Left or right side profile placement
- **Current Price Highlighting**: Real-time price level indication
### 📊 Advanced Visual Features
- **Volume Labels**: Display volume amounts at key price levels
- **Gradient Effects**: Multi-step gradient rendering for enhanced visibility
- **3D Styling**: Shadow effects for professional appearance
- **Opacity Control**: Adjustable transparency (10-100%)
- **Border Customization**: Configurable border width and styling
## How It Works
### Volume Distribution Algorithm
The indicator analyzes each bar within the specified period and distributes its volume proportionally across the price levels it touches. This creates an accurate representation of where trading activity has been concentrated.
### Institutional Detection Logic
- **PPV Trigger**: Current up-bar volume > highest down-volume in lookback period + above volume MA
- **PNV Trigger**: Current down-bar volume > highest up-volume in lookback period + above volume MA
- **Accumulation**: High volume + narrow range + bullish close
- **Distribution**: Very high volume + minimal price movement
### Value Area Calculation
Starting from the POC, the algorithm expands both upward and downward, adding volume until reaching the specified percentage of total volume (default 70%).
## Configuration Parameters
### Profile Settings
- **Profile Period**: 10-500 bars (default: 50)
- **Number of Rows**: 10-50 levels (default: 24)
- **Profile Width**: 10-100% of screen (default: 30%)
- **Value Area %**: 50-90% (default: 70%)
### Institutional Analysis
- **PPV Lookback Days**: 5-20 periods (default: 10)
- **Volume MA Length**: 10-200 periods (default: 50)
- **Institutional Threshold**: 1.0-2.0x multiplier (default: 1.2)
### Visual Controls
- **Bar Style**: Solid, Gradient, Outlined, 3D Effect
- **Color Scheme**: Heat Map, Institutional, Monochrome, Rainbow
- **Profile Position**: Left or Right side
- **Opacity**: 10-100%
- **Show Labels**: Volume amount display toggle
## Interpretation Guide
### Volume Profile Elements
- **Thick Horizontal Bars**: High volume nodes (strong support/resistance)
- **Thin Horizontal Bars**: Low volume nodes (weak levels)
- **White Line (POC)**: Strongest support/resistance level
- **Blue Highlighted Area**: Value Area (fair value zone)
### Institutional Signals
- **Blue Triangles (PPV)**: Bullish institutional buying detected
- **Orange Triangles (PNV)**: Bearish institutional selling detected
- **Color-Coded Bars**: Different colors indicate institutional activity types
### Color Scheme Meanings
- **Heat Map**: Red (high volume) → Orange → Yellow → Gray (low volume)
- **Institutional**: Blue (PPV), Orange (PNV), Aqua (Accumulation), Yellow (Distribution)
- **Monochrome**: Grayscale intensity based on volume
- **Rainbow**: Color-coded by price level position
## Trading Applications
### Support and Resistance
- POC acts as dynamic support/resistance
- High volume nodes indicate strong price levels
- Low volume areas suggest potential breakout zones
### Institutional Activity
- PPV above Value Area: Strong bullish signal
- PNV below Value Area: Strong bearish signal
- Accumulation patterns: Potential upward breakouts
- Distribution patterns: Potential downward pressure
### Market Structure Analysis
- Value Area defines fair value range
- Profile shape indicates market sentiment
- Volume gaps suggest potential price targets
## Alert Conditions
- PPV Detection at current price level
- PNV Detection at current price level
- PPV above Value Area (strong bullish)
- PNV below Value Area (strong bearish)
## Best Practices
1. Use multiple timeframes for confirmation
2. Combine with price action analysis
3. Pay attention to volume context (above/below average)
4. Monitor institutional signals near key levels
5. Consider overall market conditions
## Technical Notes
- Maximum 500 boxes and 100 labels for optimal performance
- Real-time calculations update on each bar close
- Historical analysis uses complete bar data
- Compatible with all TradingView chart types and timeframes
---
*This indicator is designed for educational and informational purposes. Always combine with other analysis methods and risk management strategies.*
Precision Entry Signals (RSI + MA12 Logic)Description:
This script provides precise entry signals based on a clean confluence of MA12 breakouts and RSI momentum, filtered by a VWMA (Volume-Weighted Moving Average) of the RSI.
-----------------------------------------------------------------------------------------------------------------
🔹 Long entry conditions:
- Candle opens below the 12-period MA and closes above it
- RSI crosses above its VWMA
- Previous candle is bearish (additional confirmation)
🔹 Short entry conditions:
- Candle opens above the 12-period MA and closes below it
- RSI crosses below its VWMA
- Previous candle is bullish
----------------------------------------------------------------------------------------------------------------
Once a signal is confirmed, the script automatically draws:
Entry line (at close price)
Stop Loss line (just below recent lows for long, or above highs for short)
Take Profit 1 (1R)
Take Profit 2 (2R)
Labels are attached to the lines for clarity: ENTRY, SL, TP1, and TP2.
⚠️ Note: This tool only provides entry signals and visual risk/reward guidance. It does not manage exits dynamically. Manual trade management is recommended.
This script is intended for active intraday traders, especially on lower timeframes like 3-minute, 5-minute or 15-minute charts.
---------------------------------------------------------------------------------------------------------------
🔧 Recommended companion indicator:
For better confirmation and visual tracking of the RSI/VWMA cross logic, it is strongly recommended to also use the companion script:
🔹 Relative Strength Index (with MA based cross signals)
→ Shows RSI and its moving average visually, with triangle plots on every valid cross.
→ Matches exactly the RSI/VWMA behavior used in this entry signal script.
📌 Important:
After adding the RSI script to your chart, make sure to set:
RSI Length = 14
MA Type = VWMA
MA Length = 20
This ensures it visually matches the logic used by the entry signal script.
Both indicators are fully open source and meant to be used together — especially when trading manually.
ZigZag ProZigZag Pro is a precise market structure indicator that automatically detects two independent ZigZag patterns and highlights breakouts whenever significant highs or lows are breached.
The indicator calculates two separate ZigZag structures in real time. ZigZag1 captures the broader market swings and is ideal for trend or swing trading. ZigZag2 is optional and reacts more quickly – perfect for intraday or scalping setups. Both layers are fully customizable in terms of depth, color, and line width.
What makes this tool especially useful: whenever a previous swing high (for long trades) or swing low (for short trades) is broken, the indicator draws a horizontal breakout line on the chart. This makes it easy to spot structural breakouts and take advantage of potential momentum moves.
ZigZag Pro is designed for traders who rely on clean, rule-based market structure — whether you're trading classic breakouts, smart money concepts, or simply want a clearer view of trend shifts. The visuals are minimal, responsive, and suitable for any timeframe.
Ergodic Market Divergence (EMD)Ergodic Market Divergence (EMD)
Bridging Statistical Physics and Market Dynamics Through Ensemble Analysis
The Revolutionary Concept: When Physics Meets Trading
After months of research into ergodic theory—a fundamental principle in statistical mechanics—I've developed a trading system that identifies when markets transition between predictable and unpredictable states. This indicator doesn't just follow price; it analyzes whether current market behavior will persist or revert, giving traders a scientific edge in timing entries and exits.
The Core Innovation: Ergodic Theory Applied to Markets
What Makes Markets Ergodic or Non-Ergodic?
In statistical physics, ergodicity determines whether a system's future resembles its past. Applied to trading:
Ergodic Markets (Mean-Reverting)
- Time averages equal ensemble averages
- Historical patterns repeat reliably
- Price oscillates around equilibrium
- Traditional indicators work well
Non-Ergodic Markets (Trending)
- Path dependency dominates
- History doesn't predict future
- Price creates new equilibrium levels
- Momentum strategies excel
The Mathematical Framework
The Ergodic Score combines three critical divergences:
Ergodic Score = (Price Divergence × Market Stress + Return Divergence × 1000 + Volatility Divergence × 50) / 3
Where:
Price Divergence: How far current price deviates from market consensus
Return Divergence: Momentum differential between instrument and market
Volatility Divergence: Volatility regime misalignment
Market Stress: Adaptive multiplier based on current conditions
The Ensemble Analysis Revolution
Beyond Single-Instrument Analysis
Traditional indicators analyze one chart in isolation. EMD monitors multiple correlated markets simultaneously (SPY, QQQ, IWM, DIA) to detect systemic regime changes. This ensemble approach:
Reveals Hidden Divergences: Individual stocks may diverge from market consensus before major moves
Filters False Signals: Requires broader market confirmation
Identifies Regime Shifts: Detects when entire market structure changes
Provides Context: Shows if moves are isolated or systemic
Dynamic Threshold Adaptation
Unlike fixed-threshold systems, EMD's boundaries evolve with market conditions:
Base Threshold = SMA(Ergodic Score, Lookback × 3)
Adaptive Component = StDev(Ergodic Score, Lookback × 2) × Sensitivity
Final Threshold = Smoothed(Base + Adaptive)
This creates context-aware signals that remain effective across different market environments.
The Confidence Engine: Know Your Signal Quality
Multi-Factor Confidence Scoring
Every signal receives a confidence score based on:
Signal Clarity (0-35%): How decisively the ergodic threshold is crossed
Momentum Strength (0-25%): Rate of ergodic change
Volatility Alignment (0-20%): Whether volatility supports the signal
Market Quality (0-20%): Price convergence and path dependency factors
Real-Time Confidence Updates
The Live Confidence metric continuously updates, showing:
- Current opportunity quality
- Market state clarity
- Historical performance influence
- Signal recency boost
- Visual Intelligence System
Adaptive Ergodic Field Bands
Dynamic bands that expand and contract based on market state:
Primary Color: Ergodic state (mean-reverting)
Danger Color: Non-ergodic state (trending)
Band Width: Expected price movement range
Squeeze Indicators: Volatility compression warnings
Quantum Wave Ribbons
Triple EMA system (8, 21, 55) revealing market flow:
Compressed Ribbons: Consolidation imminent
Expanding Ribbons: Directional move developing
Color Coding: Matches current ergodic state
Phase Transition Signals
Clear entry/exit markers at regime changes:
Bull Signals: Ergodic restoration (mean reversion opportunity)
Bear Signals: Ergodic break (trend following opportunity)
Confidence Labels: Percentage showing signal quality
Visual Intensity: Stronger signals = deeper colors
Professional Dashboard Suite
Main Analytics Panel (Top Right)
Market State Monitor
- Current regime (Ergodic/Non-Ergodic)
- Ergodic score with threshold
- Path dependency strength
- Quantum coherence percentage
Divergence Metrics
- Price divergence with severity
- Volatility regime classification
- Strategy mode recommendation
- Signal strength indicator
Live Intelligence
- Real-time confidence score
- Color-coded risk levels
- Dynamic strategy suggestions
Performance Tracking (Left Panel)
Signal Analytics
- Total historical signals
- Win rate with W/L breakdown
- Current streak tracking
- Closed trade counter
Regime Analysis
- Current market behavior
- Bars since last signal
- Recommended actions
- Average confidence trends
Strategy Command Center (Bottom Right)
Adaptive Recommendations
- Active strategy mode
- Primary approach (mean reversion/momentum)
- Suggested indicators ("weapons")
- Entry/exit methodology
- Risk management guidance
- Comprehensive Input Guide
Core Algorithm Parameters
Analysis Period (10-100 bars)
Scalping (10-15): Ultra-responsive, more signals, higher noise
Day Trading (20-30): Balanced sensitivity and stability
Swing Trading (40-100): Smooth signals, major moves only Default: 20 - optimal for most timeframes
Divergence Threshold (0.5-5.0)
Hair Trigger (0.5-1.0): Catches every wiggle, many false signals
Balanced (1.5-2.5): Good signal-to-noise ratio
Conservative (3.0-5.0): Only extreme divergences Default: 1.5 - best risk/reward balance
Path Memory (20-200 bars)
Short Memory (20-50): Recent behavior focus, quick adaptation
Medium Memory (50-100): Balanced historical context
Long Memory (100-200): Emphasizes established patterns Default: 50 - captures sufficient history without lag
Signal Spacing (5-50 bars)
Aggressive (5-10): Allows rapid-fire signals
Normal (15-25): Prevents clustering, maintains flow
Conservative (30-50): Major setups only Default: 15 - optimal trade frequency
Ensemble Configuration
Select markets for consensus analysis:
SPY: Broad market sentiment
QQQ: Technology leadership
IWM: Small-cap risk appetite
DIA: Blue-chip stability
More instruments = stronger consensus but potentially diluted signals
Visual Customization
Color Themes (6 professional options):
Quantum: Cyan/Pink - Modern trading aesthetic
Matrix: Green/Red - Classic terminal look
Heat: Blue/Red - Temperature metaphor
Neon: Cyan/Magenta - High contrast
Ocean: Turquoise/Coral - Calming palette
Sunset: Red-orange/Teal - Warm gradients
Display Controls:
- Toggle each visual component
- Adjust transparency levels
- Scale dashboard text
- Show/hide confidence scores
- Trading Strategies by Market State
- Ergodic State Strategy (Primary Color Bands)
Market Characteristics
- Price oscillates predictably
- Support/resistance hold
- Volume patterns repeat
- Mean reversion dominates
Optimal Approach
Entry: Fade moves at band extremes
Target: Middle band (equilibrium)
Stop: Just beyond outer bands
Size: Full confidence-based position
Recommended Tools
- RSI for oversold/overbought
- Bollinger Bands for extremes
- Volume profile for levels
- Non-Ergodic State Strategy (Danger Color Bands)
Market Characteristics
- Price trends persistently
- Levels break decisively
- Volume confirms direction
- Momentum accelerates
Optimal Approach
Entry: Breakout from bands
Target: Trail with expanding bands
Stop: Inside opposite band
Size: Scale in with trend
Recommended Tools
- Moving average alignment
- ADX for trend strength
- MACD for momentum
- Advanced Features Explained
Quantum Coherence Metric
Measures phase alignment between individual and ensemble behavior:
80-100%: Perfect sync - strong mean reversion setup
50-80%: Moderate alignment - mixed signals
0-50%: Decoherence - trending behavior likely
Path Dependency Analysis
Quantifies how much history influences current price:
Low (<30%): Technical patterns reliable
Medium (30-50%): Mixed influences
High (>50%): Fundamental shift occurring
Volatility Regime Classification
Contextualizes current volatility:
Normal: Standard strategies apply
Elevated: Widen stops, reduce size
Extreme: Defensive mode required
Signal Strength Indicator
Real-time opportunity quality:
- Distance from threshold
- Momentum acceleration
- Cross-validation factors
Risk Management Framework
Position Sizing by Confidence
90%+ confidence = 100% position size
70-90% confidence = 75% position size
50-70% confidence = 50% position size
<50% confidence = 25% or skip
Dynamic Stop Placement
Ergodic State: ATR × 1.0 from entry
Non-Ergodic State: ATR × 2.0 from entry
Volatility Adjustment: Multiply by current regime
Multi-Timeframe Alignment
- Check higher timeframe regime
- Confirm ensemble consensus
- Verify volume participation
- Align with major levels
What Makes EMD Unique
Original Contributions
First Ergodic Theory Trading Application: Transforms abstract physics into practical signals
Ensemble Market Analysis: Revolutionary multi-market divergence system
Adaptive Confidence Engine: Institutional-grade signal quality metrics
Quantum Coherence: Novel market alignment measurement
Smart Signal Management: Prevents clustering while maintaining responsiveness
Technical Innovations
Dynamic Threshold Adaptation: Self-adjusting sensitivity
Path Memory Integration: Historical dependency weighting
Stress-Adjusted Scoring: Market condition normalization
Real-Time Performance Tracking: Built-in strategy analytics
Optimization Guidelines
By Timeframe
Scalping (1-5 min)
Period: 10-15
Threshold: 0.5-1.0
Memory: 20-30
Spacing: 5-10
Day Trading (5-60 min)
Period: 20-30
Threshold: 1.5-2.5
Memory: 40-60
Spacing: 15-20
Swing Trading (1H-1D)
Period: 40-60
Threshold: 2.0-3.0
Memory: 80-120
Spacing: 25-35
Position Trading (1D-1W)
Period: 60-100
Threshold: 3.0-5.0
Memory: 100-200
Spacing: 40-50
By Market Condition
Trending Markets
- Increase threshold
- Extend memory
- Focus on breaks
Ranging Markets
- Decrease threshold
- Shorten memory
- Focus on restores
Volatile Markets
- Increase spacing
- Raise confidence requirement
- Reduce position size
- Integration with Other Analysis
- Complementary Indicators
For Ergodic States
- RSI divergences
- Bollinger Band squeezes
- Volume profile nodes
- Support/resistance levels
For Non-Ergodic States
- Moving average ribbons
- Trend strength indicators
- Momentum oscillators
- Breakout patterns
- Fundamental Alignment
- Check economic calendar
- Monitor sector rotation
- Consider market themes
- Evaluate risk sentiment
Troubleshooting Guide
Too Many Signals:
- Increase threshold
- Extend signal spacing
- Raise confidence minimum
Missing Opportunities
- Decrease threshold
- Reduce signal spacing
- Check ensemble settings
Poor Win Rate
- Verify timeframe alignment
- Confirm volume participation
- Review risk management
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results.
The ergodic framework provides unique market insights but cannot predict future price movements with certainty. Always use proper risk management, conduct your own analysis, and never risk more than you can afford to lose.
This tool should complement, not replace, comprehensive trading strategies and sound judgment. Markets remain inherently unpredictable despite advanced analysis techniques.
Transform market chaos into trading clarity with Ergodic Market Divergence.
Created with passion for the TradingView community
Trade with insight. Trade with anticipation.
— Dskyz , for DAFE Trading Systems
CCI Divergence Detector
A technical analysis tool that identifies divergences between price action and the Commodity Channel Index (CCI) oscillator. Unlike standard divergence indicators, this system employs advanced gradient visualization, multi-layer wave effects, and comprehensive customization options to provide traders with crystal-clear divergence signals and market momentum insights.
Core Detection Mechanism
CCI-Based Analysis: The indicator utilizes the Commodity Channel Index as its primary oscillator, calculated from user-configurable source data (default: HLC3) with adjustable length parameters. The CCI provides reliable momentum readings that effectively highlight price-momentum divergences.
Dynamic Pivot Detection: The system employs adaptive pivot detection with three sensitivity levels (High/Normal/Low) to identify significant highs and lows in both price and CCI values. This dynamic approach ensures optimal divergence detection across different market conditions and timeframes.
Dual Divergence Analysis:
Regular Bullish Divergences: Detected when price makes lower lows while CCI makes higher lows, indicating potential upward reversal
Regular Bearish Divergences: Identified when price makes higher highs while CCI makes lower highs, signaling potential downward reversal
Strength Classification System: Each detected divergence is automatically classified into three strength categories (Weak/Moderate/Strong) based on:
-Price differential magnitude
-CCI differential magnitude
-Time duration between pivot points
-User-configurable strength multiplier
Advanced Visual System
Multi-Layer Wave Effects: The indicator features a revolutionary wave visualization system that creates depth through multiple gradient layers around the CCI line. The wave width dynamically adjusts based on ATR volatility, providing intuitive visual feedback about market conditions.
Professional Color Gradient System: Nine independent color inputs control every visual aspect:
Bullish Colors (Light/Medium/Dark): Control oversold areas, wave effects, and strong bullish signals
Bearish Colors (Light/Medium/Dark): Manage overbought zones, wave fills, and strong bearish signals
Neutral Colors (Light/Medium/Dark): Handle table elements, zero line, and transitional states
Intelligent Color Mapping: Colors automatically adapt based on CCI values:
Overbought territory (>100): Bearish color gradients with increasing intensity
Neutral positive (0 to 100): Blend from neutral to bearish tones
Oversold territory (<-100): Bullish color gradients with increasing intensity
Neutral negative (-100 to 0): Transition from neutral to bullish tones
Key Features & Components
Advanced Configuration System: Eight organized input groups provide granular control:
General Settings: System enable, pivot length, confidence thresholds
Oscillator Selection: CCI parameters, overbought/oversold levels, normalization options
Detection Parameters: Divergence types, minimum strength requirements
Sensitivity Tuning: Pivot sensitivity, divergence threshold, confirmation bars
Visual System: Line thickness, labels, backgrounds, table display
Wave Effects: Dynamic width, volatility response, layer count, glow effects
Transparency Controls: Independent transparency for all visual elements
Smoothing & Filtering: CCI smoothing types, noise filtering, wave smoothing
Professional Alert System: Comprehensive alert functionality with dynamic messages including:
-Divergence type and strength classification
-Current CCI value and confidence percentage
-Customizable alert frequency and conditions
Enhanced Information Table: Real-time display showing:
-Current CCI length and value
-Market status (Overbought/Normal/Oversold)
-Active sensitivity setting
Configurable table positioning (4 corner options)
Visual Elements Explained
Primary CCI Line: Main oscillator plot with gradient coloring that reflects market momentum and CCI intensity. Line thickness is user-configurable (1-8 pixels).
Wave Effect Layers: Multi-layer gradient fills creating a dynamic wave around the
CCI line:
-Outer layers provide broad market context
-Inner layers highlight immediate momentum
-Core layers show precise CCI movement
-All layers respond to volatility and momentum changes
Divergence Lines & Labels:
-Solid lines connecting divergence pivot points
-Color-coded based on divergence type and strength
-Labels displaying divergence type and strength classification
-Customizable transparency and size options
Reference Lines:
-Zero line with neutral color coding
-Overbought level (default: 100) with bearish coloring
-Oversold level (default: -100) with bullish coloring
Background Gradient: Optional background coloring that reflects CCI intensity and market conditions with user-controlled transparency (80-99%).
Configuration Options
Sensitivity Controls:
Pivot sensitivity: High/Normal/Low detection levels
Divergence threshold: 0.1-2.0 sensitivity range
Confirmation bars: 1-5 bar confirmation requirement
Strength multiplier: 0.1-3.0 calculation adjustment
Visual Customization:
Line transparency: 0-90% for main elements
Wave transparency: 0-95% for fill effects
Background transparency: 80-99% for subtle background
Label transparency: 0-50% for text elements
Glow transparency: 50-95% for glow effects
Advanced Processing:
Five smoothing types: None/SMA/EMA/RMA/WMA
Noise filtering with adjustable threshold (0.1-10.0)
CCI normalization for enhanced gradient scaling
Dynamic wave width with ATR-based volatility response
Interpretation Guidelines
Divergence Signals:
Strong divergences: High-confidence reversal signals requiring immediate attention
Moderate divergences: Reliable signals suitable for most trading strategies
Weak divergences: Early warning signals best combined with additional confirmation
Wave Intensity: Wave width and color intensity provide real-time volatility and momentum feedback. Wider, more intense waves indicate higher market volatility and stronger momentum.
Color Transitions: Smooth color transitions between bullish, neutral, and bearish states help identify market regime changes and momentum shifts.
CCI Levels: Traditional overbought (>100) and oversold (<-100) levels remain relevant, but the gradient system provides more nuanced momentum reading between these extremes.
Technical Specifications
Compatible Timeframes: All timeframes supported
Maximum Labels: 500 (for divergence marking)
Maximum Lines: 500 (for divergence drawing)
Pine Script Version: v5 (latest optimization)
Overlay Mode: False (separate pane indicator)
Usage Recommendations
This indicator works best when:
-Combined with price action analysis and support/resistance levels
-Used across multiple timeframes for confirmation
-Integrated with proper risk management protocols
-Applied in trending markets for divergence-based reversal signals
-Utilized with other technical indicators for comprehensive analysis
Risk Disclaimer: Trading involves substantial risk of loss. This indicator is provided for analytical purposes only and does not constitute financial advice. Divergence signals, while powerful, are not guaranteed to predict future price movements. Past performance is not indicative of future results. Always use proper risk management and never trade with capital you cannot afford to lose.
Strategy Builder With IndicatorsThis strategy script is designed for traders who enjoy building systems using multiple indicators.
Please note : This script does not include any built-in indicators. Instead, it works by referencing the plot outputs of the indicators you’ve already added to your chart.
For example, if you add a MACD and an ATR indicator to your chart, you can assign their plot values as inputs in the settings panel of this strategy.
• MACD as a trigger
• ATR as a filter
How Filters Work
Filters check whether certain conditions are met before a trade can be opened. For instance, if you set a filter like ATR > 30, then no trade will be executed unless that condition is true — even if the trigger fires.
All filters are linked, meaning every active filter must be satisfied for a trade to occur.
How Triggers Work
Triggers are what actually fire a trade signal — such as a moving average crossover or RSI breaking above a specific level. Unlike filters, triggers are independent. Only one active trigger needs to be true for the trade to execute.
Thanks to its modular structure, this strategy can be used with any indicator of your choice.
⸻
Risk Management Features
In the settings, you’ll find flexible options for:
• Stop Loss (SL)
• Trailing Stop Loss (TSL)
• Multi Take-Profit (TP)
These features enhance trade safety and let you tailor your risk management.
SL types available:
• Tick-based SL
• Percent-based SL
• ATR-based SL
Once you select your preferred SL type, you can fine-tune its distance using the offset field.
Trailing SL allows your stop to follow price as it moves in your favor — helping to lock in profits.
Multi-TP lets you take profits at two different levels, helping you secure gains while leaving room for extended moves.
Breakeven option is also available to automatically move your SL to entry after reaching a profit threshold.
⸻
How to Build a Solid Strategy
Let’s break down a good setup into three key components:
1. Trend Filter
Avoid trading against the trend — that’s like swimming against the current.
Use a filter like:
• Supertrend
• Momentum indicators
• Candlestick bias, etc.
Example: In this case, I used Supertrend and filtered for trades only if the price is above the uptrend line.
2. Trigger Condition
Once we confirm the trend is on our side, we need a trigger to execute at the right moment. This can be:
• RSI cross
• Candlestick patterns
• Trendline breaks
• Moving average crossovers, etc.
Example: I used RSI crossing above 50 as the entry trigger.
3. Risk Management
Even in the right trend at the right time — anything can happen. That’s why you should always define Stop Loss and Take Profit levels.
⸻
And there you have it! Your strategy is ready to backtest, refine, and deploy with alerts for live trading.
If you’d like a step-by-step guide on how to use this strategy and set everything up correctly, watch this video tutorial:
youtu.be
Questions or suggestions? Feel free to reach out
magic wand STSM"Magic Wand STSM" Strategy: Trend-Following with Dynamic Risk Management
Overview:
The "Magic Wand STSM" (Supertrend & SMA Momentum) is an automated trading strategy designed to identify and capitalize on sustained trends in the market. It combines a multi-timeframe Supertrend for trend direction and potential reversal signals, along with a 200-period Simple Moving Average (SMA) for overall market bias. A key feature of this strategy is its dynamic position sizing based on a user-defined risk percentage per trade, and a built-in daily and monthly profit/loss tracking system to manage overall exposure and prevent overtrading.
How it Works (Underlying Concepts):
Multi-Timeframe Trend Confirmation (Supertrend):
The strategy uses two Supertrend indicators: one on the current chart timeframe and another on a higher timeframe (e.g., if your chart is 5-minute, the higher timeframe Supertrend might be 15-minute).
Trend Identification: The Supertrend's direction output is crucial. A negative direction indicates a bearish trend (price below Supertrend), while a positive direction indicates a bullish trend (price above Supertrend).
Confirmation: A core principle is that trades are only considered when the Supertrend on both the current and the higher timeframe align in the same direction. This helps to filter out noise and focus on stronger, more confirmed trends. For example, for a long trade, both Supertrends must be indicating a bearish trend (price below Supertrend line, implying an uptrend context where price is expected to stay above/rebound from Supertrend). Similarly, for short trades, both must be indicating a bullish trend (price above Supertrend line, implying a downtrend context where price is expected to stay below/retest Supertrend).
Trend "Readiness": The strategy specifically looks for situations where the Supertrend has been stable for a few bars (checking barssince the last direction change).
Long-Term Market Bias (200 SMA):
A 200-period Simple Moving Average is plotted on the chart.
Filter: For long trades, the price must be above the 200 SMA, confirming an overall bullish bias. For short trades, the price must be below the 200 SMA, confirming an overall bearish bias. This acts as a macro filter, ensuring trades are taken in alignment with the broader market direction.
"Lowest/Highest Value" Pullback Entries:
The strategy employs custom functions (LowestValueAndBar, HighestValueAndBar) to identify specific price action within the recent trend:
For Long Entries: It looks for a "buy ready" condition where the price has found a recent lowest point within a specific number of bars since the Supertrend turned bearish (indicating an uptrend). This suggests a potential pullback or consolidation before continuation. The entry trigger is a close above the open of this identified lowest bar, and also above the current bar's open.
For Short Entries: It looks for a "sell ready" condition where the price has found a recent highest point within a specific number of bars since the Supertrend turned bullish (indicating a downtrend). This suggests a potential rally or consolidation before continuation downwards. The entry trigger is a close below the open of this identified highest bar, and also below the current bar's open.
Candle Confirmation: The strategy also incorporates a check on the candle type at the "lowest/highest value" bar (e.g., closevalue_b < openvalue_b for buy signals, meaning a bearish candle at the low, suggesting a potential reversal before a buy).
Risk Management and Position Sizing:
Dynamic Lot Sizing: The lotsvalue function calculates the appropriate position size based on your Your Equity input, the Risk to Reward ratio, and your risk percentage for your balance % input. This ensures that the capital risked per trade remains consistent as a percentage of your equity, regardless of the instrument's volatility or price. The stop loss distance is directly used in this calculation.
Fixed Risk Reward: All trades are entered with a predefined Risk to Reward ratio (default 2.0). This means for every unit of risk (stop loss distance), the target profit is rr times that distance.
Daily and Monthly Performance Monitoring:
The strategy tracks todaysWins, todaysLosses, and res (daily net result) in real-time.
A "daily profit target" is implemented (day_profit): If the daily net result is very favorable (e.g., res >= 4 with todaysLosses >= 2 or todaysWins + todaysLosses >= 8), the strategy may temporarily halt trading for the remainder of the session to "lock in" profits and prevent overtrading during volatile periods.
A "monthly stop-out" (monthly_trade) is implemented: If the lres (overall net result from all closed trades) falls below a certain threshold (e.g., -12), the strategy will stop trading for a set period (one week in this case) to protect capital during prolonged drawdowns.
Trade Execution:
Entry Triggers: Trades are entered when all buy/sell conditions (Supertrend alignment, SMA filter, "buy/sell situation" candle confirmation, and risk management checks) are met, and there are no open positions.
Stop Loss and Take Profit:
Stop Loss: The stop loss is dynamically placed at the upTrendValue for long trades and downTrendValue for short trades. These values are derived from the Supertrend indicator, which naturally adjusts to market volatility.
Take Profit: The take profit is calculated based on the entry price, the stop loss, and the Risk to Reward ratio (rr).
Position Locks: lock_long and lock_short variables prevent immediate re-entry into the same direction once a trade is initiated, or after a trend reversal based on Supertrend changes.
Visual Elements:
The 200 SMA is plotted in yellow.
Entry, Stop Loss, and Take Profit lines are plotted in white, red, and green respectively when a trade is active, with shaded areas between them to visually represent risk and reward.
Diamond shapes are plotted at the bottom of the chart (green for potential buy signals, red for potential sell signals) to visually indicate when the buy_sit or sell_sit conditions are met, along with other key filters.
A comprehensive trade statistics table is displayed on the chart, showing daily wins/losses, daily profit, total deals, and overall profit/loss.
A background color indicates the active trading session.
Ideal Usage:
This strategy is best applied to instruments with clear trends and sufficient liquidity. Users should carefully adjust the Your Equity, Risk to Reward, and risk percentage inputs to align with their individual risk tolerance and capital. Experimentation with different ATR Length and Factor values for the Supertrend might be beneficial depending on the asset and timeframe.
Diagonal Support and Resistance Trend LinesA simple indicator to plot trend lines.
1. Adjust the "Pivot Lookback" (default: 20) to control pivot sensitivity. Larger values detect more significant pivots.
2. Adjust the "Max Trend Lines" (default: 4) to control how many support/resistance lines are drawn.
The indicator will plot:
1. Red dashed lines for resistance (based on pivot highs).
2. Green dashed lines for support (based on pivot lows).
3. Small red triangles above bars for pivot highs and green triangles below bars for pivot lows.
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.
Support and Resistance ZonesSupport and Resistance Zones— Indicator
Overview :
This indicator dynamically detects and visualizes key support and resistance zones by aggregating price data into synthetic candles. It highlights these critical price areas as shaded boxes that adjust in real-time, providing traders with clear visual cues on where price might find support or resistance.
Key Features :
-Dynamic Zone Detection: Automatically identifies zones formed by consecutive grouped candles meeting customizable criteria.
-Aggregation Factor: Combine multiple bars into synthetic candles to reduce noise and emphasize significant price zones.
-Customizable Zone Length: Extend the zone boxes by a user-defined number of bars beyond the current price for enhanced visualization.
-Visual Styling: Fully customizable zone fill and border colors to suit your chart preferences.
-Zone Lifecycle Control: Option to terminate old zones to maintain a clean chart.
-Breakout Alerts: Trigger alerts when price breaks above or below confirmed zones, signaling potential trading opportunities.
Inputs :
-Minimum Candles to Form Zone: Sets how many consecutive synthetic candles must align to form a valid zone.
-Aggregation Factor: Defines how many bars are combined to create a synthetic candle.
-Zone Fill and Border Colors: Customize the appearance of zones on the chart.
-Terminate Old Zones: Enable or disable automatic removal of previous zones.
-Box Extension Bars: Number of bars the zone boxes extend beyond their detected range for better visibility.
How to Use :
1. Apply the Indicator : Add it to your chart on any timeframe or market (Forex, stocks, crypto).
2. Set Input : Adjust the minimum candles, aggregation factor, and box extension bars based on your trading style and timeframe. For example, higher aggregation smooths noise for longer-term zones.
3. Visualize Zones : Watch as the indicator dynamically draws shaded boxes representing areas of support and resistance. Zones will grow as price action confirms their strength.
4. Monitor Breakouts : Use breakout alerts to be notified when price decisively moves beyond a zone, providing signals for possible entries or exits.
5.Customize Appearance : Adjust colors and enable zone termination to keep your chart clear and focused.
This tool simplifies identifying important price levels, reducing manual analysis time and helping you make informed trading decisions.
HTF Candle Breakout Fibonacci LevelsThis indicator automatically plots Fibonacci retracement levels on a lower timeframe (LTF) after detecting a breakout candle on a selected higher timeframe (HTF).
🎥 Watch the full tutorial for setup and usage details:
youtu.be
⸻
🔍 How It Works
When a candle on your selected HTF closes beyond the high or low of the previous candle, the indicator automatically draws Fibonacci levels on the LTF.
These levels remain visible until the next HTF candle is formed — allowing you to trade retracements with contextual precision.
⸻
⚙️ Customization Options
From the indicator settings, you can modify:
• The HTF candle timeframe (default is 1D)
• Fibonacci levels and colors
• Enable or disable “ Show Only the Latest Levels ” — ideal for live trading to keep the chart clean and focused.
⸻
🟪 HTF Candles Preview
After applying the indicator, you’ll see 3 vertical bars on the right edge of your LTF chart. These represent a live preview of the last three HTF candles and update in real-time.
If you prefer a cleaner chart, disable this feature via the “ Show HTF Candles ” toggle in the settings.
⸻
Feel free to reach out if you have any questions.
MTF Candle Direction Forecast + Breakdown🧭 MTF Candle Direction Forecast + Breakdown 🔥📈🔼
This script is a multi-timeframe (MTF) price action dashboard that helps traders assess real-time directional bias across five customizable timeframes — with a focus on candle behavior, trend alignment, and confidence strength.
📌 What It Does
For each timeframe, this dashboard summarizes:
Current direction → Bullish, Bearish, or Neutral
Confidence score (0–100) → How strongly price is likely to continue in that direction
Candle strength → 🔥 icon appears if the current candle has a large body relative to its range
Trend alignment:
📈 = EMA9 is above EMA20
🔼 = Price is above VWAP
Color-coded background to visually reinforce directional state
Each row gives you a visual “at-a-glance” readout of what price is doing right now — not in the past.
💡 Why It’s Useful
✅ Direction forecasting based on price action
Instead of lagging indicators, this script prioritizes:
Candle body-to-range ratio (momentum)
Real-time VWAP/EMA structure
Immediate price positioning
✅ Confidence is quantified
The score (0–100) helps you judge how reliable each directional signal is:
90+ → Strong conviction
50–70 → Mixed but potentially valid
<40 → Weak move or early signal
✅ Timeframe confluence at a glance
See whether multiple timeframes are aligning directionally — helpful for scalping, day trading, or waiting for multi-timeframe breakout setups.
✅ Visual & intuitive
Icons, colors, and layout make it easy to scan your dashboard instead of deciphering charts or code.
🛠️ Adjustable Settings
Setting Description
Timeframe 1–5 Choose any timeframes to monitor (e.g., 5m, 15m, 1h, 4h)
Candle Display Mode Show trend color via emoji (🟢/🔴) or background shading
Strong Candle Threshold Adjust the body-to-range % needed to trigger 🔥 strength
Bullish/Bearish Background Customize label color coding
Neutral Background (opacity) Set transparency or styling for flat/consolidating zones
Table Location Place the dashboard anywhere on the chart
🎯 Use Cases
Scalpers: Confirm trend across 1m/5m/15m before entering
Day Traders: Use confidence score to avoid low-momentum setups
Swing Traders: Monitor higher timeframes for trend shifts while tracking intraday noise
VWAP/EMA traders: Quickly see when price is reclaiming or losing critical trend levels
🧠 What Makes It Unique?
Unlike generic trend meters or mashups of standard indicators, this script:
Uses live candle dynamics (not just closes or lagging values)
Computes directional bias and confidence together
Visualizes strength and structure in a compact, readable interface
Let’s you filter by price action, not just indicator alignment
💥 Why Traders Love Will Love It
✅ Instant clarity on which timeframes agree
✅ No more guessing candle strength or trend health
✅ Confidence score keeps you out of weak trades
✅ Works with any strategy — trend following, VWAP reclaim, EMA scalps, even breakouts
✅ Keeps your chart clean — all the context, none of the clutter
⚠️ Transparency🧬 Under the Hood
Powered by live candle body analysis, trend structure (EMA9 vs EMA20), and VWAP placement.
All scores are generated in real-time — No repainting or lookahead bias: all values are computed with lookahead=barmerge.lookahead_on
Confidence scores reflect the current candle only — they do not predict future moves but measure momentum and alignment in real-time
Labels update per bar and respond to subtle shifts in candle structure and trend indicators
✅ MTF Trend Snapshot (Live Output Example Shown in Chart Above)
This dashboard gives you a fast, visual summary of market trend and momentum across 5 timeframes. Here's what it's telling you right now:
🕔 5 Minute (5m)
📉 EMA Trend: Down
🔼 Price: Above VWAP
Direction: Bearish (42)
🟥 Weak bearish bias. Short-term pullback against a stronger trend. Use caution — lower confidence and mixed structure.
⏱️ 15 Minute (15m)
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (73)
🟩 Clean bullish structure with growing momentum. Solid for intraday confirmation.
🕧 30 Minute (30m)
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (77)
🟩 Stronger trend forming. Above VWAP and EMAs — building conviction.
🕐 1 Hour (1h)
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (70)
🟩 Confident, clean trend. Good alignment across indicators. Ideal timeframe for swing entries.
🕓 4 Hour (4h)
🔥 Strong Candle
📈 EMA Trend: Up
🔼 Price: Above VWAP
Direction: Bullish (100)
🟩 Full trend alignment with max momentum. Strong body candle + structure — high confidence continuation.
🧠 Quick Takeaway
🔻 5m is pulling back short term
✅ 15m through 4h are fully aligned Bullish
🔥 4h has max confidence — big-picture trend is intact
📈 Ideal setup for momentum traders looking to ride trend with multi-timeframe confirmation
Try pinning this dashboard to your chart during live trading to read price like a story across timeframes, and filter out weak setups with low-confidence noise.
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
Navier-Cauchy Market Elasticity [PhenLabs]📊 Navier-Cauchy Market Elasticity
Version: PineScript™ v6
📌 Description
The Navier-Cauchy Market Elasticity (NCME) indicator takes a new step into technical analysis by applying materials science principles to financial markets. Similar to last weeks release utilizing Navier-Stokes dynamics equation this indicator focuses on the elastic interaction of virtual “solids”. Based on elasticity theory used in engineering, NCME treats price movements as material deformations, calculating market stress and strain using proven physics formulas. This unique approach reveals hidden market dynamics invisible to traditional indicators.
By implementing Lamé parameters and Young’s modulus calculations, NCME identifies critical stress points where markets exhibit extreme tension or compression. These zones often precede significant price movements, providing traders with advanced warning of potential reversals or breakouts.
🚀 Points of Innovation
• First indicator to apply Navier-Cauchy elasticity equations to market analysis
• Dynamic stress tensor calculations adapted for one-dimensional price movements
• Real-time Poisson ratio adjustments for market-specific elasticity modeling
• Gradient-based coloring system that visualizes stress intensity variations
• Advanced display modes with customizable visual layers for professional analysis
• Physics-based volatility normalization using Young’s modulus principles
🔧 Core Components
• Elasticity Engine: Calculates market elasticity using volatility-adjusted Young’s modulus
• Stress Tensor System: Computes normal stress values using Lamé parameters (λ and μ)
• Strain Measurement: Tracks price displacement relative to historical movement patterns
• Dynamic Bands: Statistical deviation bands that adapt to market elasticity changes
🔥 Key Features
• Four Display Modes: Choose between Histogram, Line, Both, or Advanced visualization
• Five Color Schemes: Modern, Classic, Neon, Ocean, and Fire themes with gradient support
• Background Stress Zones: Five distinct zones showing market stress levels visually
• Customizable Smoothing: Adjustable period for noise reduction without signal lag
• Extreme Value Detection: Automatic marking of critical stress points with visual alerts
• Advanced Mode Options: Glow effects, momentum ribbon, and extreme dots toggles
🎨 Visualization
• Stress Line: Primary indicator showing real-time market stress with gradient coloring
• Histogram Bars: Normalized stress values with dynamic opacity based on magnitude
• Reference Bands: Primary and secondary deviation bands for context
• Background Zones: Color-coded regions indicating stress intensity levels
• Signal Dots: Markers appearing at extreme stress points for easy identification
📖 Usage Guidelines
Display Settings
• Display Style
○ Default: Advanced
○ Options: Histogram, Line, Both, Advanced
○ Description: Controls visual presentation mode. Advanced offers the most comprehensive view with multiple layers
• Smoothing Period
○ Default: 3
○ Range: 1-50
○ Description: Moving average periods for noise reduction. Higher values create smoother signals but may introduce lag
Elasticity Parameters
• Displacement Length
○ Default: 14
○ Range: 1-100
○ Description: Lookback period for strain calculation. Shorter periods detect rapid stress changes
• Elasticity Length
○ Default: 30
○ Range: 1-200
○ Description: Period for volatility-based elasticity calculation. Longer periods provide more stable readings
• Poisson Ratio
○ Default: 0.3
○ Range: 0-0.5
○ Description: Theoretical elasticity ratio. 0.3 works well for most markets; adjust for specific asset classes
✅ Best Use Cases
• Identifying market tension before major breakouts
• Detecting compression zones during accumulation phases
• Confirming trend strength through stress persistence
• Timing reversals at extreme stress levels
• Multi-timeframe stress analysis for comprehensive market view
⚠️ Limitations
• Requires sufficient price history for accurate elasticity calculations
• May produce false signals during unprecedented market events
• Works best in liquid markets with consistent volume
• Not suitable as a standalone trading system
💡 What Makes This Unique
• Physics-Based Foundation: First indicator to properly implement elasticity theory
• Academic Rigor: Based on proven Navier-Cauchy equations from materials science
• Visual Innovation: Multiple display modes with professional-grade aesthetics
• Adaptive Technology: Self-adjusting parameters based on market conditions
🔬 How It Works
1. Strain Calculation:
• Measures price displacement over specified period
• Normalizes displacement relative to price level
2. Elasticity Determination:
• Calculates Young’s modulus using inverse volatility
• Updates Lamé parameters based on Poisson ratio
3. Stress Computation:
• Applies elasticity theory formula: σ = (λ + 2μ) × ε
• Scales result for visual clarity
• Applies smoothing to reduce noise
💡 Note: NCME represents a breakthrough in applying physics principles to market analysis. While based on proven scientific formulas, remember that markets are complex systems influenced by human psychology and external factors. Use NCME as part of a comprehensive trading strategy with proper risk management.
Cap's Dual Auto Fib RetracementThis will draw both a bullish retracement and a bearish retracement. It's defaulted to just show the 0.618 level as I feel like this is the "make or break" level.
- A close below the bullish 0.618 retracement would be considered very bearish.
- A close above the bearish 0.618 would be considered very bullish.
(You can still configure whichever levels you want, however.)
This script was removed by TradingView last time it was published. I couldn't find another script that would provide both bearish/bullish retracements, so I'm assuming this is "original" enough. Maybe it was removed because the description wasn't long enough, so...
Detailed Description:
This indicator automatically plots Fibonacci retracement levels based on zigzag pivot points for both bullish (low-to-high) and bearish (high-to-low) price movements. It identifies key pivot points using a customizable deviation multiplier and depth setting, then draws Fibonacci levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) with user-defined visibility and colors for each level.
Features:
Deviation: Adjusts sensitivity for detecting pivots (default: 2).
Depth: Sets minimum bars for pivot calculation (default: 10).
Extend Lines: Option to extend lines left, right, or both.
Show Prices/Levels: Toggle price and level labels, with options for value or percentage display.
Labels Position: Choose left or right label placement.
Background Transparency: Customize fill transparency between levels.
Alerts: Triggers when price crosses any Fibonacci level.
Usage: Apply to any chart to visualize potential support/resistance zones. Adjust settings to suit your trading style. Requires sufficient data; use lower timeframes or reduce depth if pivots are not detected.
Note: This is a technical analysis tool and does not provide trading signals or financial advice. Always conduct your own research.
The Trader's Momentum ALGO LocalV1 Org by Carlos
A Smart money version with Moving averages and Fibs
RSI.TrendContext
The Relative Strength Index (RSI) is one of the most widely used classical indicators in technical analysis, typically employed to identify overbought or oversold market conditions. It reflects the degree of upside or downside dominance within a specified period. However, in its standard form, RSI is not particularly effective as a standalone entry trigger.
The RSI.Trend indicator enhances the RSI to provide a more reliable method for distinguishing between bullish and bearish market regimes and offers specific entry triggers. It adds supplementary value to the pure RSI read.________________________________________
Concept
In trending markets, an Exponential Moving Average (EMA) of the price is often smoother and more stable than raw price data. As a result, the RSI calculated on this smoothed price (i.e., the EMA) tends to react earlier and more consistently than the standard RSI. Specifically:
• In uptrends, the RSI of the EMA tends to exceed the RSI of the original price.
• In downtrends, it tends to lag behind.
The difference between these two RSI readings provides a stable and less noisy measure of market bias—positive in uptrends, negative in downtrends. The crossing points can serve as entry triggers. This is, what the RSI.Trend is trying to capture.
________________________________________
The RSI.Trend indicator operates as follows:
• It first computes the 5-period EMA of the price series of the underlying ("EMA5").
• It calculates the 14-period RSI of the original price series ("RSI") as well as the 14-period RSI of EMA5 ("RSIEMA").
• It then determines the 14-period EMA of RSI ("RSI.MA") and RSIEMA ("RSIEMA.MA").
These values are used to define a Baseline and a Trigger Line:
• Baseline: The average of RSI and RSI.MA.
• Trigger Line: The average of RSIEMA and RSIEMA.MA.
Essentially, the baseline represents a smoother version of the RSI of the original price series, while the trigger line is a smoother version of the RSI on the EMA5 of the original price series.
Additionally, the RSI.Trend Background Value is calculated as the difference between the Trigger Line and the Baseline, slightly accelerated by incorporating the current bias of this difference. This acceleration causes the Background Value to react somewhat faster than the pure difference between the two lines.
How to use the RSI.Trend:
• As mentioned in the introductory context, during uptrends, the trigger line remains above the baseline; in downtrends, it stays below the baseline.
• A crossover of the baseline by the trigger line indicates a regime shift from bearish to bullish and can signal avoiding adding short positions, closing short positions, or adding long positions.
• A crossunder of the baseline by the trigger line indicates a regime shift from bullish to bearish and can signal avoiding adding long positions, closing long positions, or adding short positions.
• The level of the Trigger Line can serve as a confidence indicator; for instance, if the trigger line crosses under the baseline coming from very high values, it implies high confidence.
• The Background Value indicates the accelerated difference between the two lines:
o > 0 (Green background): Indicates a Bullish regime.
o < 0 (Red background): Indicates a Bearish regime.
The Background Value reacts slightly faster than line crossings due to its acceleration relative to the difference of the two lines.
Including these lines in the script besides the Background Value, provides insight into their levels and their origins, aiding in formulating confidence in an entry trigger, which the background value alone cannot provide. The change in slope of the trigger Line can also be used as an early and fast position-trigger.
Finally, the Background Value can be utilized in continuous trading scenarios (i.e., no entry points, always engaged) as a multiplier on a predefined max-exposure value, representing the current exposure as a fraction of that max-exposure.
The usage of RSI.Trend is also exemplified in the introductory chart.________________________________________
Final Notes
As with all indicators, the RSI.Trend is most effective when used in conjunction with other technical tools and market context. It does not predict future price movements; rather, it reflects current market dynamics and recent directional tendencies. Use it with discretion and as part of a broader trading strategy.
3 EMA Trend Strategy (Locks Trailing Stop Tightening)How I Created a Smart Trading Strategy Using 3 EMAs + Trailing StopLoss with help of ChatGPT
Ever wondered if AI can really help with trading? I put it to the test by asking ChatGPT to build a strategy using 3 Exponential Moving Averages (EMAs). Here's what I got:
✅ Custom Pine Script
✅ Trend-based entry logic
✅ Clean exits using Trailing Stop Loss
✅ Backtested on multiple tickers (QQQ, NVDA, SPY, AAPL)
I wanted to say anyone create the strategies with their ideas. Just take help of chatGPT and tweak for better results.
Here’s a quick summary of what the strategy does:
Condition Action Taken
==============================================
EMAs aligned + pullback Enter LONG (Buy)
Trade reaches 10% profit Trailing Stop set to 5%
Trade reaches 20% profit Trailing Stop locked at 2%
Price drops to stop level Exit Trade
I've fine-tuned the code, which is available to public. It is been tested , see the performance on chart. More detailed description and shared all insights in my latest blog post on
eemanispace.com
Let me know your comments / feedback.
Parabolic-Fibonacci MA ForecastThis indicator displays a series of projected price levels based on Fibonacci moving averages. For each selected Fibonacci period, it calculates a simple moving average (SMA) and mirrors the distance from the current price to that SMA in the opposite direction, creating a vertical forecast distance. These forecast distances are drawn forward into the future using geometric spacing (squared increments: 1², 2², 3², etc.), creating a fan-like or polyline visual structure.
Users can choose between three display modes:
Fan: Lines drawn from the current price to projected values at increasing intervals
Polyline: Forecast points connected to form a jagged projection path
Both: Displays both fan and polyline structures simultaneously
Options are provided to adjust the number of Fibonacci lines (up to 12), line width, and colors for lines above/below price or up/down slope.
This tool can help visualize directional price tendencies using multiple SMA-based forecasts in a spatially meaningful layout.
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!