PROTECTED SOURCE SCRIPT

Indicator: Volatility Candle Based

59
📊 Volatility Candle-Based Indicator (Pine Script v6)
This custom TradingView indicator is designed for futures traders who want to analyze volatility, candle patterns, and support/resistance zones within specific market hours. It overlays price charts and provides visual signals that help determine potential momentum shifts, trend continuations, or reversals.

🔧 Core Features
⏰ Futures Time Filter
The indicator activates only during specific trading hours, customized per futures contract (e.g., NQ, ES, GC).

Time is adjusted to the New York (EST) timezone.

This ensures the logic only runs during relevant futures market sessions.

💹 Contract-Specific Multipliers
Applies custom point multipliers for futures contracts (e.g., GC = 30, ES = 24).

Supports three types of multipliers:

Trailing Stop

Trailing Plot Stop

Stop Loss

Ensures accurate backtesting and risk modeling for each contract.

📈 Trendline Support & Resistance
Uses pivot high/low logic to dynamically plot:

Central pivot zones

Step-like support/resistance lines

These trendlines update based on price behavior and can indicate bullish or bearish control.

🔍 Candle Momentum Analysis
Evaluates each candle's:

Body-to-range ratio (e.g., Marubozu, Doji)

Shadow dominance (upper/lower wicks)

Detects important reversal or continuation patterns such as:

Bullish/Bearish Inside Candles

Doji Star formations

Uses a custom moving average to confirm directional bias.

🕯️ Plotter Candle Signals
Identifies BullishPlotter and BearishPlotter candles:

Highlights candles likely to signal upcoming momentum.

Also accounts for neutral signals when no clear bias is detected.

Tracks the high/low of recent signal candles for reference.

📌 Visual Elements (not shown in snippet but implied by logic)
Signal arrows, dashed current levels, and filled support/resistance zones can be plotted to provide real-time feedback.

These are useful for both manual trading and strategy development.

🎯 Use Case
Perfect for intraday or short-term futures traders on instruments like:

🟡 Gold (GC), 🟠 Silver (SI)

📉 Nasdaq (NQ/MNQ), S&P 500 (ES/MES)

This script provides both structural context (trendlines, pivots) and price action signals (candle formations, momentum shifts), helping traders align their decisions with the underlying market flow.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.