Gokubro

Basic Binance Premium Index

Gokubro Aktualisiert   
A premium index indicator for Binance futures.

The premium index is based on the difference in price between the perpetual swap contract last price and the price of a volume weighted spot index.

Simply put: it shows you for each coin whether the spot market is trading higher than the Binance perpetual or not.

If future price is higher than spot in a rally, the rally isn't backed by real buys (spot) but by dumb perpetual longs which can indicate bearish PA. If spot price is higher than futures in a rally, the upside is backed by real money (spot) which can indicate bullish PA.

To calculate the premium, I simply took (futures_price/vwap(spot_price)-1)*100

This version includes

•BTC
•ETH
•LTC
•ICP
•BNB
•ADA
•DOGE.

You can display data as a smoothed moving average for improved readability.

This code is open source so feel free to use it in your scripts.
Versionshinweise:
fixed typo on BNB, ADA, and Doge pairs so that the perp contracts were perp and not spot.
Versionshinweise:
changed BTC, ETH and LTC perpetual futures pairs to their respective USDT trading pairs instead of USD trading pairs
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?