An indicator on the price chart that draws support and resistance zones from bars with unusually high volume, measured against a volume moving average threshold.
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
Zones can come from the chart timeframe and several higher timeframes, each with its own number of zones, colours, line or zone display, and alert choice. Lines can show high and low and open and close levels, extend to the next zone or to the right, and carry timeframe labels. Style and width are adjustable.
Support and resistance zones from high-volume bars
Several timeframes with separate settings
High, low, open and close lines with style options
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Extend all S/R Zones to Next Zone
bool
true
ExtendLines1
Extend active S/R Zones to Right
bool
true
ext_active
Show Time Frame Label?
bool
true
ShowLabel
Label Location
string
Right
label_loc
Right Label Offset
int
15
label_offset
Show High/Low Line
bool
true
show_HL
Show Open/Close Line
bool
true
show_close
Line Style (H/L)
string
Solid
LineStyleHLInput
Line Width (H/L)
int
1
LineWidthHLInput
Line Style (O/C)
string
Solid
LineStyleCloseInput
Line Width (O/C)
int
1
LineWidthCloseInput
Display Lines Only, With Zones, or Disable
string
S/R Zones
TF1_Menu
Show all 40 settings
Setting
Type
Default
Variable
Time Frame 1
string
Chart
TF1_input
Volume MA - Threshold
int
6
TF1_VolMA1Input
Number of Zones Back
int
30
TF1_NumZones
Extend S/R Zones to Right
bool
false
TF1_extRight
Resistance Lines Color
color
color.new(color.red, 20)
TF1_ResLinesColor
Resistance Zone Color
color
color.new(color.red, 90)
TF1_ResZoneColor
Support Lines Color
color
color.new(color.lime, 20)
TF1_SupLinesColor
Support Zone Color
color
color.new(color.lime, 90)
TF1_SupZoneColor
Alerts
string
None
TF1_Alerts
Display Lines Only, With Zones, or Disable
string
S/R Zones
TF2_Menu
Time Frame 2
string
4h
TF2_input
Volume MA - Threshold
int
6
TF2_VolMA1Input
Number of Zones Back
int
30
TF2_NumZones
Extend S/R Zones to Right
bool
false
TF2_extRight
Resistance Lines Color
color
color.new(color.fuchsia, 20)
TF2_ResLinesColor
Resistance Zone Color
color
color.new(color.fuchsia, 90)
TF2_ResZoneColor
Support Lines Color
color
color.new(color.green, 20)
TF2_SupLinesColor
Support Zone Color
color
color.new(color.green, 90)
TF2_SupZoneColor
Alerts
string
None
TF2_Alerts
Display Lines Only, With Zones, or Disable
string
S/R Zones
TF3_Menu
Time Frame 3
string
D
TF3_input
Volume MA - Threshold
int
6
TF3_VolMA1Input
Number of Zones Back
int
30
TF3_NumZones
Extend S/R Zones to Right
bool
false
TF3_extRight
Resistance Lines Color
color
color.new(color.orange, 20)
TF3_ResLinesColor
Resistance Zone Color
color
color.new(color.orange, 90)
TF3_ResZoneColor
Support Lines Color
color
color.new(color.blue, 20)
TF3_SupLinesColor
Support Zone Color
color
color.new(color.blue, 90)
TF3_SupZoneColor
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