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
Multi-Timeframe RSI with Divergence identifies regular bullish and bearish divergences between price pivot points and the primary timeframe RSI value. Additionally, it computes a multi-timeframe confluence score based on whether RSI readings across different timeframes cross custom overbought or oversold thresholds. Display options allow toggling an information table, divergence alerts, and confluence metrics.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
RSI Length
int
14
rsiLength
Source
source
close
rsiSource
Timeframe 1 (Current)
timeframe
tf1
Timeframe 2
timeframe
15
tf2
Timeframe 3
timeframe
60
tf3
Timeframe 4
timeframe
240
tf4
Divergence Lookback
int
50
lookbackBars
Divergence Threshold
float
1.0
divergenceThreshold
Oversold Level
int
30
oversold
Overbought Level
int
70
overbought
Show MTF Table
bool
true
showTable
Show Divergence
bool
true
showDivergence
Show all 13 settings
Setting
Type
Default
Variable
Show Confluence Score
bool
true
showConfluence
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
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 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
This indicator plots a heuristic volume-balance oscillator in a separate pane. It estimates signed volume from the close location inside each bar, multiplies that by volume, and sums the proxy over a rolling window. The sum is scaled between minus one and plus
Calculates a custom-period Relative Strength Index alongside an Exponential Moving Average of the RSI in a separate pane. It identifies pivot highs and lows directly on the RSI plot to highlight trendlines and potential divergence patterns. The area between th
JINADA Down is a multi-oscillator visualizer rendered in a separate chart pane. It constructs an oscillator map using Momentum, Commodity Channel Index, Stochastic, and RSI metrics. The indicator calculates and identifies standard and hidden bullish and bearis