Indicator · Pine Script v5 · Own pane

Multi-Asset Performance Spaghetti - By Leviathan

by g-moe· code credited to goodgains

This indicator plots percentage-change performance for a chosen group of up to thirty assets in a separate pane.

View on GitHub

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code630
Settings40inputs
LicenceNone stated
Last update5 months ago27 May 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 - By Leviathan can use price, on-balance volume, or open interest, and it resets the cumulative change on a selected period, visible range, or timestamp. Users can switch line, circle, area, or column styles, smooth values with a simple moving average, highlight the strongest and weakest plots, and show a group mean plus a distribution profile. An optional table reports correlation, beta, and RSI.

Details

Published by

g-moe on GitHub

Code credit

goodgains, as written in the script's header

Type

Indicator, Pine Script v5

Draws

Separate pane below the chart

Category

Screeners & dashboards, Oscillators & momentum, Volume

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

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 Pressure Pro

by JasonTeixeira
9 stars

Nexural Pressure Pro is a composite pressure indicator that measures directional market momentum using volume-weighted directional movement, order flow delta, aggression, and efficiency ratio metrics. It filters out low-activity bars using configurable volume

Indicator v6 Oscillators & momentumVolume
Updated 12 days ago · Custom licence GitHub repository of Nexural Pressure Pro
7 stars

This indicator calculates Time Segmented Volume (TSV) to measure volume flows by comparing price and volume changes across periods. Displayed in a separate pane, it plots a color-coded TSV histogram alongside a fast moving average signal line. It adds upper an

Indicator v4 VolumeOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Time Segmented Volume Bands

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