CB BTCUSD Premium

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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.