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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.