Glossy [JOAT]

Glossy - Vector Candles and Order Zones is a Pine Script v6 overlay indicator that transforms raw price and volume data into a visually distinct decision layer. It combines vector candle analysis, supply/demand zone mapping, pivot detection, trend tools, and a composite scoring system into one cohesive overlay.
Note: This script is published as an invite-only INDICATOR. It does not generate backtesting results or automated trade execution. Access requires authorization through the script's access control settings.
## Why This Script Merits Invite-Only Protection
This indicator combines multiple analytical dimensions that individually exist as separate tools across the trading community. The value proposition lies in the specific integration methodology and composite scoring system that synthesizes:
- Vector candle engine that classifies bars by volume-range relationship into climax, rising, and normal states
- Automatic supply/demand zone detection with retest tracking and break removal
- Dynamic pivot point system with configurable density and automatic cleanup
- Dual moving average trend layer with crossover detection
- Optional Ichimoku cloud integration for additional trend context
- Composite scorer that weights and blends all modules into a single actionable score
- Glossy visual layer with gradient veils, shimmer effects, and sparkle overlays
- Dual analytics panels displaying real-time score, bias, and structure statistics
The proprietary elements include the vector candle classification algorithm, the zone detection logic using body-size ratios, the composite scoring normalization system, and the visual integration that maintains readability while adding aesthetic appeal. While individual components like MAs and RSI are standard, their specific combination, the scoring methodology, and the visual integration represent original development work that justifies source code protection.
## How Components Work Together
The indicator's value comes from how its modules interact, not from any single component:
Data Flow:
- Vector candle engine analyzes volume relative to lookback baseline and spread-volume product
- Zone engine detects two-candle reversal patterns with significant body-size shifts
- Pivot system identifies swing highs/lows using configurable left/right bar counts
- Trend MAs establish directional bias and generate crossover signals
- Ichimoku (optional) adds cloud context for trend confirmation
- Composite scorer normalizes weights and blends all module signals into 0-100 score
- Analytics panels display real-time metrics for quick decision support
Integration Logic:
Each module produces a normalized signal (0.0 to 1.0) that feeds into the composite score:
- Vector candle signal: 1.0 for climax, 0.5 for rising, 0.0 for normal
- Volume scanner signal: 1.0 for spike detected, 0.0 otherwise
- Zone signal: 1.0 for retest, 0.7 for break, 0.5 for inside zone, 0.0 otherwise
- Ichimoku signal: 0.0 to 1.0 based on crossovers, cloud breaks, and chikou confirmation
- Weights are user-configurable and auto-normalized to sum to 1.0
Why This Integration Matters:
A standard volume spike might fire while price is nowhere near structure. The composite scoring system catches these disconnects by requiring multiple modules to align before the score reaches threshold. This multi-dimensional validation separates this indicator from simple mashups that display multiple indicators without integration.
## Core Functionality
This indicator addresses the challenge of synthesizing volume behavior, price structure, and trend context into a single readable overlay. Most indicators focus on one dimension; this script integrates several while maintaining visual clarity.
What This Script Does:
- Recolors candles based on volume-range classification (climax, rising, normal)
- Automatically detects and draws supply/demand zones from two-candle reversal patterns
- Tracks zone retests and optionally removes zones when broken
- Identifies pivot highs/lows and draws horizontal support/resistance levels
- Plots dual moving averages with crossover detection
- Optional Ichimoku cloud with tenkan/kijun lines and cloud projection
- Computes composite score (0-100) blending all enabled modules
- Calculates market bias from trend, momentum, RSI, and cloud position
- Displays real-time analytics in two compact dashboard panels
- Adds glossy visual effects (gradient veil, shimmer stripes, sparkles) without obscuring price
## Technical Architecture
### Vector Candle Engine
The indicator classifies each confirmed bar into three categories based on volume and range behavior:
- Climax Bars - Volume >= Climax Multiplier (default: 2.0x) times the lookback SMA AND spread-volume product >= 85% of lookback maximum. These represent extreme effort and are colored brightest (green for bull, red for bear) with white borders.
- Rising Bars - Volume >= Rising Multiplier (default: 1.5x) times the lookback SMA but not climax. These show building interest with medium-intensity colors.
- Normal Bars - All other confirmed bars. Colored with solid but calmer tones that don't compete with significant bars.
The goal is instant visual recognition: when volume truly slams into the market, you see it immediately in both color and intensity.
### Volume Scanner
On top of vector candles, a directional volume scanner runs independently:
- Detects when volume exceeds Spike Multiplier (default: 1.5x) times the scanner lookback SMA
- Differentiates bullish vs bearish spikes using candle direction
- Prints compact labels showing spike direction and approximate percentage above baseline
- Labels appear near price for context without cluttering the chart
### Supply/Demand Zone Engine
The zone engine automatically tracks recent supply and demand patterns:
- Detection Logic - Identifies two-candle patterns where the second candle's body is >= Body Multiplier (default: 2.0x) times the first candle's body, with opposite directions
- Supply Zones - Drawn in dark purple (#2D1B4E) with medium purple border (#6B3FA0)
- Demand Zones - Drawn in near-black (#0D1B2A) with dark teal border (#1B4D6E)
- Extension - Zones extend forward configurable bars (default: 100) for visibility
- Retest Tracking - Labels update with retest count (R1, R2, etc.) when price revisits zone
- Break Removal - Optionally removes zones when price closes convincingly beyond them
- Max Zones - Limits active zones (default: 8) to keep chart readable
### Pivot Point System
Recent swing highs and lows become horizontal support/resistance levels:
- Uses configurable left/right bar counts (default: 3/3) for pivot detection
- Resistance lines drawn in bright pink (#FF3366) with "R" labels
- Support lines drawn in bright teal (#33FF99) with "S" labels
- Lines extend forward 50 bars from pivot point
- Optional break removal cleans up invalidated levels
- Max pivots setting (default: 12) prevents chart clutter
### Trend Tools
Dual moving averages provide trend context:
- Fast MA (default: 21-period SMA) - Colors based on price position relative to MA
- Slow MA (default: 55-period SMA) - Thicker line for primary trend reference
- Crossover Labels - Optional labels mark bullish/bearish MA crosses
- Trend Bias - Fast > Slow = bullish trend context
### Ichimoku Integration (Optional)
For traders who use Ichimoku, a soft cloud layer can be enabled:
- Tenkan Line (default: 9-period) - Short-term equilibrium
- Kijun Line (default: 26-period) - Medium-term equilibrium
- Senkou Span A/B - Projected cloud showing future support/resistance
- Cloud Fill - Teal for bullish cloud, coral for bearish cloud
- Signal Detection - TK crosses and cloud breaks feed into composite score
### Composite Scoring System
The scorer blends all enabled modules into a single 0-100 percentage:
- Weight: Vector (default: 0.30) - Contribution from climax/rising detection
- Weight: Volume (default: 0.20) - Contribution from volume spike scanner
- Weight: Zones (default: 0.30) - Contribution from zone interaction
- Weight: Ichimoku (default: 0.20) - Contribution from cloud/crossover signals
- Threshold (default: 0.60) - Score level that triggers "SIGNAL" status
- Weights auto-normalize to sum to 1.0 regardless of input values
With Ichimoku Lines/Plots:
### Bias Calculation
A separate bias score (0-5) determines market lean:
- +1 if Fast MA > Slow MA (trend bullish)
- +1 if Price > Fast MA (price above trend)
- +1 if Momentum > 0 (positive momentum)
- +1 if RSI > 50 (bullish RSI)
- +1 if Price > Cloud Top (above Ichimoku cloud)
- Score 4-5 = "STRONG BULL", 3 = "BULL", 2 = "NEUTRAL", 1 = "BEAR", 0 = "STRONG BEAR"
## Visual Elements
Vector Candles:
- Climax Bull - Bright green (#00FF88) with white border
- Climax Bear - Bright red (#FF0055) with white border
- Rising Bull - Medium green (#00CC66)
- Rising Bear - Medium red (#CC0044)
- Normal Bull - Solid green (#009955)
- Normal Bear - Solid red (#990033)
Signal Labels:
- "CLIMAX BUY/SELL" - Appears on climax bars with volume ratio
- "VOL SPIKE" - Appears on abnormal volume with percentage
- "MA CROSS Bullish/Bearish" - Appears on MA crossovers
- "SUPPLY/DEMAND" - Zone labels with retest counts
- "R/S" - Pivot resistance/support labels with price
Glossy Visual Layer:
- Gradient veil that subtly shifts based on composite score
- Diagonal shimmer stripes that create motion effect
- Floating sparkle particles placed around price
- All effects configurable via opacity and spacing inputs
- Can be disabled entirely via "Glossy Mode" toggle
## Analytics Panels
Top-Right "Glossy" Panel (8 rows):
- Header - "GLOSSY" with composite score percentage
- Status - "SIGNAL" or "WAIT" based on threshold
- Bias - STRONG BULL / BULL / NEUTRAL / BEAR / STRONG BEAR
- RSI - Current value or OVERBOUGHT/OVERSOLD flags
- Momentum - RISING / POSITIVE / FALLING / NEGATIVE
- Volume - Current ratio vs baseline with intensity indicator
- Trend - BULL TREND / BEAR TREND / MIXED
- ATR - Current ATR value for volatility context
Bottom-Right "Stats" Panel (6 rows):
- Header - "STATS"
- Zones - Count of active supply/demand zones
- Pivots - Count of active pivot levels
- Vol %ile - Current volume percentile vs lookback
- Retests - Total zone retest count
- Position - "IN ZONE" or "---" based on current price location
## Complete Configuration Reference
### Visual Settings Group
- Glossy Mode (default: true) - Toggle sparkles and shimmer effects
- Zone Opacity (default: 40, range: 10-80) - Lower = darker zones
- Glow Veil Opacity (default: 85, range: 40-95) - Controls glossy gradient veil
- Sparkle Spacing (default: 4, range: 2-20) - Bars between sparkle particles
- Sparkle Softness (default: 25, range: 0-90) - Transparency of sparkles
- High Contrast Mode (default: false) - Alternative color palette
- Show Signal Labels (default: true) - Display text labels instead of shapes
### Vector Candles Group
- Enable Vector Candles (default: true) - Toggle candle recoloring
- Lookback (default: 10, range: 3-100) - Bars for volume SMA baseline
- Climax Multiplier (default: 2.0, range: 1.2-5.0) - Volume threshold for climax
- Rising Multiplier (default: 1.5, range: 1.1-3.0) - Volume threshold for rising
### Volume Scanner Group
- Enable Volume Scanner (default: true) - Toggle spike detection
- Lookback (default: 20, range: 5-100) - Bars for scanner baseline
- Spike Multiplier (default: 1.5, range: 1.2-3.0) - Threshold for spike detection
### Supply/Demand Zones Group
- Enable Order Zones (default: true) - Toggle zone detection
- Body Multiplier (default: 2.0, range: 1.3-5.0) - Body ratio for zone detection
- Extension Bars (default: 100, range: 20-300) - How far zones extend forward
- Remove on Break (default: true) - Delete zones when price breaks through
- Max Zones (default: 8, range: 1-20) - Maximum active zones
### Pivot Points Group
- Enable Pivots (default: true) - Toggle pivot detection
- Left Bars (default: 3, range: 1-15) - Bars to left for pivot confirmation
- Right Bars (default: 3, range: 1-15) - Bars to right for pivot confirmation
- Remove on Break (default: true) - Delete pivots when price breaks through
- Max Pivots (default: 12, range: 2-30) - Maximum active pivot levels
### Trend Tools Group
- Enable MAs (default: true) - Toggle moving average display
- Fast MA (default: 21, range: 5-100) - Fast moving average period
- Slow MA (default: 55, range: 20-200) - Slow moving average period
### Ichimoku Group
- Enable Ichimoku (default: false) - Toggle Ichimoku cloud display
- Tenkan (default: 9, range: 5-30) - Tenkan-sen period
- Kijun (default: 26, range: 10-60) - Kijun-sen period
- Senkou B (default: 52, range: 20-120) - Senkou Span B period
### Composite Scorer Group
- Enable Scorer (default: true) - Toggle scoring system
- Weight: Vector (default: 0.30, range: 0.0-1.0) - Vector candle weight
- Weight: Volume (default: 0.20, range: 0.0-1.0) - Volume scanner weight
- Weight: Zones (default: 0.30, range: 0.0-1.0) - Zone interaction weight
- Weight: Ichimoku (default: 0.20, range: 0.0-1.0) - Ichimoku signal weight
- Threshold (default: 0.60, range: 0.3-1.0) - Score level for "SIGNAL" status
### Performance Group
- Cheap Mode (default: false) - Reduces lookback periods for faster calculation
## Alert System
The script includes ten alert conditions:
- Climax Bull - Bullish climax bar detected
- Climax Bear - Bearish climax bar detected
- Volume Spike Bull - Bullish volume spike (non-climax)
- Volume Spike Bear - Bearish volume spike (non-climax)
- Zone Retest - Price retests an active zone
- Zone Break - Price breaks through a zone
- Pivot Crossed - Price crosses a pivot level
- Score Threshold - Composite score reaches threshold
- MA Cross Bull - Fast MA crosses above Slow MA
- MA Cross Bear - Fast MA crosses below Slow MA
All alerts fire once per bar at bar close.
## Technical Implementation Notes
- Pine Script v6 compliant
- All calculations use confirmed bars only (barstate.isconfirmed) to prevent repainting
- Arrays manage zones, pivots, labels, and sparkles with automatic cleanup
- Resource limits respected: max_labels_count=200, max_lines_count=150, max_boxes_count=50
- Cheap mode available to reduce computational load on slower systems
- Color mixing function for smooth gradient transitions
- Weight normalization ensures composite score validity regardless of input values
## Usage Considerations
Timeframe Selection: The indicator works across all timeframes. Zone and pivot detection may produce more signals on lower timeframes. Adjust lookback periods and max counts based on your trading style.
Market Compatibility: Tested on crypto, forex, stocks, and indices. Vector candle classification requires meaningful volume data. Markets with irregular or no volume may not benefit from volume-based features.
Signal Interpretation: The composite score and bias are informational summaries, not trade signals. Use them as context alongside your own analysis and risk management.
Visual Customization: If the glossy effects are distracting, disable "Glossy Mode" for a cleaner chart while retaining all analytical features.
## Limitations and Compromises
- Zone detection uses simplified two-candle patterns; complex institutional order flow is not captured
- Composite score is a weighted blend of heuristics, not a predictive model
- Pivot detection may lag by the right-bar count before confirmation
- Ichimoku signals are simplified; full Ichimoku analysis requires additional context
- Glossy visual effects add computational overhead; use Cheap Mode if performance is an issue
- Past zone/pivot behavior does not guarantee future price reaction
The indicator is designed as an analytical and educational aid. It does not guarantee profitable trades, remove risk, or replace your own process.
## Disclaimer
This script is provided for informational and educational purposes only and does not constitute financial advice. Trading involves substantial risk of loss. You are solely responsible for your own trading decisions. Past results shown on any chart do not guarantee future performance. Always conduct your own analysis and use appropriate risk management.
-Made with passion by officialjackofalltrades
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. È necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente officialjackofalltrades.
TradingView NON consiglia di acquistare o utilizzare uno script a meno che non si abbia piena fiducia nel suo autore e se ne comprenda il funzionamento. È inoltre possibile trovare alternative gratuite e open source nei nostri script della community.
Istruzioni dell'autore
2026: The Era of AI Trading Mastery📈
📝 t.me/jackofalltradesvip
Declinazione di responsabilità
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. È necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente officialjackofalltrades.
TradingView NON consiglia di acquistare o utilizzare uno script a meno che non si abbia piena fiducia nel suo autore e se ne comprenda il funzionamento. È inoltre possibile trovare alternative gratuite e open source nei nostri script della community.
Istruzioni dell'autore
2026: The Era of AI Trading Mastery📈
📝 t.me/jackofalltradesvip