已更新

Multi-Period Performance Table [everget]

8 432
Hello friends,
I'm returning to the fascinating world of TradingView publications. Over time, I've accumulated many unpublished ideas — both open- and closed-source — that I now plan to share, alternating between the two. It felt like a shame to let so much valuable work remain unseen. The story isn't over yet — so today, we kick off a new series of invite-only scripts, starting with this indicator.

🛠️ How It Works
  • The script analyzes your selected number of years of price data, calculating returns for each month, quarter, and season
  • Advanced algorithms compute comprehensive statistics, including the mean, median, standard deviation, and extremes for each period
  • Data is presented in an intuitive table with optional heatmap coloring that makes patterns immediately stand out
  • Sorting of any column allows you to quickly identify the best and worst performing periods
🔥 Key Features
  • Pine Script V6 – leverages the latest version for better performance
  • Custom number of years to aggregate statistics
  • Complete breakdown for all 12 months (Jan-Dec)
  • Quarter (Q1, Q2, Q3, Q4) statistics
  • Season (Winter, Spring, Summer, Fall) statistics
  • Year/Year-to-Date (YTD) statistics
  • Enable/disable Right-side statistics for each row
  • Enable/disable Bottom statistics for each column
  • Heatmap mode with 10 palettes
  • Sortable columns
  • Customizable table
  • Optimized performance - efficient calculations for smooth operation
  • Universal compatibility – runs smoothly across all assets, timeframes, and market conditions — from euphoric peaks to capitulation lows

📸 Visual Examples

Monthly view
快照

Quarterly view
快照

Seasonal view
快照

Clean table mode - without heatmaps
快照

Default heatmap palette
快照

June column sorted in descending order to quickly identify best/worst years
快照

Turbo palette - high contrast
快照

Spectral palette - professional look
快照

Red/Yellow/Blue palette - classic style
快照

My similar indicators that are also worth paying attention to
Monthly Returns Analytics [everget]

Monthly % Return [everget]


Still here? Unlock the full potential of multi-period market analysis — and take your trading to the next level today! 🚀

👋Good luck!
發行說明
  • Added palette tooltips to settings
  • Code cleanup
發行說明
  • Made minor internal fixes
發行說明
  • Added Pine Screener filters, enabling you to scan your watchlist for performance % across various periods
快照
發行說明
  • Added new "Right-side Statistics" input group with toggles for Min, Mean, Median, Max, and Stdev columns
  • Added new "Bottom Statistics" input group with toggles for Min, Mean, Median, Max, and Stdev rows
  • Split the combined "Border Color | Width" input into two separate inputs for clearer configuration
  • Renamed "Heatmap Palette" toggle to "Use Heatmap Palette"
  • Each period type (Months, Quarters, Seasons, Year) now uses its own dedicated color scale at all times, including when multiple periods are displayed together
  • Switched standard deviation calculation to the unbiased estimator (N-1) for consistency across all stats
  • Made internal refactoring & optimizations
Monthly Columns with only Min & Max Statistics Selected:快照
發行說明
  • Updated internal library dependencies
  • Applied minor code refactoring and cleanups
發行說明
  • Added a Seasons Hemisphere setting: with Southern selected, the season columns use Southern hemisphere names (Dec-Feb is Summer) in the table, the Sort list and the Pine Screener
  • The palette tooltip now lists every palette with its gain, neutral and loss colors
  • Clarified existing tooltips and added new ones for Last N Years, Seasons Hemisphere, Sort and both statistics groups
  • Settings that do not apply are now greyed out
  • The Sort by Column list now shows readable column names
  • Input values are no longer shown in the status line
  • Sorting now reorders the table only, so Pine Screener and Data Window values always refer to the current year
  • Periods before a symbol's history begins are now shown as N/A and left out of the statistics
  • Statistics that cannot be calculated are now shown as N/A
  • A 0% change now takes the neutral color
  • Updated internal library dependencies
  • Applied code refactoring and cleanups

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。