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.
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.開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。