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
A Gaussian spread smooths volume around detected cluster peaks, and the highest enhanced bin is plotted as the current point of control, with optional cluster-center lines. Swing pivots define historical segment profiles that can show their own point-of-control lines. The last segment may extend value-area and low-value boxes toward the current bar. Lookback length, bin count, cluster spread, and how many historical profiles stay visible are the main controls.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Lookback Bars
int
250
lookbackBars
Price Bins
int
40
binsCount
Cluster Spread
float
2.5
clusterSigma
Max Cluster Centers
int
2
maxClusters
Current POC
bool
true
showPOCLine
Current Cluster Centers
bool
true
showClusters
Profile Width
int
50
profileWidth
Profile Color
color
color.new(color.teal, 60)
profileColor
Border Color
color
color.new(color.teal, 0)
borderColor
Current POC Color
color
color.new(color.yellow, 0)
pocColor
Cluster Line Color
color
color.new(color.orange, 0)
clusterColor
Show Historical Swing Profiles
bool
true
showHistorical
Show all 25 settings
Setting
Type
Default
Variable
swingLen
int
20
swingLen
Max Profiles
int
12
maxHistProfiles
Profile Width
int
20
histWidth
Historical POC Line
bool
true
histShowPOC
POC
color
color.new(color.yellow, 0)
histHighPOC
histPOCWidth
int
2
histPOCWidth
High Fill
color
color.new(color.orange, 65)
histHighFill
Low Fill
color
color.new(color.teal, 65)
histLowFill
Transparency
int
85
histWrapTransp
Profile VA/LV
bool
true
showLastExtBoxes
VA Fill
color
color.new(color.orange, 80)
vaFillCol
LV Fill
color
color.new(color.blue, 85)
lvFillCol
lastExtTransp
int
70
lastExtTransp
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