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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。