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
HV Roll Multi Rare tracks five rare tiers, from all-time high volume to 4000, 3000, 2000 and 1000 bar highs, across three lanes each, and signals when a set number of events occurs within a bar window, such as two within 1000 bars or three within 1500. Counts, windows and colours are adjustable per lane. It is one half of a paired study.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable HEV 2x
bool
true
w1a_on
Count (events)
int
2
w1a_cnt
within Bars
int
1000
w1a_win
w1a_col
color
color.rgb(156, 39, 176)
w1a_col
Enable HEV 4x
bool
true
w1b_on
Count (events)
int
2
w1b_cnt
within Bars
int
500
w1b_win
w1b_col
color
color.rgb(201, 84, 221)
w1b_col
Enable HEV 3ev
bool
true
w1c_on
Count (events)
int
3
w1c_cnt
within Bars
int
1500
w1c_win
w1c_col
color
color.rgb(111, 0, 131)
w1c_col
Show all 40 settings
Setting
Type
Default
Variable
Enable 4K+ 2x
bool
true
w2a_on
Count (events)
int
2
w2a_cnt
within Bars
int
4000
w2a_win
w2a_col
color
color.rgb(240, 45, 55)
w2a_col
Enable 4K+ 4x
bool
true
w2b_on
Count (events)
int
2
w2b_cnt
within Bars
int
2000
w2b_win
w2b_col
color
color.rgb(255, 90, 100)
w2b_col
Enable 4K+ 3ev
bool
true
w2c_on
Count (events)
int
3
w2c_cnt
within Bars
int
5000
w2c_win
w2c_col
color
color.rgb(195, 0, 10)
w2c_col
Enable 3K+ 2x
bool
true
w3a_on
Count (events)
int
2
w3a_cnt
within Bars
int
3000
w3a_win
w3a_col
color
color.rgb(224, 45, 71)
w3a_col
Enable 3K+ 4x
bool
true
w3b_on
Count (events)
int
2
w3b_cnt
within Bars
int
1500
w3b_win
w3b_col
color
color.rgb(255, 90, 116)
w3b_col
Enable 3K+ 3ev
bool
true
w3c_on
Count (events)
int
3
w3c_cnt
within Bars
int
4500
w3c_win
w3c_col
color
color.rgb(179, 0, 26)
w3c_col
Enable 2K+ 2x
bool
true
w4a_on
Count (events)
int
2
w4a_cnt
within Bars
int
2000
w4a_win
w4a_col
color
color.rgb(209, 45, 86)
w4a_col
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.
Calculates an Elastic Volume Weighted Moving Average (EVWMA), incorporating trading volume to dynamically adjust moving average responsiveness over a specified lookback length. It plots directly on the price chart as a single moving average line. Optional colo
This overlay indicator screens a pasted list of up to forty symbols and draws a table on the price chart. It classifies bullish or bearish setups from the percent change between the current candle and the candle 250 bars back, then shows RSI with a simple movi
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
This indicator overlays historical ARK Invest buy and sell events for META on the price chart. It places green labels below bars for purchases and red labels above bars for sales, with a same-day count of how many selected ARK ETFs traded the stock. The ETF in
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