OPEN-SOURCE SCRIPT
2-Click Pip Calculator

Title Idea: 2-Click Interactive Pip Ruler (Clean & Fast)
Description:
This script acts as a fast, interactive vertical caliper. It strips out the time-axis requirements completely, dropping the tool down to just two clicks (Y-Axis only).
How to Use It:
Add the indicator to your chart.
The prompt will ask you to select two points.
Click 1: Click anywhere on the horizontal plane of your start price (e.g., a swing high).
Click 2: Click anywhere on the horizontal plane of your target price (e.g., a swing low).
The script instantly drops a clean, vertical measurement line at the hard right edge of your chart, displaying the exact pip distance between those two levels.
Key Features:
Zero Chart Clutter: No diagonal anchor lines or historical time markers dragging across your screen.
Forex Auto-Scaling: Automatically detects if you are on a Forex pair and multiplies the tick size by 10 to give you standard Pips. If you are on an index or crypto, it defaults to standard ticks/points.
Instant HUD: The pip label is locked cleanly to the right side of the measurement line with a semi-transparent background so it never gets lost in your candles.
Description:
This script acts as a fast, interactive vertical caliper. It strips out the time-axis requirements completely, dropping the tool down to just two clicks (Y-Axis only).
How to Use It:
Add the indicator to your chart.
The prompt will ask you to select two points.
Click 1: Click anywhere on the horizontal plane of your start price (e.g., a swing high).
Click 2: Click anywhere on the horizontal plane of your target price (e.g., a swing low).
The script instantly drops a clean, vertical measurement line at the hard right edge of your chart, displaying the exact pip distance between those two levels.
Key Features:
Zero Chart Clutter: No diagonal anchor lines or historical time markers dragging across your screen.
Forex Auto-Scaling: Automatically detects if you are on a Forex pair and multiplies the tick size by 10 to give you standard Pips. If you are on an index or crypto, it defaults to standard ticks/points.
Instant HUD: The pip label is locked cleanly to the right side of the measurement line with a semi-transparent background so it never gets lost in your candles.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.