OPEN-SOURCE SCRIPT
Wick Ratio Indicator

Script Description: Wick Ratio Indicator
This Pine Script indicator identifies candlesticks with dominant upper or lower wicks and visually marks them on the chart. It helps traders spot potential price rejection signals, often used to anticipate trend reversals or breakout opportunities. Key Features
Wick Length Calculation
Upper Wick: high - max(open, close)
(Measures distance from the highest price to the candle body's top)
Lower Wick: min(open, close) - low
(Measures distance from the candle body's bottom to the lowest price)
Comparison Logic
Green Triangle (▲): Plotted above the candle when the upper wick is longer (bearish rejection signal).
Red Triangle (▼): Plotted below the candle when the lower wick is longer (bullish rejection signal).
Visual Simplicity
Non-intrusive design that overlays directly on price action.
Customizable colors and sizes (modifiable in settings).
This Pine Script indicator identifies candlesticks with dominant upper or lower wicks and visually marks them on the chart. It helps traders spot potential price rejection signals, often used to anticipate trend reversals or breakout opportunities. Key Features
Wick Length Calculation
Upper Wick: high - max(open, close)
(Measures distance from the highest price to the candle body's top)
Lower Wick: min(open, close) - low
(Measures distance from the candle body's bottom to the lowest price)
Comparison Logic
Green Triangle (▲): Plotted above the candle when the upper wick is longer (bearish rejection signal).
Red Triangle (▼): Plotted below the candle when the lower wick is longer (bullish rejection signal).
Visual Simplicity
Non-intrusive design that overlays directly on price action.
Customizable colors and sizes (modifiable in settings).
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
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.