Multi-Period Performance Table

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


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
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với everget.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
🆓 List of my FREE indicators: bit.ly/2S7EPuN
💰 List of my PREMIUM indicators: bit.ly/33MA81f
Join Bybit and get up to $6,045 in bonuses!
bybit.com/invite?ref=56ZLQ0Z
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với everget.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
🆓 List of my FREE indicators: bit.ly/2S7EPuN
💰 List of my PREMIUM indicators: bit.ly/33MA81f
Join Bybit and get up to $6,045 in bonuses!
bybit.com/invite?ref=56ZLQ0Z