OPEN-SOURCE SCRIPT
已更新 Date Range Performance

- Calculates total change and percentage change between two dates.
- Computes average change per bar and per day.
- Offers arithmetic and geometric daily %.
- Supports auto mode (last N trading days) and manual date range.
- Displays results as a watermark on the chart.
發行說明
Cleaned up the code.Updated the chart and name.
發行說明
Fixed the "Per Bar" metric and hiding it in case of auto mode (number of Trading days)發行說明
Removed unnecessary code.發行說明
Recent UpdatesUI/UX Improvements:
Added 📅 PERFORMANCE header for better visual identification
Changed default text color to white for improved visibility across all chart themes
Shortened date range label from "Date range:" to "Range:" to prevent horizontal text overflow in compact displays
Enhanced Control:
Improved vertical offset behavior: now uses 0-100 range with finer granularity (divides by 10 internally for precise positioning)
Renamed "Extra Line Spacing" parameter (previously "Line Gap") with better tooltip explanation
Set default line spacing to 1 for improved readability between metrics
Better Alignment:
Vertical positioning now consistent with companion indicators (Trading Toolkit, Sector Flow)
All three indicators can now be stacked vertically with matching offset behavior for a unified dashboard experience
What This Indicator Does:
Calculates comprehensive performance metrics for any date range:
Total dollar and percentage change
Average change per bar and per day
Both arithmetic and geometric daily % (for better period comparability)
Supports auto mode (last N trading days) or manual date selection
Perfect for tracking performance across specific periods and comparing returns across different timeframes.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。