📈 AstroTrading Liquidation Bars Identify High-Volume Candles with Long Wicks for Potential Market Reversals Author: Bugra Comez | Version: 1.0 | Category: Volume Analysis
🔍 Indicator Overview This indicator detects liquidation bars – candles with abnormally high volume and elongated wicks – which often signal panic buying/selling, stop hunts, or trend exhaustion. It highlights these bars with a red background and an explosion emoji (💥) above them, enabling traders to spot potential reversals or liquidity zones.
⚙️ Parameters Customize the sensitivity of the signals using these inputs:
Volume Threshold (threshold):
Description: Multiplier applied to the 233-period volume moving average. A value of 2 means the current volume must be twice the average to trigger a signal.
Usage: Higher values reduce false signals but may miss weaker liquidity events.
Wick Ratio (wick_ratio):
Description: Minimum ratio of wick length to body size. For example, 0.5 means the wick (upper or lower) must be at least 50% of the candle’s body to qualify.
Usage: Lower values detect more candles but increase noise.
📊 How It Works Algorithm Steps: Volume Analysis:
Calculates the 233-period SMA (Simple Moving Average) of volume.
Flags a candle as "high volume" if current volume > SMA(233) * threshold.
Wick Analysis:
Measures the upper wick (high - max(open, close)) and lower wick (min(open, close) - low).
Compares the larger wick to the candle’s body (abs(open - close)).
Triggers a signal if either wick exceeds body size * wick_ratio.
Signal Confirmation:
A liquidation bar is confirmed only if BOTH high volume and long wick conditions are met.
🧠 Interpretation & Trading Logic Red Bars: Indicate liquidation zones where aggressive buying/selling occurred, often trapping retail traders.
Contextual Use:
Trend Reversals: Liquidation bars near support/resistance may signal exhaustion.
Stop Hunts: Common in ranging markets where liquidity is clustered around key levels.
Breakout/False Breakouts: High-volume wicks can mark failed breakouts or accumulation/distribution.
🛠️ Use Cases Day Trading:
Combine with price action (e.g., engulfing patterns) to scalp reversals.
Swing Trading:
Identify liquidation zones as potential entry points for counter-trend trades.
Risk Management:
Place stop-losses beyond the wick extremes to avoid being stopped out prematurely.
⚠️ Critical Warnings Not a Standalone Strategy: Always confirm with additional indicators (e.g., RSI, MACD, or market structure).
False Signals: High volatility or news events may trigger unreliable signals.
Backtest: Test historical performance on multiple assets and timeframes.
Risk Disclosure: "Past performance ≠ future results. Trade at your own risk."
🌟 Key Features Multi-Market Compatibility: Works on stocks, forex, crypto, and futures.
Real-Time Alerts: Compatible with TradingView’s alert system for live notifications.
Customizable Aesthetics: Adjust colors, transparency, and emoji symbols via the script settings.
Open Source: Full Pine Script v5 code is transparent and modifiable.
📜 Code Documentation Logic: Based on volume anomaly detection and candlestick anatomy.
Open Source: Code is unencrypted – users can verify or modify the logic.
Repository: GitHub Link (replace with your repo link).
Feedback: Report bugs or suggestions via TradingView comments or Email.
📸 Example Charts (Attach 2-3 annotated screenshots when publishing on TradingView)
Example 1: Liquidation bars at a key resistance level in BTC/USDT (15m chart).
Example 2: False breakout marked by a liquidation bar in EUR/USD (1h chart).
🔗 Additional Resources Video Tutorial: YouTube Link (optional).
Telegram Group: Join for real-time signals here.
Social Media: Follow updates on Twitter or LinkedIn.
✅ Compliance Notes TradingView Guidelines:
Open-source code ✔️
No misleading claims ✔️
No financial advice ✔️
Licensing: Free for public use. Commercial redistribution requires permission.
Publish Checklist:
Add screenshots to the "Visuals" section.
Replace placeholder links (GitHub, social media).
Set script visibility to "Public".
Review TradingView’s Script Publishing Rules.
Let me know if you need further refinements! 🚀
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.