OPEN-SOURCE SCRIPT

10/20 MA Coil: Progressive Colors & Multi-Day Breakout

74
This indicator detects price “coil” setups and highlights potential breakout or breakdown opportunities using moving average alignment and volatility compression.

Features:
• Coil Detection:
• Identifies consolidation when:
• The 10 and 20 MAs are tightly aligned (within user-defined tolerance)
• Price is above both MAs and within 1.5x ADR of them
• The 50 MA is rising
• Progressive Coil Coloring:
• Coil candles are colored in progressively darker orange as the streak continues
• Bullish Breakout Signal:
• Triggers when a green candle follows a coiled bar
• The candle’s body must be greater than or equal to 1 ATR
• Colored lime green
• Bearish Breakdown Signal:
• Triggers when a red candle follows a coiled bar
• The candle’s body must be greater than or equal to 1 ATR to the downside
• Colored black
• Custom Candle Rendering:
• Candle body color represents coil or breakout state
• Wick and border are red or green to reflect price direction
• Optional Debug Tools:
• Coil streak, ATR, and distance from MAs can be plotted for deeper analysis

This script is designed for traders looking to spot price compression and prepare for high-probability moves following low-volatility setups.

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.