Indicator · Pine Script v5 · Own pane

Multi-Asset Performance Spaghetti

by regalouisei

Plots normalized percentage changes for groups of multiple assets in a separate pane to create a comparative spaghetti chart.

View on GitHub

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code626
Settings40inputs
LicenceNone stated
Last update8 months ago25 Feb 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

Multi-Asset Performance Spaghetti tracks relative performance using price, on-balance volume (OBV), or open interest, anchored to customizable periods or timestamps. Visual customization includes SMA smoothing, top and bottom performer highlighting, group averages, a vertical distribution profile, and an optional summary table showing metrics like correlation, beta, and RSI.

Details

Published by

regalouisei on GitHub

Type

Indicator, Pine Script v5

Draws

Separate pane below the chart

Category

Screeners & dashboards, Oscillators & momentum

Markets

Any symbol

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
Period        string1 DAYtf2
tftimeframetf
Data          stringPricedata_type
gnstringGroup 1gn
Appearance   stringLinesdisp
colpalstringPalette 1colpal
Labeling  booltrueshowlbl
lbltypstringLabellbltyp
lblsizestringSmalllblsize
Smoothing                boolfalsesmooth
lenint5len
Highlight                  boolfalsehighlight
Show all 40 settings
SettingTypeDefaultVariable
counthlint3counthl
nonhlcolcolorcolor.rgb(120, 123, 134, 63)nonhlcol
Group Mean               boolfalseplotmean
meantypestringGroup Averagemeantype
meancolcolorcolor.graymeancol
Profile                    boolfalseshowprof
profoffsint15profoffs
profcolcolor#2195f3bfprofcol
Gradient                  boolfalsehm
hm1color#5b9cf6hm1
-color#ce93d8hm3
-color#f7525fhm2
Show Tableboolfalseshowtable
Position & Size    stringMiddle Righttablepos
tablesizefloat3tablesize
Text & Border Size stringTinytextsize
bordsizeint0bordsize
Reference Length   int100clen
RSI Lengthint14rsilen
Percent Change booltrueshow_chg
Correlation to Meanboolfalseshow_corr
RSI Value       boolfalseshow_rsi
Beta Valueboolfalseshow_beta
Timestamptimetimestamp("Aug 28 2023 00:00:00")starttime
Plot Widthint1linewidth
Label Offsetint3offs
Profile Sizeint6profsize
Show Title      booltrueshowtitle
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 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

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

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

Indicator v4 Oscillators & momentumScreeners & dashboards
Updated 4 years ago · None stated GitHub repository of Tables-003 Oscillator Distribution

Market Speedometer

by TradersPost
218 stars

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

Indicator v6 Volatility & bandsOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Market Speedometer

KamaFama

by Mastaaa1987
141 stars

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

Indicator v6 Moving averagesOscillators & momentum
Updated 6 weeks ago · MIT GitHub repository of KamaFama
114 stars

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

Indicator v4 Screeners & dashboardsMean reversion
Updated 1 year ago · None stated GitHub repository of Multi-Pair Trend Reversal Widget

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