OPEN-SOURCE SCRIPT
Bitfinex Longs/Shorts Multi-Coin [acatwithcharts]

This script plots the longs/shorts ratio derived from Bitfinex for BTCUSDLONGS, BTCUSDSHORTS, and similar for 11 top cryptocurrencies chosen selected based on marketcap, trading volume on Bitfinex, and the maximum number of times that TradingView would let me call the "security" function in one script. Included coins:
BTC, ETH, LTC, BCH, XRP, EOS, IOT (IOTA), ETC, ZEC, NEO, XMR
In addition to just plotting the ratios for the individual coins, this script also calculates for a customizable selection of the 11 coins both the average ratio and a weighted average weighted by (USD price of coin * sum of long and short positions).
I wrote it both to use both for a big picture overview of leveraged positions across major coins and to use as a Swiss army knife of longs/shorts ratio indicators for individual coins, most of which do not currently have individual scripts published.
I'm an amateur and you definitely shouldn't take anything I say or use any of my scripts as financial advice. I'd appreciate any feedback.
BTC, ETH, LTC, BCH, XRP, EOS, IOT (IOTA), ETC, ZEC, NEO, XMR
In addition to just plotting the ratios for the individual coins, this script also calculates for a customizable selection of the 11 coins both the average ratio and a weighted average weighted by (USD price of coin * sum of long and short positions).
I wrote it both to use both for a big picture overview of leveraged positions across major coins and to use as a Swiss army knife of longs/shorts ratio indicators for individual coins, most of which do not currently have individual scripts published.
I'm an amateur and you definitely shouldn't take anything I say or use any of my scripts as financial advice. I'd appreciate any feedback.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
My volatility-based indicators are available for sale at SharkCharts.live
Feel free to reach out to me with any questions; more information is available on the SharkCharts website and the SharkCharts discord discord.gg/YVpTeSK
Feel free to reach out to me with any questions; more information is available on the SharkCharts website and the SharkCharts discord discord.gg/YVpTeSK
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
My volatility-based indicators are available for sale at SharkCharts.live
Feel free to reach out to me with any questions; more information is available on the SharkCharts website and the SharkCharts discord discord.gg/YVpTeSK
Feel free to reach out to me with any questions; more information is available on the SharkCharts website and the SharkCharts discord discord.gg/YVpTeSK
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.