Total Return Performance Matrix
A TradingView indicator (Pine Script v6) that compares your chart’s ticker with a basket of benchmarks period by period, dividends included, and simulates a position in each one under three dividend strategies.
The panel fetches dividend-adjusted total-return data for the chart’s ticker and every benchmark, splits it into calendar periods (Annual, Quarterly, Monthly or Weekly) and lays the period returns out as a colour-coded, sortable table — one row per period, one column per asset.
Underneath the returns, the panel runs a position simulation for every asset: a starting sum, optional recurring contributions and one of three dividend strategies. The result appears as dollar figures in the tooltips and in a block of summary rows: Compound, CAGR, Avg Return, Positive Periods, Worst Period, Max Drawdown, Total Investment and Final Value.
Why both: “which asset had the bigger percentage return” and “which asset grew your money the most” are different questions. Two assets with the same headline return can end with very different wealth depending on how dividends were handled (spent, reinvested every period, or held as cash and deployed after a drawdown) and whether you kept adding capital. The matrix shows both answers side by side.
Three building blocks
A curated preset or your own ticker list. Each asset is read twice — dividend-adjusted and split-adjusted — and the gap between the two is the period’s dividend yield.
Walks the periods from oldest to newest, compounding a starting sum (plus optional additions) under full DRIP, cash dividends, or tactical reinvestment after a down period.
Eight summary rows — Compound, CAGR, Avg Return, Positive Periods, Worst Period, Max Drawdown, Total Investment, Final Value — with a ★ on the best asset in each performance row.
Quick start
- Open a chart of the stock or ETF you want to study and add [Finaspex] Total Return Performance Matrix.
- Pick the period length and how many periods to show (Annual × 10 by default).
- Choose a benchmark preset, or switch to Custom and type your own tickers.
- Choose the dividend strategy. Hover any cell for the dollar maths behind it.
- Read the summary rows at the bottom: CAGR for a fair per-year comparison, Max Drawdown for the deepest fall, Final Value for the money you would have ended with.
Not financial advice
Total Return Performance Matrix is an analysis tool. Every return figure, position simulation and ★ marker is the output of fixed, documented calculations applied to the data TradingView provides — not a recommendation to buy, sell or hold any security, and not advice tailored to your situation. The simulations leave out trading costs and taxes. Past and simulated returns do not predict future results. Do your own research, or consult a licensed financial advisor, before making investment decisions.
Nearly every header, cell and summary row carries its own tooltip with the exact numbers behind it. This site covers the same information in more depth, with the reasoning and formulas.
Where to start
Every input, in the order it appears — presets, dividend strategy, display mode, sorting, theming and the Pine Logs export
Calculation Methodology →How total and price-only returns are read, how the three dividend strategies simulate a position, and how CAGR and Max Drawdown are derived