OPEN-SOURCE SCRIPT

Calendar Performance Dashboard

132
Calendar Performance Dashboard
Overview

Calendar Performance Dashboard is a professional performance analysis tool that measures an asset's price performance across the current calendar year using meaningful time periods instead of arbitrary lookback windows.

Rather than showing only today's price change or the last 24 hours, this indicator helps investors understand how an asset has performed during the current trading day, week, month, year, and each individual calendar quarter.

It is designed for investors, swing traders, portfolio managers, and anyone who wants a quick overview of an asset's performance without changing chart timeframes.

Features
📅 Today Performance

Measures the percentage change from today's opening price to the current price.

Formula

Current Price vs Today's Open

📅 Week Performance

Measures performance from the opening of the current trading week.

📅 Month Performance

Measures performance from the first trading day of the current month.

📈 Year To Date (YTD)

Shows the total return since the first trading day of the current calendar year.

This allows you to quickly determine whether an asset is outperforming or underperforming during the year.

📊 Calendar Quarter Performance

The indicator automatically divides the current year into four calendar quarters.

Q1

January 1 → March 31

Q2

April 1 → June 30

Q3

July 1 → September 30

Q4

October 1 → December 31

Completed quarters display their final performance, while the current quarter updates in real time.

Future quarters are marked as Not Started.

Status System

Each period has its own status.

🟢 Completed

The period has finished and its performance is fixed.

🟡 Current

The period is still active and updates every bar.

⚪ Not Started

The period has not begun yet.

Dashboard Information

The dashboard displays:

Period
Start Price
End Price / Current Price
Percentage Change
Status

All information is updated automatically without changing chart timeframes.

Why use Calendar Performance instead of Rolling Performance?

Most indicators use rolling periods such as:

Last 30 Days
Last 90 Days
Last 365 Days

While useful, these periods make it difficult to compare true calendar performance.

This indicator instead uses calendar periods, making it ideal for:

Annual performance analysis
Quarterly performance comparison
Portfolio reviews
Institutional-style reporting
Long-term investment monitoring
Suitable Markets
Cryptocurrency
Stocks
ETFs
Forex
Commodities
Indices
Ideal For
Long-term Investors
Swing Traders
Portfolio Managers
Market Analysts
Financial Reporting
Performance Comparison
Notes
Performance calculations are based on calendar periods rather than rolling lookback windows.
Completed quarters remain fixed after they end.
The current quarter updates continuously until the quarter closes.
YTD always measures performance from the first trading day of the current year.

Calendar Performance Dashboard provides a clean, intuitive way to understand an asset's performance across the most meaningful calendar periods—all in a single dashboard.

免責聲明

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