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!
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.