OPEN-SOURCE SCRIPT

Wick to Close Distance (Pips)

299
This indicator measures the distance between the candle wicks and the closing price.

For every candle:

* Upper value = distance from High to Close
* Lower value = distance from Low to Close

Unlike traditional wick calculations, this tool always uses the **closing price as the anchor point**, ignoring the open price and candle direction.

Key Features:

* Works on Forex pairs, Gold (XAUUSD), and other instruments
* Automatically adjusts using tick size for accurate pip/point calculation
* Displays values directly on the chart for quick analysis
* Clean visualization with color-coded labels:

* Red = Upper distance (High → Close)
* Green = Lower distance (Low → Close)

Use Case:
This helps identify rejection strength and price behavior around the closing price, which can be useful for spotting liquidity grabs, reversals, and momentum shifts.

Settings:

* Option to filter minimum distance
* Option to limit number of labels for better chart clarity

Best used for:
Scalping, intraday trading, and price action strategies.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.