OPEN-SOURCE SCRIPT

OHLC Range Meter

171
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.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.