PROTECTED SOURCE SCRIPT
Premium Index

This indicator shows the premium index data for the market (only crypto) you're currently looking at.
The premium index is the difference in price between the perpetual swap contract and the spot index price.
In plain and simple English: it shows whether the spot market for a specific coin is trading at a discount or at a premium.
This is official data from the exchange itself.
At the moment of publishing TradingView only has data for Binance.
So only use this indicator on Binance charts right now (USDT perps and BUSD perps).
Make sure you're looking at a perpetual swap contract, if you're looking at the spot market for example the indicator won't work.
Once TradingView adds more data like this I'll try to make sure that the logic of the code will also work for other markets.
The premium index is the difference in price between the perpetual swap contract and the spot index price.
In plain and simple English: it shows whether the spot market for a specific coin is trading at a discount or at a premium.
This is official data from the exchange itself.
At the moment of publishing TradingView only has data for Binance.
So only use this indicator on Binance charts right now (USDT perps and BUSD perps).
Make sure you're looking at a perpetual swap contract, if you're looking at the spot market for example the indicator won't work.
Once TradingView adds more data like this I'll try to make sure that the logic of the code will also work for other markets.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Send me a private message for access to my invite only indicators.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Send me a private message for access to my invite only indicators.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.