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
OI Profile draws reaction levels and optional zones, an expected-move box, and a set of profile columns in the empty space right of the last bar: dealer gamma by strike, vanna, traded volume, open interest change, implied volatility smile and a gamma helix. A summary table is optional and level count and column sizes are adjustable. The author describes it as a picture of the book, not a signal.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Paste the OI Profile export
text
pasteTxt
Force instrument (blank = auto)
string
overrideKey
Gold chart ticker
string
XAUUSD
goldChart
NQ chart ticker
string
NAS100USD
nqChart
SPX500 chart ticker
string
SPX500USD
spxChart
DE30 chart ticker
string
GER40
de30Chart
UK100 chart ticker
string
UK100GBP
uk100Chart
US30 chart ticker
string
US30USD
us30Chart
US2000 chart ticker
string
US2000USD
us2kChart
Reaction levels
bool
true
showLevels
Reaction zones (soft bands behind levels)
bool
false
showZones
Minor levels (vanna, charm, volume, gamma peak)
bool
false
showMinor
Show all 40 settings
Setting
Type
Default
Variable
Expected move edges (options-implied range, not a level)
bool
false
showEM
Max levels shown
int
7
maxLevels
Expected-move box
bool
true
showEM
Summary table
bool
true
showTable
GEX profile
bool
true
showGex
Vanna
bool
true
showVanna
Volume
bool
true
showVol
OI change
bool
true
showChg
IV smile
bool
true
showSmile
Gamma helix
bool
true
showHelix
Gap right of the last bar (bars)
int
6
gapBars
Column width (bars)
int
14
colW
Gap between columns (bars)
int
5
colGap
Zone half-height (× expected-move scale)
float
0.05
zoneFrac
Label size
string
small
lblSizeIn
Level labels on the
string
right
labelSide
Table text size
string
tiny
tblSize
Table position
string
bottom left
tblPos
Call wall / short gamma
color
#ff5b6e
cCall
Put wall / long gamma
color
#2dd4a0
cPut
Zero gamma / GEX flip
color
#a78bfa
cZero
Max pain
color
#e6c84a
cPain
Vanna flip
color
#ff7ad9
cVanna
Charm flip
color
#ff9f43
cCharm
Volume
color
#4aa8ff
cVol
Expected move
color
#f0b04a
cEM
IV smile
color
#ffd166
cSmile
Gamma peak
color
#e2e8f0
cPeak
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 marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi
This indicator plots Donchian Channel boundary lines along with dynamic fan projections directly on the price chart. It calculates the highest high, lowest low, and median price over a customizable lookback period. Whenever price establishes a new channel high
Plots kernel-smoothed price zones on the price chart using a Rational Quadratic kernel from an imported library. It builds an inner and an outer high-low zone from 15-minute highs and lows, plus a smoothed close and a midline, and marks bullish or bearish bars
Dynamic Linear Regression calculates and plots linear regression trendlines and standard deviation channels directly on the price chart over a user-selected time period. Traders can configure static channels locked at the end time, dynamic channels that contin
This indicator plots optional candlestick pattern signals on the price chart. It detects engulfing bars, inside bars, HOLP and LOHP, kicker patterns, body-mass extremes, higher highs and lower lows, ATR warnings, and four-bar fractals. Optional pivot marks use
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I