OPEN-SOURCE SCRIPT

Crypto Volume/Strength Comparator

Cập nhật
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.
Phát hành các Ghi chú
Added price to the stats
Phát hành các Ghi chú
Update chart
Phát hành các Ghi chú
Added option for multi timeframe
Phát hành các Ghi chú
Fixed HTF issue
Phát hành các Ghi chú
Update chart
Phát hành các Ghi chú
Small updates
Phát hành các Ghi chú
Fixed the issue of showing blanks.
Phát hành các Ghi chú
Updates to make use of input.symbol instead of string for tickers.
cryptoscreenerhewhomustnotbenamedmagicnumberOscillatorstrendoscopeVolatilityVolume

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm