OPEN-SOURCE SCRIPT
Wick to Close Distance (Pips)

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.
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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.