PROTECTED SOURCE SCRIPT

Performance Table (Custom Indexes)

15
📄 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.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.