OPEN-SOURCE SCRIPT

Coinbase Premium

123
Coinbase Premium Indicator

This Pine Script indicator displays the premium on Coinbase relative to the current ticker, if the ticker is available on Coinbase. It calculates the premium as the percentage difference between the price of the current ticker and the price on Coinbase.

Features:
  • Fetches the current ticker price.
  • Checks if the current ticker is available on Coinbase.
  • Calculates the premium only if the ticker is available on Coinbase.
  • Plots the premium on the chart.
  • Displays a message if the current ticker is not available on Coinbase.


Use this indicator to monitor the price premium of assets on Coinbase compared to other exchanges.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.