INVITE-ONLY SCRIPT

Bitfinex USD Pairs: Betas and Correlations [checkm8]

Обновлено
Hello and welcome to my beta and correlation indicator!

This indicator is meant to be used to assess trading alternatives to BTCUSD on Bitfinex, examining alt-USD pairs that can be traded on margin. This list is as follows:
  • ETHUSD
  • LTCUSD
  • EOSUSD
  • NEOUSD
  • OMGUSD
  • XRPUSD
  • IOTUSD
  • BCHUSD
  • SANUSD
  • ETPUSD
  • ETCUSD
  • XMRUSD
  • ZECUSD
  • DSHUSD


Before dwelling further on the script, let's revisit the definitions of beta and correlation:
  • Beta is a statistical measure of a %-change in an asset relative to a 1% change in a benchmark. In our case - this is BTCUSD. For example, if the beta is 1.5, it means that the particular asset moves 1.5% in the same direction as the 1% change of the benchmark. If the beta is negative, the asset is moving in opposite direction of the benchmark. Note: beta is not confined to any range.
  • Correlation is a statistical measure of the relationship between two assets, from a range of +1 to -1, where a score of +1 implies perfect positive correlation (prices move in the same direction), -1 implies perfect negative correlation (inverse relationship), and 0 implies no relationship in price changes.


For the calculations, BITFINEX:BTCUSD is used as the benchmark.

Through the script's settings:
  • You can select whether to plot betas or the correlations
  • You can select the desired length to be used in the measure of beta and correlations
  • You can enable smoothing for less choppy results. This is accompanied by options to modify the smoothing length and the smoothing method, where SMA, EMA, RMA, and WMA are available.
  • You can enable and disable individual alt pairs from being displayed (ie. if you do not want LTCUSD plotted, you can turn it off)


Below is an example of the correlation setting.
снимок

I would recommend using a smoothing input of 3-6, on SMA, and the 4-hour timeframe for good results. I use this indicator for help in deciding what alt pairs to trade on a particular day, where you will want to trade alts with the highest correlations. Note: be weary of less liquid markets, such as ETP and SAN.

Also note: the labels shown in the snapshot are for presentation purposes only. You can enable Indicator Labels by right clicking the oscillator -> "Price Scale" -> "Indicator Labels".

Please let me know if you have any questions, suggestions, or concerns.

Happy trading!

For additional information as to why you should be using this indicator and trading alts instead of BTCUSD, please refer to my study:
Study: Why you should stop trading BTCUSD
Информация о релизе
This update is a fix for the previous version, which has been outdated since the BCH fork into BAB and BSV that broke the compiling of the script for that asset when enabled.

This version has been updated to add the following pairs to the list of margin tradeable alt-USD pairs on Bitfinex:
-BABUSD
-BSVUSD
-BTGUSD

As always, below are updated screenshots to give reference for how to read the script:

снимок

снимок

Note: The extra text and pair name titles are purely for visual appeal - they will not be generated as a part of the script.
altcoinsALTSbetabitfinexBTCUSDcorrelationezmoneyicantbelieveitsnotbutterOscillatorsTrend AnalysisVolatility

Скрипт с ограниченным доступом

Доступ к этому скрипту разрешён только для пользователей, авторизованных автором, и для этого обычно требуется оплата. Вы можете добавить скрипт в список избранных, но использовать его можно будет только после запроса на доступ и получения разрешения от автора. Свяжитесь с checkm8, чтобы узнать больше, или следуйте инструкциям автора ниже.

TradingView не советует платить за скрипт и использовать его, если вы на 100% не доверяете его автору и не понимаете, как он работает. Часто вы можете найти хорошую альтернативу с открытым исходным кодом бесплатно в нашем разделе Скрипты сообщества.

Инструкции от автора

Хотите использовать этот скрипт на графике?

Внимание: прочтите это перед тем, как запросить доступ.

Мои профили:

Отказ от ответственности