Reading the Panel
What every row, marker and colour on the table means.
Title row
With two or more benchmarks the title row has three parts: the date and time of the last update on the left, “[Finaspex] Total Return Performance Matrix” with the version in the centre, and the Period, number of periods, dividend strategy and (in a spread mode) the Display Mode on the right. Hover the right part for the full settings: Period, Dividend Strategy, Initial Investment and additions, Summary Rows Include, Display Mode and Sort Columns by.
With one benchmark the row uses a compact form (date, “Total Return Matrix” with the version, and the period). With no benchmarks it becomes a single label with the period.
Asset header row
One header per asset — the chart’s ticker and each benchmark — in the order set by Sort Columns by. Hover a header for the asset’s description, the dividend strategy, a historical summary (starting capital, final value or wealth, dividends earned, banked or pocketed, tactical dip buys where relevant), the additions breakdown if any, and its CAGR, average return and Positive Periods.
Why spreads ignore column order: the spread Display Modes (Others vs. Ticker / Ticker vs. Others) always measure each benchmark against the main ticker’s own return, wherever the main ticker sits after sorting.
Live period row
Labelled with the current period and “(now)”, e.g. “2026 (now)” for Annual. Summary Rows Include decides whether this row feeds the summary rows; its tooltip states whether it is included.
Historical period rows
One row per completed period, most recent first. Each cell has a spark bar of up to four blocks (█) growing left for a loss or right for a gain, and the percentage.
Why bars are scaled to the 85th percentile: bar length is measured against the 85th percentile of all displayed magnitudes rather than the single largest one. One extreme period — a +180% year on a leveraged ETF — then leaves the other bars readable.
Display Modes
Display Mode changes every period cell — live row, historical rows and the export — while the summary statistics, sorting and ★ markers keep using each asset’s own return:
The summary rows
Why Final Value can be green while Compound is red: the Final Value cell is coloured by its dollar gain over Total Investment. With additions, buying through a decline before a later rally can produce a real dollar gain while the time-weighted Compound Return is negative; the Final Value tooltip explains it when the two differ. With Addition per Period = 0 the two always agree.
Pine Logs export
With Print Table to Pine Logs on, the whole matrix — a one-line settings banner, the asset header, the live row, every historical row and the summary rows — is written to TradingView’s Pine Logs pane, one entry per row, in the chosen Export Format (Markdown / CSV / CSV plain numbers; see Panel Settings).
- Open the Pine Editor and click the Pine Logs button in its toolbar.
- Select the rows you want and copy them.
- Paste into a Markdown editor (GitHub, Notion, Obsidian, Reddit) for the Markdown format, or into Excel or Google Sheets for CSV. For CSV, run Text to Columns (split by comma); Pine’s own log timestamp lands in column A, which you can delete.
Why one export per load: the export is a snapshot of the values when the script loads, so it does not repeat on every tick. Reload the chart to capture new values (a new live price, a closed period, a changed setting). Entries build up across reloads; use the Pine Logs clear button to start over.