OPEN-SOURCE SCRIPT

Comparative Relative Strength (CRS) with Multi Moving Averages

766
This indicator calculates Comparative Relative Strength (CRS) by dividing the price of the current symbol by a user-defined benchmark (default: SPY).

It includes five configurable moving averages applied to the CRS line, each with:
- User-defined length
- Choice of SMA or EMA
- Optional visibility toggle

Default configuration:
- MA 1: 4 EMA (active)
- MA 2: 13 EMA (active)
- MA 3: 26 EMA (active)
- MA 4: 52 EMA (inactive)
- MA 5: 250 EMA (inactive)

This tool is useful for:
- Identifying relative outperformance vs the market
- Trend confirmation using multi-timeframe smoothing
- Building watchlists based on relative strength

The comparison symbol can be modified to any index, ETF, or asset.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.