Indicator · Pine Script v6 · On the chart

Gold Round Numbers Intraday and OI Profile

by Aphiraporn

This overlay indicator draws gold round-number levels (00, 25, 50, 75, with optional minor levels) around price and displays pasted intraday and open interest option data as call and put bars beside them.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code623
Settings40inputs
LicenceNone stated
Last update7 weeks ago7 Sep 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

The user pastes the data into text settings. A futures-to-spot differential, automatic or manual, shifts futures-based figures to spot. Settings control bar width, row height, offsets, highlights of the largest totals and the number of levels shown. Output depends on the pasted data.

Details

Published by

Aphiraporn on GitHub

Draws

On the price chart

Markets

Gold

Timeframes

M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Intraday DatatextintradayText
OI DatatextoiText
Gold detect tokensstringXAU,GOLD,XAgoldDetectTokens
Gold Futures SymbolsymbolBLACKBULL:GOLD.FfutureSymbol
Automatic Futures-Spot DifferentialbooltrueuseAutoDiff
Auto Diff Update TFtimeframe60diffUpdateTf
Manual Futures-Spot Differentialfloat0.0manualDiff
Show Futures Price LabelbooltrueshowFutureLabel
Futures Price Label Horizontal Offsetint35futureLabelXOff
Futures Price Label SizestringnormalfutureLabelSizeI
Futures Price Label Colorcolorcolor.rgb(255, 183, 77)futureLabelColor
Max Bar Call,Putint80maxBarWidth
Show all 40 settings
SettingTypeDefaultVariable
Bar Fill % Call,Putfloat1.0barFillPct
Show IntradaybooltrueshowIntraday
Show OIbooltrueshowOI
Show Vol SettlebooltrueshowVolSettle
ModestringCall & Putmode
Profile Horizontal Offset Leftint140profileOffset
Row Height Pricefloat1.20rowHeight
Intraday Vertical Offsetfloat0.35intradayYOffset
OI Vertical Offsetfloat-0.35oiYOffset
Show Bar Value TextbooltrueshowBarValues
Highlight Intraday Max TotalbooltruehighlightIntradayTotal
Highlight OI Max TotalbooltruehighlightOITotal
Highlight Width Multiplierfloat1.35highlightWidthMult
Highlight Line Widthint4highlightLineWidth
Show Major Levels (00 / 25 / 50 / 75)booltrueshowMajorLevels
Show Minor Levels (12.5 / 37.5 / 62.5 / 87.5)boolfalseshowMinorLevels
Display Price LabelsbooltruedisplayPriceLabels
Number of Levels Above / Belowint15levelsAboveBelow
Major Stepfloat25.0majorStep
Minor Stepfloat12.5minorStep
Major Label SizestringsmallmajorLabelSizeI
Major Level Colorcolorcolor.new(color.yellow, 25)majorLevelColor
Major Level StylestringDottedmajorLineStyleI
Major Widthint1majorLineWidth
Major Label Colorcolorcolor.new(color.yellow, 0)majorLabelColor
Major Label Horizontal Offsetint9majorLabelXOff
Major Label Backgroundcolorcolor.new(color.black, 100)majorLabelBg
Minor Label SizestringtinyminorLabelSizeI
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

This overlay indicator draws a fixed-range volume profile on the price chart, splitting traded activity into up and down volume at each price level. It also plots a sentiment profile, a developing point of control, and value-area high and low around a configur

Indicator v5 VolumeSupport & resistance
Updated 2 months ago · MIT GitHub repository of Volume Profile and Indicator by DGT

MGIC-tracker

by Allen1212
303 stars

The MGIC-tracker is a TradingView indicator that overlays ARK Invest trade records onto stock price charts. It plots buy and sell labels at the exact timestamp of each transaction, showing share volume and ETF weight. Users select a specific ETF type via setti

Indicator v4 Support & resistanceVolume
Updated 2 years ago · None stated GitHub repository of MGIC-tracker
228 stars

Comprehensive Volume Profile is an overlay indicator that calculates and plots volume distribution across specified time ranges such as daily sessions, weekly, monthly, or custom bar lengths. It identifies key structural price levels including the Point of Con

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Comprehensive Volume Profile

Moon Dev GEX Arrows

by moondevonyt
92 stars

This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow

Indicator v5 Support & resistanceSessions & time
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Arrows

More Support & resistance scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers