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