OPEN-SOURCE SCRIPT
已更新 Wick Spike 50% Detector (15m & 1h)

This script identifies candles with significant upper or lower wicks (spikes) based on a percentage of the total candle range. It helps spot potential reversals, exhaustion moves, or liquidity grabs — especially useful in volatile markets.
📍 Key Features:
15-Minute Timeframe:
Red Triangle Above: Candle range ≥ 0.35% and upper wick ≥ 50% of the range.
Green Triangle Below: Candle range ≥ 0.30% and lower wick ≥ 50% of the range.
1-Hour Timeframe:
Red Circle Above: Candle range ≥ 0.50% and upper wick ≥ 50%.
Green Circle Below: Candle range ≥ 0.50% and lower wick ≥ 50%.
📢 Alerts:
Alerts trigger when the 50% spike condition is met — within the last 60 seconds before candle close — ensuring timely notifications.
🎯 Designed to assist traders in identifying spike-driven opportunities and refining entry/exit strategies.
📍 Key Features:
15-Minute Timeframe:
Red Triangle Above: Candle range ≥ 0.35% and upper wick ≥ 50% of the range.
Green Triangle Below: Candle range ≥ 0.30% and lower wick ≥ 50% of the range.
1-Hour Timeframe:
Red Circle Above: Candle range ≥ 0.50% and upper wick ≥ 50%.
Green Circle Below: Candle range ≥ 0.50% and lower wick ≥ 50%.
📢 Alerts:
Alerts trigger when the 50% spike condition is met — within the last 60 seconds before candle close — ensuring timely notifications.
🎯 Designed to assist traders in identifying spike-driven opportunities and refining entry/exit strategies.
發行說明
Wick Spike 50% Detector (15m & 1h) — UpdateWhat's new in this version:
Customizable symbol selection: Choose between triangle, circle, or cross to mark wick spikes, allowing you to tailor the visual style to your preference.
Enhanced wick spike detection on 15-minute and 1-hour timeframes with configurable minimum range thresholds for upper and lower spikes.
Improved visuals: In addition to symbols, a yellow horizontal line spanning 3 bars is drawn at the candle’s closing price that meets the spike conditions, highlighting the exact level clearly.
Alerts on candle close: Notifications trigger only when the candle closes confirming the wick spike condition, ensuring timely and reliable trade signals.
Custom inputs: Adjustable symbol size and spike thresholds let you fine-tune the indicator to fit different trading styles and instruments.
發行說明
Bug fixing發行說明
Bug fixing發行說明
A TradingView indicator that detects spikes in candlesticks based on the wick percentage relative to the candle's range. It works on 15-minute and 1-hour timeframes, ideal for identifying significant price movements and bullish or bearish spikes.Key Features:
Wick Spike Detection: Identifies significant spikes in candlesticks.
Customizable: Settings for range, rectangle height, and minimum spike percentage.
Symbols & Price Labels: Displays symbols (triangles) and price labels for clear signals.
Dynamic Alerts: Real-time notifications for detected spikes, including price and timeframe details.
Rectangle Drawing: Visualizes green (up) and red (down) rectangles for spikes.
Ideal for: Scalpers and day traders looking to spot quick spikes on shorter timeframes.
--------------------------
Un indicatore per TradingView che rileva i picchi nelle candele, basandosi sulla percentuale della coda (wick) rispetto al range della candela. Funziona su timeframe di 15 minuti e 1 ora, utile per identificare movimenti significativi e spike rialzisti o ribassisti.
Caratteristiche principali:
Rilevamento Spike Wick: Identifica spike rilevanti nelle candele.
Personalizzabile: Impostazioni per range, altezza rettangoli e percentuale di spike minima.
Simboli e Prezzi: Visualizzazione di simboli (triangoli) e etichette di prezzo per segnali chiari.
Alert Dinamici: Notifiche in tempo reale per spike rilevati, con dettagli sul prezzo e timeframe.
Disegno Rettangoli: Visualizzazione di rettangoli rossi (ribassisti) e verdi (rialzisti) per i picchi.
Ideale per: Trader di scalping e day trading che vogliono identificare spike rapidi su timeframe brevi.
發行說明
Bug fixing發行說明
🆕 New Features Added:✅ 5m Timeframe Spike Detection
• Condition: candle with range ≥ 0.25%
• Spike: upper or lower wick ≥ 50% of total candle range
✅ Automatic Drawing of Labels and Rectangles
• Now supported on 5m, 15m, and 1h timeframes
✅ New Dynamic Alerts for 5m Spikes
• Both UP and DOWN alerts with compact messages
✅ New Static alertcondition() Triggers
• Ready for manual alert configuration
✅ Simplified and More Readable Alert Messages
• Example: 5m UP | BTCUSD @ 97450.00
發行說明
✅ Added support for 4H timeframe🔔 Improved dual alert system:
“Incoming” → 60 seconds before candle close (if spike conditions are met)
“Confirmed” → at candle close, includes price and TP info
🎯 Target price now shown in alerts
🏷️ Price labels restored, with adjustable vertical offset
🔺 Triangle symbols and labels now have customizable positioning
🛠️ Inputs reorganized for better clarity and usability
🕐 Market session open lines reintroduced, toggleable via input
發行說明
Bug fixing發行說明
Bug fixing發行說明
Bug fixing開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。