OPEN-SOURCE SCRIPT

Basic Binance Premium Index

Updated
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.
Release Notes
fixed typo on BNB, ADA, and Doge pairs so that the perp contracts were perp and not spot.
Release Notes
changed BTC, ETH and LTC perpetual futures pairs to their respective USDT trading pairs instead of USD trading pairs
binanceBitcoin (Cryptocurrency)cryptoeducationalforecastingMoving Averages

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer