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.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.