OPEN-SOURCE SCRIPT
OHLC Range Meter

OHLC Range Meter
An indicator that reads the Open / High / Low / Close of every candle and measures each candle's "range" from its High − Low. It's built to show at a glance which candles are moving hard and which are quiet, making it useful for reading momentum and volatility bar by bar — especially for gold (XAUUSD) trading.
Key features
Displays the range (H−L) as a label on every candle. Choose from three units — Points, Price (dollars), or Ticks — to match your own counting style and your broker's price precision. You can optionally add the body range |Close − Open| and the full OHLC values inside each label.
Labels are clearly separated between up and down candles (default: green candles above, red candles below), so direction and trend shifts are instantly readable. The position for each color is fully adjustable.
A real-time summary table in the corner shows the latest candle's OHLC and range. Position it in any of the four corners, adjust font size for both labels and table across five levels, and customize colors and label frequency.
About the units
Points mode divides (High − Low) by your chosen point size. For gold, 0.01 is recommended — a candle moving $2.30 will read as 230, matching how most gold traders count. If your broker quotes prices with three decimals, switch to 0.001, or use Ticks mode, which follows the symbol's actual mintick automatically.
How to use
Open the Pine Editor on TradingView, paste the code, and Add to chart. Adjust units and styling under Settings. Works on any symbol and any timeframe.
Note: TradingView limits labels to the most recent 500.
An indicator that reads the Open / High / Low / Close of every candle and measures each candle's "range" from its High − Low. It's built to show at a glance which candles are moving hard and which are quiet, making it useful for reading momentum and volatility bar by bar — especially for gold (XAUUSD) trading.
Key features
Displays the range (H−L) as a label on every candle. Choose from three units — Points, Price (dollars), or Ticks — to match your own counting style and your broker's price precision. You can optionally add the body range |Close − Open| and the full OHLC values inside each label.
Labels are clearly separated between up and down candles (default: green candles above, red candles below), so direction and trend shifts are instantly readable. The position for each color is fully adjustable.
A real-time summary table in the corner shows the latest candle's OHLC and range. Position it in any of the four corners, adjust font size for both labels and table across five levels, and customize colors and label frequency.
About the units
Points mode divides (High − Low) by your chosen point size. For gold, 0.01 is recommended — a candle moving $2.30 will read as 230, matching how most gold traders count. If your broker quotes prices with three decimals, switch to 0.001, or use Ticks mode, which follows the symbol's actual mintick automatically.
How to use
Open the Pine Editor on TradingView, paste the code, and Add to chart. Adjust units and styling under Settings. Works on any symbol and any timeframe.
Note: TradingView limits labels to the most recent 500.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。