PROTECTED SOURCE SCRIPT

Zuper Custom Index (Up to 40 Stocks)

72
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.
anlık görüntü

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:
  1. Add the Indicator to Your Chart.
  2. Enter Up to 40 Stock Symbols in the input fields.
  3. 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.
  4. Choose Your Display Type:
    Select between a candlestick or line chart for your index.
  5. 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!

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.