PROTECTED SOURCE SCRIPT
Performance Table (Custom Indexes)

📄 Detailed description of your code:
✅ What this script is:
This is a TradingView Pine Script v5 indicator called "Performance Table (Custom Indexes)". It creates a performance table overlay on the chart, summarizing the percentage returns of the current symbol and up to three customizable indexes over four different lookback periods:
1 day (1D),1 week (1W),1 month (1M),3 months (3M)
Note - It calculate return for trading's days not calendar days
🔧 What it is useful for:
📊 Visual performance comparison: It allows traders to quickly compare the recent performance of the asset on the chart to selected benchmark indexes (like Nifty 50, Midcap 50, Small cap 50).
🎯 Relative strength analysis: It helps identify if the current asset is outperforming or underperforming these benchmarks over multiple timeframes.
🖥️ Clean UI: The performance data is neatly displayed in a configurable table directly on the chart without clutter.
💡 Use case example:
A trader looking at an individual stock can immediately see how it performed compared to benchmark indexes over 1 day, 1 week, 1 month, and 3 months—all right on their TradingView chart.
✅ What this script is:
This is a TradingView Pine Script v5 indicator called "Performance Table (Custom Indexes)". It creates a performance table overlay on the chart, summarizing the percentage returns of the current symbol and up to three customizable indexes over four different lookback periods:
1 day (1D),1 week (1W),1 month (1M),3 months (3M)
Note - It calculate return for trading's days not calendar days
🔧 What it is useful for:
📊 Visual performance comparison: It allows traders to quickly compare the recent performance of the asset on the chart to selected benchmark indexes (like Nifty 50, Midcap 50, Small cap 50).
🎯 Relative strength analysis: It helps identify if the current asset is outperforming or underperforming these benchmarks over multiple timeframes.
🖥️ Clean UI: The performance data is neatly displayed in a configurable table directly on the chart without clutter.
💡 Use case example:
A trader looking at an individual stock can immediately see how it performed compared to benchmark indexes over 1 day, 1 week, 1 month, and 3 months—all right on their TradingView chart.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。