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. اقرأ المزيد في شروط الاستخدام.