PROTECTED SOURCE SCRIPT
Zuper Custom Index (Up to 40 Stocks)

Description:
This indicator empowers you to create your own custom index from up to 40 stocks, with full control over the weight of each component. Whether you want to track a sector, a basket of favourites, or build your own benchmark, this tool gives you the flexibility and visualisation you need—all directly on your TradingView chart.

Key Features:
How to Use:
Use Cases:
Notes:
The indicator uses TradingView’s latest Pine Script version for maximum performance and flexibility.
You can use any valid TradingView symbol (stocks, ETFs, indices, etc.).
For best results, ensure all symbols are available on your selected timeframe and exchange.
Create, visualize, and analyze your own custom indices—right on your TradingView chart!
This indicator empowers you to create your own custom index from up to 40 stocks, with full control over the weight of each component. Whether you want to track a sector, a basket of favourites, or build your own benchmark, this tool gives you the flexibility and visualisation you need—all directly on your TradingView chart.
Key Features:
- Supports Up to 40 Stocks:
Combine up to 40 different symbols into a single, custom index. - Flexible Weighting:
Assign a custom percentage weight to each stock. The script automatically normalizes your weights to ensure the index always sums to 100%. - Candlestick or Line Chart Display:
Choose between a candlestick chart (showing open, high, low, close of the index) or a simple line chart (close only) for your custom index. - Dynamic Rebalancing:
Change weights or symbols at any time; the index recalculates instantly. - Easy Symbol Input:
Add or remove stocks with simple input fields—no code editing required.
Perfect for Sector Analysis & Custom Baskets:
Track sectors, strategies, or any group of assets you care about.
How to Use:
- Add the Indicator to Your Chart.
- Enter Up to 40 Stock Symbols in the input fields.
- Assign Weights (as percentages) to each symbol.
If all weights are left at zero, the index will use equal weighting.
If you enter custom weights, they will be automatically normalized. - Choose Your Display Type:
Select between a candlestick or line chart for your index. - Analyze Your Custom Index!
Use Cases:
- Build your own sector or thematic index.
- Track a custom ETF or fund composition.
- Compare your portfolio’s performance as a single chart.
- Visualize the impact of different weightings on a basket of stocks.
Notes:
The indicator uses TradingView’s latest Pine Script version for maximum performance and flexibility.
You can use any valid TradingView symbol (stocks, ETFs, indices, etc.).
For best results, ensure all symbols are available on your selected timeframe and exchange.
Create, visualize, and analyze your own custom indices—right on your TradingView chart!
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。