Indicator · Pine Script v6 · Own pane

Rate Overlay (SOFR / ESTR / Euribor / yields)

by rellis3

Finds short-rate data for a US leg and a euro leg, trying a list of futures and yield symbols and using the first that returns bars, then plots the difference in a separate pane and optionally rescaled on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code216
Settings22inputs
LicenceNone stated
Last updateyesterday28 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

Futures prices are converted to rates. It measures how closely the rate line and the chart move together, a lag profile of eight bars, and flags large residuals. Data check and statistics tables show which symbols worked. A manual two-symbol mode is available.

Details

Published by

rellis3 on GitHub

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Divergence

Markets

Indices, Forex

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
What to plotstringUS - EU (auto)mode
US leg sourcestringAuto: SOFR futures, then yieldsusPref
SOFR curve point (1 = nearest)int1usPt
EU leg sourcestringAuto: ESTR, Euribor, then yieldeuPref
Euro curve point (1 = nearest)int1euPt
Also draw each leg separatelyboolfalseshowLegs
This pane showsstringFutures price spread (like C.OG)paneSty
Also draw the line on the price chart (rescaled)booltrueonPrice
Break the line when the euro market is closedbooltruehideOff
Invert the rate linebooltrueinvert
Manual: Rate AsymbolCME:SR3H2027symA
A is a futures PRICE (rate = 100 - price)booltruefutA
Show all 22 settings
SettingTypeDefaultVariable
Manual: Rate BsymbolTVC:DE02YsymB
B is a futures PRICE (rate = 100 - price)boolfalsefutB
Fit window (bars)int1000normLen
Correlation window (bars)int500corrLen
Residual flag (z)float2.0resThr
Shift rate line forward (bars)int0shiftN
Shade residual extremesbooltrueshowRes
Show statistics tablebooltrueshowTbl
Show data check tablebooltrueshowChk
Rate line colourcolorcolor.new(#3b82f6, 0)lineCol
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

This indicator calculates momentum setups based on the Relative Strength Index (RSI) and plots in a separate pane. It offers multiple scanning modes such as Continuous Break, Continuous Retracement, Flip Break, Flip Retracement, and both regular and hidden div

Indicator v6 Oscillators & momentumDivergence Repaints
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - RSI Directional Momentum Indicator
330 stars

This indicator calculates the MACD oscillator from a configurable source with fast and slow lengths, then plots the histogram, MACD line, and signal line in a separate pane. It detects regular bullish divergences (price lower lows with oscillator higher lows),

Indicator v5 Oscillators & momentumDivergence
Updated 2 months ago · None stated GitHub repository of MACD + Divergences [Alorse]
218 stars

This indicator calculates the Relative Strength Index (RSI) across four user-selected timeframes and plots the results in a separate pane. It identifies regular bullish and bearish divergences between price pivot points and the primary timeframe RSI value. Add

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of Multi-Timeframe RSI with Divergence

Bubbles Indicator

by capissimo
114 stars

The Bubbles Indicator measures volatility squeezes and expansion bursts using Bollinger Bands combined with a sinusoid oscillator and RSI divergence. It processes price data through scaled Bollinger Bands to highlight volatility changes while confirming trend

Indicator v4 Volatility & bandsOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Bubbles Indicator

RSI [SystemAlpha]

by iamc1oud
56 stars

This indicator plots a standard Relative Strength Index (RSI) in a separate pane alongside customizable overbought and oversold threshold levels with shaded fills. It identifies pivot highs and lows on the oscillator to detect regular and hidden bullish and be

Indicator v4 Oscillators & momentumDivergence Repaints
Updated 2 months ago · None stated GitHub repository of RSI [SystemAlpha]
55 stars

This indicator calculates a 14-period RSI from close and plots it in a separate pane with dotted overbought and dashed oversold lines at 70 and 30. It marks bullish divergence when a five-bar pivot low in price is lower than the price twenty bars earlier while

Indicator v6 Oscillators & momentumDivergence
Updated 6 months ago · Apache-2.0 GitHub repository of RSI Divergence Detector

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