INVITE-ONLY SCRIPT

Price Coil Expansion & Trap Detector

75
✅ Title:

Price Coil Expansion & Trap Detector (PCE-TD)



✅ Updated Description:

The PCE-TD (Price Coil Expansion & Trap Detector) is a hybrid volatility and market structure indicator designed to identify three high-impact setups:
1. Price Coil Compression Zones
2. Breakout Buy/Sell Signals (Expansion Events)
3. False Breakout Traps (Bull/Bear Fakes)



🔍 Core Concepts & Signal Logic

✅ 1. Price Coil Detection (Compression Phase)
• Highlights tight-range zones where price volatility shrinks and candles display smaller bodies with larger wicks.
• Criteria used:
• Consecutive shrinking bodies (customizable)
• High average wick-to-body ratio
• Coil zone must be tighter than recent range average
• These zones are shaded in gray on the chart to signal potential buildup before explosive movement.



✅ 2. Breakout Expansion Signals

Triggered when price breaks out of the coil zone with strong body momentum, optional volume spike, and optional EMA filter.

🔺 Signal: Buy↑ (Green Triangle Up)
• Appears below bar
• Triggers when:
• Price breaks above coil high
• Candle body exceeds average × user-defined multiplier
• Volume spike (if enabled)
• Trend filter (optional EMA confirmation)

🔻 Signal: Sell↓ (Red Triangle Down)
• Appears above bar
• Triggers when:
• Price breaks below coil low
• Candle body exceeds threshold
• Optional volume and trend confirmation

💬 Alerts Triggered:
• PCE-TD: Coil breakout UP
• PCE-TD: Coil breakout DOWN
These will be sent via TradingView’s alert system if configured using alert conditions.



✅ 3. False Breakout Detector (Trap Finder)

Identifies fake breakouts that fail within the next X bars and re-enter the prior range.

❌ False Bullish Breakout:
• Printed as Red X (above bar)
• Also subtly highlights background red

❌ False Bearish Breakout:
• Printed as Green X (below bar)
• Background turns green

These help avoid chasing traps and improve timing accuracy after failed breakouts.



⚙️ Customization Parameters:
• Coil Window Length, Shrinking Body Count, Wick-to-Body Ratio
• Volume Spike Multiplier
• EMA Trend Filter
• Range Lookback and Trap Detection Window
• Enable/disable zones, signals, and trap markers



🧠 Designed For:
• Breakout traders
• Volatility compression pattern followers
• Traders avoiding fake breakouts
• Scalpers and swing traders alike

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.