OPEN-SOURCE SCRIPT

Crypto Volume/Strength Comparator

已更新
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.
版本注释
Added price to the stats
版本注释
Update chart
版本注释
Added option for multi timeframe
版本注释
Fixed HTF issue
版本注释
Update chart
版本注释
Small updates
版本注释
Fixed the issue of showing blanks.
版本注释
Updates to make use of input.symbol instead of string for tickers.
cryptoscreenerhewhomustnotbenamedmagicnumberOscillatorstrendoscopeVolatilityVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明