OPEN-SOURCE SCRIPT

BTC Coinbase Premium

已更新
This script is base on another script by oh 92.

It basically shows you where the price of Bitcoin (in USD) on Coinbase trades at a premium against an average of several futures exchanges.
Coinbase premium shows spot interest on bitcoin which happens either when futures are shorting heavily but spot holds the price up (often bullish especially when price is at a support level).
Negative premium shows that futures are leading price during an uptrend or spot is leading price during a downtrend.

Strong positive premium is often considered bullish.
Strong negative premium is often considered bearish even if price goes up.

The histogramm coinbase premium vs an average of several futures exchanges (Bitmex, Bitfinex, Binance, FTX, Phemex and Bitstamp).
The line diagramm shows coinbase premium vs Bybit.

In contrast to the script by oh92 this script uses different exchages (especially Bybit as a lot of former Bitmex traders changed to Bybit during september and october 2020).
All values are in percent because differences in USD only are not suitable for historic prices. This means if CB-premium is -0.1 then futures trade 0.1% lower than coinbase.
版本注释
This is version 2.0 for 2024 of the Coinbase premium indicator.
Changelog:
- Updated Pine Script to V5
- Now uses real perpetual contracts of BTC-USD from Bitmex, Deribit, OKX, Binance, Kraken and Bitget to compare against Coinbase spot.
Oscillators

开源脚本

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

想在图表上使用此脚本?

免责声明