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
Relative Strength Table measures strength over four lookback periods, can average the visible periods, and can add relative volume as current volume divided by a simple moving average. Users choose visible columns, sort order, table orientation and position, and whether calculations stay on the daily timeframe or follow the chart. Relative volume text is colored by whether the latest close is at or above the prior close. It draws only in a separate pane and has no trade entries or exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
RS Benchmark
symbol
SPY
rs_benchmark
Sort By RS Period or RVOL
string
P2
sort_key_options
Table Orientation
string
Vertical
table_orientation
Table Position
string
Left Top
table_position
Calculation Timeframe Mode
string
Daily (Fixed)
calc_mode
Period 1 (Short)
int
5
rs_length_w1
show_rs_w1
bool
false
show_rs_w1
Period 2 (Medium)
int
21
rs_length_m1
show_rs_m1
bool
true
show_rs_m1
Period 3 (Longer)
int
63
rs_length_m3
show_rs_m3
bool
true
show_rs_m3
Period 4 (Long)
int
126
rs_length_m6
Show all 40 settings
Setting
Type
Default
Variable
show_rs_m6
bool
false
show_rs_m6
Show Average RS Column
bool
false
show_rs_avg
Show Relative Volume Column
bool
true
show_rel_vol
Relative Volume SMA Length
int
50
rel_vol_len
RVOL Up Color
color
color.new(#089981, 0)
rvol_up_color
RVOL Down Color
color
color.new(color.red, 0)
rvol_down_color
Ticker 1
symbol
XLF
ticker_1
is_set_1
bool
true
is_set_1
Ticker 2
symbol
SMH
ticker_2
is_set_2
bool
true
is_set_2
Ticker 3
symbol
IGV
ticker_3
is_set_3
bool
true
is_set_3
Ticker 4
symbol
BAI
ticker_4
is_set_4
bool
true
is_set_4
Ticker 5
symbol
AIQ
ticker_5
is_set_5
bool
true
is_set_5
Ticker 6
symbol
DRAM
ticker_6
is_set_6
bool
true
is_set_6
Ticker 7
symbol
QTUM
ticker_7
is_set_7
bool
true
is_set_7
Ticker 8
symbol
EUV
ticker_8
is_set_8
bool
true
is_set_8
Ticker 9
symbol
IYZ
ticker_9
is_set_9
bool
true
is_set_9
Ticker 10
symbol
CIBR
ticker_10
is_set_10
bool
true
is_set_10
Ticker 11
symbol
WGMI
ticker_11
is_set_11
bool
true
is_set_11
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.
Oscillator Suite plots a normalised price oscillator in a separate pane and overlays a signal line that can use SMA, EMA, WMA, HMA, RMA, VWMA, T3, ZEMA, KAMA, or GKEMA. It marks bullish and bearish divergences, a smoothed money-flow series, confluence areas an
This indicator calculates the Relative Strength Index (RSI) alongside a simple moving average to generate directional momentum signals in a separate pane. It supports Break Flip and Break Continuous scanning modes for long and short setups. A wide array of opt
This indicator plots a smoothed Z-score of cumulative volume delta in a separate pane, showing whether buying or selling pressure is dominant and when the reading enters extreme zones. It marks spot accumulation, climax or exhaustion, and pivot-based price-vol
The Candle Pressure Index measures buying versus selling pressure from candle geometry and relative volume. Each bar combines close location, body ratio, and volume rank into a raw pressure value. An exponential moving average of that pressure forms the CPI os
Nexural OrderFlow Matrix is an order flow visualization tool that plots a detailed heatmap table and stacked imbalance bars in a separate pane. It calculates volume metrics using lower timeframe volume delta data, displaying per-candle metrics such as Delta, D
Arbitrage Detector [LuxAlgo] compares price and volume data across multiple crypto exchanges or forex brokers against the charted asset. It calculates cross-venue spreads and measures their percentile ranks to highlight market anomalies, plotting a smoothed gr