TD

Panel Settings

Every input on the Total Return Performance Matrix, in the order it appears.

Period Settings

Period default: Annual

The period used to measure returns: Annual = 12M, Quarterly = 3M, Monthly = 1M, Weekly = 1W.

Periods default: 10 (min 1, max 40)

Number of completed periods shown in the table, most recent first.

Calculation Settings

Dividend Strategy default: Reinvest on Drawdown (Tactical)

• Reinvest Always (Total Return): Full DRIP. Every dividend immediately buys more shares.
• Price Only (No Reinvestment): Pure capital appreciation. Dividends are taken as cash.
• Reinvest on Drawdown (Tactical): Keeps dividends as cash while the price rises, then deploys the whole cash reserve at the start of the period after a down period.
See Calculation Methodology for how each one works.

Summary Rows Include default: Completed + Live Period

Which periods the summary rows, the ★ markers, column sorting and the Pine Logs export use.
• Completed Periods Only: closed periods — values stay fixed during the session.
• Completed + Live Period: also counts the current period (YTD/QTD/MTD/WTD), so the statistics reflect performance as of now. CAGR credits the live period at its elapsed fraction (e.g. 8.5 months of the year), never as a full year, and Positive Periods counts it as positive or negative. Summary values update with the live price.

Initial Investment Sum ($) default: $10,000 (min $1, step $1,000)

Starting capital for each asset’s simulated position, the wealth figures in the tooltips and the Final Value row. It funds the first period of the simulation.

Addition per Period ($) default: $0 (min $0, step $100)

A recurring contribution added to the position at the start of each period, from the second period onward — the Initial Investment funds the first. Included in every dollar figure (position values, wealth tooltips, Total Investment, Final Value). The return percentages (Compound, CAGR, Avg Return, Positive Periods, Worst Period, Max Drawdown) stay time-weighted and are not affected by your contributions. 0 = a single lump sum.

Benchmarks

Quick Benchmark Preset default: Broad Market

Selects a curated benchmark list, or “Custom” to type your own tickers into Custom Benchmarks below.
• Broad Market: SPY, QQQ, DIA, IWM
• Leveraged Market: TQQQ, SPXL, UDOW, TNA
• Asset Classes: SPY, TLT, GLD, BTCUSD, USO, UNG, EEM, VNQ
• Custom: uses the list typed into Custom Benchmarks.

Custom Benchmarks (comma-separated) default: SPY

Used when Preset = Custom. Comma-separated tickers, e.g. SPY, QQQ, AAPL; an exchange prefix (e.g. NASDAQ:) is optional. Column headers show the part after the last colon; the full symbol is what the panel requests.

Display Settings

Display Mode default: Absolute Return

• Absolute Return: each asset’s dividend-adjusted total return (%).
• Others vs. Ticker: benchmark return minus main ticker return (the benchmark’s spread).
• Ticker vs. Others: main ticker return minus benchmark return (the main ticker’s alpha).

Sort Columns by default: Original Input Order

Left-to-right order of the asset columns, main ticker included.
• Original Input Order: main ticker first, then the benchmarks in the order entered.
• Highest Compound Return / Highest CAGR Return / Highest Average Return / Most Positive Periods / Highest Final Value: every asset ranked best-first by that metric over the summary scope.
Ties keep input order; assets without data move to the rightmost columns. Spread Display Modes always measure against the main ticker, whatever the column order.

Visual Settings

Position default: Top Right

Corner of the pane where the table is docked: Top Left / Top Right / Bottom Left / Bottom Right.

Theme default: Executive Slate

Colour theme for the table background, dividers, headers and text — the suite’s eight themes (four light, four dark): Executive Slate, Warm Paper, Nordic Frost, Porcelain Minimal, Institutional Dark, Espresso, Emerald Night, OLED Contrast.

Text Size default: Small

Font size for every cell: Tiny / Small / Normal / Large.

Heatmap Intensity default: Tiered (6 Levels)

• Tiered (6 Levels): colour intensity scales with the size of the return.
  Gains: above +50% vivid · +10% to +50% standard · 0% to +10% soft sage
  Losses: 0% to −10% soft rose · −10% to −30% standard · below −30% deep crimson
• Simple (Green/Red): green for a gain, red for a loss, whatever the size.

Pine Logs Export

Print Table to Pine Logs default: Off

When on, the full matrix (asset header, live period, every historical period and the summary rows) is written to TradingView’s Pine Logs pane each time the script loads — one log entry per table row. Open Pine Logs from the Pine Editor toolbar, select the rows, copy, and paste into Excel, Google Sheets, a post or an investment memo. Reload the chart to export fresh values; entries build up across reloads, so use the Pine Logs clear button to start over.

Export Format default: Markdown

• Markdown: pipe-delimited rows with a header separator — renders as a table in GitHub, Notion, Obsidian, Reddit or any Markdown editor. The ★ markers are kept.
• CSV: comma-delimited values with % signs (e.g. +15.58%) for readable spreadsheets.
• CSV (plain numbers): bare numbers (15.58) — no % signs, no + prefixes, no “(20 yrs)” / “(2008)” annotations, headers tagged with (%) — so every cell lands in Excel as a clean number.
Why the CSV formats leave out the ★: they are built for numeric analysis, so each cell holds just the value.

Why these defaults: Broad Market, Reinvest on Drawdown (Tactical), Completed + Live Period, $10,000 with no additions, Absolute Return, Original Input Order and Annual × 10 show every part of the panel at once — the tactical dip buys, the live-period CAGR credit and a ten-year comparison against the main US indices.