OPEN-SOURCE SCRIPT

CB BTCUSD Premium

已更新
This indicator is designed for cryptocurrency traders and analysts who wish to compare the spot price of Bitcoin (BTC) on Coinbase (BTC/USD) against Binance (BTC/USDT), highlighting the premium or discount between these two major exchanges in real-time. Additionally, it incorporates a moving average of the premium, allowing users to identify trends over their selected timeframe.

Features:

Spot Price Comparison: Calculates the real-time difference (premium or discount) between the BTC/USD spot price on Coinbase and the BTC/USDT spot price on Binance.
Premium Indicator: Displays the premium as columns on the chart, using green to indicate a premium (Coinbase > Binance) and red to indicate a discount (Coinbase < Binance).
Moving Average Trend: Includes a simple moving average (SMA) of the premium over a user-defined period, plotted as a blue line, to help users identify trends in the premium over time.
Customizable MA Period: Users can adjust the moving average period to suit their analysis needs, with a default setting of 14 periods.

Usage Instructions:

Adding the Indicator: Search for "Coinbase to Binance BTC Spot Premium with Moving Average" in the TradingView indicators and strategies library and add it to your chart.
Customizing the MA Period: To adjust the moving average period, click on the indicator's settings (gear icon) and navigate to the "Inputs" tab. Enter your desired period for the moving average.
Ideal for: Traders and analysts focusing on arbitrage opportunities, market depth analysis, and those interested in the comparative performance of BTC across different exchanges.

Note: This indicator does not constitute financial advice. It's a tool designed to provide analytical insights. Users should conduct their own research and consult with financial advisors before making investment decisions.
版本注释
Chart update.
版本注释
Chart update.
版本注释
Chart update.
sentimentTrend Analysis

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明