OPEN-SOURCE SCRIPT
Body vs Wick Filter

**Body vs Wick Filter**
The Body vs Wick Filter is a candle analysis tool that identifies candles with a significant body relative to their total range. The core idea behind this indicator is that candles with a large body and small wicks represent strong, decisive price movement, while candles with small bodies and large wicks indicate indecision, rejection or failed attempts to move in a direction. By filtering for candles that meet a minimum body percentage, traders can visually separate high-conviction moves from noise.
**How it works**
For every candle on the chart, the indicator calculates three values: the total candle range from high to low, the body size from open to close, and the remaining wick size. It then expresses the body as a percentage of the total range. A candle where the body takes up 80% of the total range is a strong, directional candle. A candle where the body is only 20% of the range is mostly wick and represents uncertainty in the market.
**Coloring and visual output**
Candles that meet or exceed your minimum body percentage threshold are highlighted directly on the chart. Bullish candles that qualify receive one color and bearish candles that qualify receive a separate color, both fully customizable in the settings. Candles that do not meet the threshold are left in their original chart color, so your attention is naturally drawn to the qualifying candles only.
An optional percentage label is displayed above each candle within the lookback window, showing the exact body percentage so you can quickly assess the strength of any candle at a glance.
**How to use it**
1. Set your minimum body percentage in the settings, for example 60%, to only highlight candles where the body makes up at least 60% of the total range
2. Choose your preferred colors for bullish and bearish qualifying candles
3. Adjust the lookback window to control how many recent candles display the percentage label
4. Use the Data Window by hovering over any candle to see the exact body percentage, wick percentage, total candle size in pips and body size in pips
**Practical applications**
This indicator is particularly useful for traders who base entries on candlestick structure, such as identifying strong momentum candles, confirming breakouts, or filtering out indecisive price action around key levels. It works on any timeframe and any instrument.
The Body vs Wick Filter is a candle analysis tool that identifies candles with a significant body relative to their total range. The core idea behind this indicator is that candles with a large body and small wicks represent strong, decisive price movement, while candles with small bodies and large wicks indicate indecision, rejection or failed attempts to move in a direction. By filtering for candles that meet a minimum body percentage, traders can visually separate high-conviction moves from noise.
**How it works**
For every candle on the chart, the indicator calculates three values: the total candle range from high to low, the body size from open to close, and the remaining wick size. It then expresses the body as a percentage of the total range. A candle where the body takes up 80% of the total range is a strong, directional candle. A candle where the body is only 20% of the range is mostly wick and represents uncertainty in the market.
**Coloring and visual output**
Candles that meet or exceed your minimum body percentage threshold are highlighted directly on the chart. Bullish candles that qualify receive one color and bearish candles that qualify receive a separate color, both fully customizable in the settings. Candles that do not meet the threshold are left in their original chart color, so your attention is naturally drawn to the qualifying candles only.
An optional percentage label is displayed above each candle within the lookback window, showing the exact body percentage so you can quickly assess the strength of any candle at a glance.
**How to use it**
1. Set your minimum body percentage in the settings, for example 60%, to only highlight candles where the body makes up at least 60% of the total range
2. Choose your preferred colors for bullish and bearish qualifying candles
3. Adjust the lookback window to control how many recent candles display the percentage label
4. Use the Data Window by hovering over any candle to see the exact body percentage, wick percentage, total candle size in pips and body size in pips
**Practical applications**
This indicator is particularly useful for traders who base entries on candlestick structure, such as identifying strong momentum candles, confirming breakouts, or filtering out indecisive price action around key levels. It works on any timeframe and any instrument.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。