OPEN-SOURCE SCRIPT

Crypto Index Price

60
# Crypto Index Price - Indicator Description

## 📊 What is this indicator?

**Crypto Index Price** is an indicator for creating your own cryptocurrency index based on an equal-weighted portfolio. It allows you to track the overall dynamics of the cryptocurrency market through a composite index of selected assets.

## 🎯 Key Features

- **Up to 20 assets in the index** — create an index from any trading pairs
- **Equal-weighted methodology** — each asset has the same weight in the index
- **Moving average** — optional trend filter for the index
- **Flexible visualization settings** — customizable colors and line thickness

## 📈 How to Use

The indicator is displayed in a separate pane below the chart and shows:

1. **Blue line** — crypto index value
2. **Orange line** (optional) — moving average of the index

### Trading Applications:

- **Identify overall market trend** — if the index is rising, most coins are in an uptrend
- **Divergences** — divergence between your asset and the index may signal local opportunities
- **Signal confirmation** — use the index to confirm trading decisions on individual coins
- **Market condition filter** — trade longs when index is above MA, shorts when below

## ⚙️ Settings

### Assets (Symbols)
- **Asset 1-10** — main cryptocurrencies (default: BTC, ETH, BNB, SOL, XRP, ADA, AVAX, LINK, DOGE, TRX)
- **Asset 11-20** — additional slots for index expansion

### Visual Parameters
- **Index line color** — main line color (default: blue)
- **Line width** — from 1 to 5 pixels
- **Show moving average** — enable/disable MA
- **MA period** — moving average calculation period (default: 20)
- **MA color** — moving average line color (default: orange)

## 💡 Recommendations

- For a top coins index, use 5-10 largest cryptocurrencies by market cap
- For an altcoin index, add medium and small coins from your sector
- Use MA to filter false signals and identify the global trend
- Compare individual asset behavior with the index to find anomalies

## ⚠️ Important

The indicator uses equal-weighted methodology — each coin contributes equally regardless of price or market cap. This differs from cap-weighted indices and may provide a different market perspective.

---

*This indicator is intended for analysis and is not trading advice. Always conduct your own analysis before making trading decisions.*

---

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.