Indicator · Pine Script v6 · Own pane

Relative Strength Table

by ChartsLector

This indicator builds a table of relative strength for up to six user-chosen symbols against a benchmark, defaulting to SPY.

View on GitHub

GitHub stars41on the repository
Pine versionv6current
Lines of code827
Settings40inputs
LicenceNone stated
Last update2 days ago26 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

ChartsLector on GitHub

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Screeners & dashboards, Volume

Markets

Stocks

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
RS BenchmarksymbolSPYrs_benchmark
Sort By RS Period or RVOLstringP2sort_key_options
Table OrientationstringVerticaltable_orientation
Table PositionstringLeft Toptable_position
Calculation Timeframe ModestringDaily (Fixed)calc_mode
Period 1 (Short)int5rs_length_w1
show_rs_w1boolfalseshow_rs_w1
Period 2 (Medium)int21rs_length_m1
show_rs_m1booltrueshow_rs_m1
Period 3 (Longer)int63rs_length_m3
show_rs_m3booltrueshow_rs_m3
Period 4 (Long)int126rs_length_m6
Show all 40 settings
SettingTypeDefaultVariable
show_rs_m6boolfalseshow_rs_m6
Show Average RS Columnboolfalseshow_rs_avg
Show Relative Volume Columnbooltrueshow_rel_vol
Relative Volume SMA Lengthint50rel_vol_len
RVOL Up Colorcolorcolor.new(#089981, 0)rvol_up_color
RVOL Down Colorcolorcolor.new(color.red, 0)rvol_down_color
Ticker 1symbolXLFticker_1
is_set_1booltrueis_set_1
Ticker 2symbolSMHticker_2
is_set_2booltrueis_set_2
Ticker 3symbolIGVticker_3
is_set_3booltrueis_set_3
Ticker 4symbolBAIticker_4
is_set_4booltrueis_set_4
Ticker 5symbolAIQticker_5
is_set_5booltrueis_set_5
Ticker 6symbolDRAMticker_6
is_set_6booltrueis_set_6
Ticker 7symbolQTUMticker_7
is_set_7booltrueis_set_7
Ticker 8symbolEUVticker_8
is_set_8booltrueis_set_8
Ticker 9symbolIYZticker_9
is_set_9booltrueis_set_9
Ticker 10symbolCIBRticker_10
is_set_10booltrueis_set_10
Ticker 11symbolWGMIticker_11
is_set_11booltrueis_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.

Similar Pine Scripts

Oscillator Suite

by TamaraKGreen
46 stars

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

Indicator v5 Oscillators & momentumDivergence
Updated 7 weeks ago · None stated GitHub repository of Oscillator Suite

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

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Momentum Setup: RSI Direction Confirmation
11 stars

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

Indicator v6 Oscillators & momentumVolume Repaints
Updated 7 weeks ago · MIT GitHub repository of CVD Z-Score [NeuNue]

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

Indicator v6 Oscillators & momentumVolume
Updated yesterday · MIT GitHub repository of Candle Pressure Index [WavesUnchained]

Nexural OrderFlow Matrix

by JasonTeixeira
9 stars

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

Indicator v6 VolumeScreeners & dashboards
Updated 12 days ago · Custom licence GitHub repository of Nexural OrderFlow Matrix
7 stars

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

Indicator v6 Screeners & dashboardsVolume
Updated 3 months ago · None stated GitHub repository of Arbitrage Detector [LuxAlgo]

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers