This indicator calculates blended Relative Strength (RS) Ratio and RS-Momentum metrics for the chart symbol relative to a benchmark asset such as SPY, inspired by Relative Rotation Graph principles.
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 Robustness Rotation — Blended combines fast and slow normalized relative strength and momentum components using customizable weighting, and includes an optional momentum acceleration filter. Plotted in a separate pane alongside a real-time status table, it helps track rotational shifts against a reference market across user-defined calculation timeframes.
Blended fast and slow RS-Ratio calculations
Dual-speed normalized RS-Momentum tracking
Configurable momentum acceleration adjustment
On-screen rotational state dashboard table
Customizable reference symbol and calculation timeframe
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Reference Symbol
symbol
SPY
refSymbol
Calculation Timeframe
timeframe
D
calcTimeframe
Use Completed Calculation Bars Only
bool
false
useCompletedBarsOnly
Show Raw Relative Strength
bool
false
showRawRS
Show State Table
bool
true
showTable
Fast RS Smoothing Length
int
15
ratioFastRsLen
Fast Ratio Normalization Length
int
21
ratioFastNormLen
Slow RS Smoothing Length
int
26
ratioSlowRsLen
Slow Ratio Normalization Length
int
34
ratioSlowNormLen
Fast Component Weight
float
0.60
fastWeight
Fast Momentum Length
int
8
momFastLen
Fast Momentum Normalization Length
int
15
momFastNormLen
Show all 19 settings
Setting
Type
Default
Variable
Slow Momentum Length
int
15
momSlowLen
Slow Momentum Normalization Length
int
26
momSlowNormLen
Enable Acceleration Adjustment
bool
true
enableAccelerationAdjustment
Maximum Absolute Adjustment
float
0.10
accelerationMax
Longer Change Period
int
5
accelerationCompareBars
Change Volatility Length
int
20
accelerationVolLength
Table Size
string
Small
optionsTableSize
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 indicator scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d
This indicator plots the RSI oscillator on the main chart and displays its value distribution in a table positioned at the top right. The script calculates the relative strength index using the input source and length, then plots horizontal lines at 0, 50, and
Market Speedometer plots a 0-100 market speed reading in a separate pane. It measures movement by bar-to-bar change, true range, or a short average of recent bars, then ranks that movement against ATR and a percentile lookback. An EMA smooths the reading, and
KamaFama is an indicator that translates a Freqtrade trading strategy into Pine Script for visualization. It combines Kaufman Adaptive Moving Average (KAMA), MAMA/FAMA calculations derived via Hilbert Transform, Williams %R, and correlation trend filters to ev
Calculates normalized reversal metrics across up to ten Forex currency pairs using user-selected moving average methods, including HarmonicMA, EMA, SMA, or WMA. The indicator identifies overbought, oversold, and mean-crossing conditions using a configurable th
The 8-Factor Composite Screener evaluates equities across fundamental and technical criteria, including valuation ratios, earnings and revenue growth, 12-month return momentum, proximity to 52-week highs, Stage 2 moving average alignment, benchmark relative st