OPEN-SOURCE SCRIPT

Bitfinex BTC longs/total ratio

已更新
Ratio of bitfinex longs versus the total btc in positions. Maybe a good indicator of market sentiment. It allows you to see too where were people taking profit or closing positions. Remember that ratio going up doesn't necesarily mean more longs positions are being added. It could mean shorts are closing position massively. The conversely is also true.

The rate above 0.5 doesn't necesarily bullish, though, and the indicator is "timeframe" agnostic. So take into account that there could be tons of longs positions that were opened since back before summer 2017, It seems to be too of positions opened at prices below 4.000$. That's why the average seems to be around 0.6.

The blue lines indicates current ratio (or on close for past bars). The red line is the max ratio (higher shorts versus lowest longs).
發布通知
Now, it adds the BTCEUR and BTCJPY pairs to the calculation, in case the metric changes in some point in the future, but so far it is irrelevant since the 98% of positions are in the BTCUSD market.
發布通知
- Removed EUR/JPY positions. Amounts too tiny in comparision with BTCUSD and the load time of the scripts increases significantly.

- Now you can see the change ratio of longs (green), shorts (red) and shorts+longs (gray) per candle. For example, a value of -0.1 for shorts means the shorts has drop a 10% respect to the previous bar/candle.

- The longs/total ratio (blue) now applies a -0.5, to center the line with respect to the other lines, so they are more comfortable to see. A value of 0.1 means the longs/total ratio is 0.5+0.1, or 60% of total.
bitfinexBreadth Indicatorsmargin-tradingmarket-sentimentOscillatorsTrend AnalysisVolume

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明