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.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Intraday Data
text
intradayText
OI Data
text
oiText
Gold detect tokens
string
XAU,GOLD,XA
goldDetectTokens
Gold Futures Symbol
symbol
BLACKBULL:GOLD.F
futureSymbol
Automatic Futures-Spot Differential
bool
true
useAutoDiff
Auto Diff Update TF
timeframe
60
diffUpdateTf
Manual Futures-Spot Differential
float
0.0
manualDiff
Show Futures Price Label
bool
true
showFutureLabel
Futures Price Label Horizontal Offset
int
35
futureLabelXOff
Futures Price Label Size
string
normal
futureLabelSizeI
Futures Price Label Color
color
color.rgb(255, 183, 77)
futureLabelColor
Max Bar Call,Put
int
80
maxBarWidth
Show all 40 settings
Setting
Type
Default
Variable
Bar Fill % Call,Put
float
1.0
barFillPct
Show Intraday
bool
true
showIntraday
Show OI
bool
true
showOI
Show Vol Settle
bool
true
showVolSettle
Mode
string
Call & Put
mode
Profile Horizontal Offset Left
int
140
profileOffset
Row Height Price
float
1.20
rowHeight
Intraday Vertical Offset
float
0.35
intradayYOffset
OI Vertical Offset
float
-0.35
oiYOffset
Show Bar Value Text
bool
true
showBarValues
Highlight Intraday Max Total
bool
true
highlightIntradayTotal
Highlight OI Max Total
bool
true
highlightOITotal
Highlight Width Multiplier
float
1.35
highlightWidthMult
Highlight Line Width
int
4
highlightLineWidth
Show Major Levels (00 / 25 / 50 / 75)
bool
true
showMajorLevels
Show Minor Levels (12.5 / 37.5 / 62.5 / 87.5)
bool
false
showMinorLevels
Display Price Labels
bool
true
displayPriceLabels
Number of Levels Above / Below
int
15
levelsAboveBelow
Major Step
float
25.0
majorStep
Minor Step
float
12.5
minorStep
Major Label Size
string
small
majorLabelSizeI
Major Level Color
color
color.new(color.yellow, 25)
majorLevelColor
Major Level Style
string
Dotted
majorLineStyleI
Major Width
int
1
majorLineWidth
Major Label Color
color
color.new(color.yellow, 0)
majorLabelColor
Major Label Horizontal Offset
int
9
majorLabelXOff
Major Label Background
color
color.new(color.black, 100)
majorLabelBg
Minor Label Size
string
tiny
minorLabelSizeI
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.
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
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
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
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
This indicator plots two Hull moving averages on the price chart, one of the selected price and one of close, and optionally smooths both with a Kahlman filter. It fills the space between them and marks buy and sell labels when they cross, provided scaled volu
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