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 squeeze module filters by minimum volume and a maximum ADX and can draw shark icons and support markings. Inflection zones are boxes built from swing highs and lows, with a swing length and history setting. Pivot levels support Traditional, Fibonacci, Woodie, Classic, DM and Camarilla types across several timeframes and use an imported library. The visible code shows only the input section.
Gravity Squeeze overlay with volume and ADX filter
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable Gravity Squeeze Overlay
bool
true
gs_enable
Min Volume
int
300000
gs_min_vol
Max ADX (Trend Strength)
int
30
gs_adx_limit
Show Shark Icons
bool
true
gs_show_shark
Show Shark Support (Blood)
bool
true
gs_show_blood
Swing High/Low Length
int
10
swing_length
History To Keep
int
20
history_of_demand_to_keep
Supply/Demand Box Width
float
2.5
box_width
Enable IZ
bool
true
switch_poi
Type
string
Traditional
pivotTypeInput
Pivots Timeframe
string
Auto
pivotAnchorInput
Number of Pivots Back
int
1
maxHistoricalPivotsInput
Show all 40 settings
Setting
Type
Default
Variable
Use Daily-based Values
bool
true
isDailyBasedInput
Show Labels
bool
true
showLabelsInput
Show Prices
bool
true
showPricesInput
Labels Position
string
Left
positionLabelsInput
Line Width
int
1
linewidthInput
Show Pivot Levels
bool
false
switch_pivot
P
color
DEFAULT_COLOR
pColorInput
pShowInput
bool
true
pShowInput
S1
color
DEFAULT_COLOR
s1ColorInput
s1ShowInput
bool
true
s1ShowInput
R1
color
DEFAULT_COLOR
r1ColorInput
r1ShowInput
bool
true
r1ShowInput
S2
color
DEFAULT_COLOR
s2ColorInput
s2ShowInput
bool
true
s2ShowInput
R2
color
DEFAULT_COLOR
r2ColorInput
r2ShowInput
bool
true
r2ShowInput
S3
color
DEFAULT_COLOR
s3ColorInput
s3ShowInput
bool
true
s3ShowInput
R3
color
DEFAULT_COLOR
r3ColorInput
r3ShowInput
bool
true
r3ShowInput
S4
color
DEFAULT_COLOR
s4ColorInput
s4ShowInput
bool
true
s4ShowInput
R4
color
DEFAULT_COLOR
r4ColorInput
r4ShowInput
bool
true
r4ShowInput
S5
color
DEFAULT_COLOR
s5ColorInput
s5ShowInput
bool
true
s5ShowInput
R5
color
DEFAULT_COLOR
r5ColorInput
r5ShowInput
bool
true
r5ShowInput
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
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
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 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