OPEN-SOURCE SCRIPT

Crypto 40 Pulse

91
Crypto 40 Pulse – Indicator Overview

The Crypto 40 Pulse is a market-tracking indicator designed to measure how many of up to 40 selected assets (initially the top 40 cryptocurrencies by market cap at the time of creation) are currently trading above a chosen Moving Average (MA). By default, it monitors popular crypto pairs, but you can customize it to track stocks, forex pairs, or any other assets you prefer.

How It Works

Symbol Selection & Customization
The indicator provides 40 slots, each representing a different asset.
You can enable or disable each symbol using checkboxes—disabled symbols are excluded from the calculation.

Moving Average Options
You can choose between SMA, EMA, WMA, or SMMA in the settings.
By default, the indicator uses a 200-period EMA, a widely used metric for identifying long-term trends.

Oscillator Logic
The script checks whether the closing price of each active symbol is above the selected Moving Average.
Every asset that meets this condition contributes +1 to the total count (countAbove).
This count is then displayed as an oscillator, ranging from 0 to the number of enabled assets.
Dynamic Overbought & Oversold Levels
The overbought threshold is set at 80% of enabled symbols, while the oversold threshold is at 20%.
A midline (50%) helps visualize the balance between bullish and bearish sentiment.
These levels adjust automatically based on the number of symbols enabled.
Who Can Use It?
While the indicator is preloaded with top 40 crypto assets, you can replace these with stocks, indices, forex pairs, or any other market symbols.

The time frame aligns with your chart—on a daily chart, for example, it evaluates each asset’s daily closing price against the selected MA.

Additional Notes
Free & Open-Source: You can use, study, and modify this script for non-commercial purposes.
Attribution: If you modify and share an updated version, please credit the original creator PROTON_24
TradingView Limitations: Due to script constraints, only 40 symbols can be tracked at a time using request.security().
Final Thoughts
The Crypto 40 Pulse is a powerful tool for monitoring multi-asset market momentum. Customize it to fit your strategy and gain deeper insights into broader market trends!

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.