OPEN-SOURCE SCRIPT

Crypto Volume/Strength Comparator

Updated
Hello Traders,

Here is an attempt to perform comparative analysis between top cryptos based on strength (oscillator) and volume. Methodology used here is similar to Magic Number formula described in the post : Enhanced Magic Formula for fundamental analysis. But, instead of using fundamentals, we are making use of few technicals to derive similar outcome. Usage of the available stats will not be same as Magic number since we are using technicals.

⬜ Process

▶ Get crypto exchange based on prefix of instrument being used.
▶ For the given exchange, get data for all the tickers available in input fields.
▶ Calculate Oscillator, Momentum based on price for each tickers.
▶ Calculate Oscillator, Momentum based on volume for each tickers.
▶ Calculate Volatility for each tickers.
▶ Rank Price-Oscillator, Price-Momentum, Volume-Oscillator, Volume-Momentum, Volatility for each tickers.
▶ Calculate combined rank by adding up individual ranks.
▶ Calculate movement of rankings from bar to bar
▶ Sort tickers based on rank and populate them on table. Display direction of rankings.

⬜ Components

Display components are as follows:

https://www.tradingview.com/x/x2nORMlq/

⬜ Settings

Settings are pretty simple and straightforward
https://www.tradingview.com/x/wnT6y73e/

⬜ Calculations
Oscillators : High values of oscillators are considered as ideal as the process is intended towards finding trend.
Momentum : Momentum is calculated on the basis of Squeeze Momentum Indicator by @LazyBear.
Volatility : Volatility is calculated on the basis of Williams Vix Fix by @ChrisMoody. Here too since we are in trend following mode, lower vix fix is considered ideal.

⬜ Few Notes
  • Tickers will show data only if selected exchange has them. Some tickers are not available in all exchanges. In that case, it will show NAN. This is kind of unavoidable as we need to have fixed size arrays for any calculations.
  • Indicator works only on crypto tickers which has valid exchange.
  • Tickers move through the rankings in real time. Background of all stats are based on gradient from green to red.
  • Tickers on top may not always have better long opportunity or tickers at bottom may not always be optimal for shorting. We need to consider how long the instrument may stay in the position or how fast it is moving in opposite direction. Hence, directions of the ranking movement are also shown on the table.
Release Notes
Added price to the stats
Release Notes
Update chart
Release Notes
Added option for multi timeframe
Release Notes
Fixed HTF issue
Release Notes
Update chart
Release Notes
Small updates
Release Notes
Fixed the issue of showing blanks.
Release Notes
Updates to make use of input.symbol instead of string for tickers.
cryptoscreenerhewhomustnotbenamedmagicnumberOscillatorstrendoscopeVolatilityVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer