UnknownUnicorn2188849

Altcoins Index Premiums

UnknownUnicorn2188849 업데이트됨   
Multiple index premiums for a bunch of altcoins, all put together in one indicator.

It compares the prices of the perpetual swaps for ETH, LTC, XRP, LINK, DOT and YFI to their respective spot dollar indices.
Positive values (green) means the spot index is trading at a premium, which is considered bullish.
Negative values (red) means the spot index is trading at a discount, which is considered bearish.

In the settings you can select for which altcoin you want to display the index premium.
Only select one at the time or they'll start overlapping.

For ETH the Bitmex ETH/USD perp is used and the BETH spot dollar index.
For LTC the Bitmex LTC/USD perp is used and the BLTC spot dollar index.
For XRP the Bitmex XRP/USD perp is used and the BXRP spot dollar index.
For LINK the Bitmex LINK/USD perp is used and the BLINKT spot dollar index.
For DOT the Binance DOT/USDT perp is used and the BDOTT spot dollar index.
For YFI the Binance YFI/USDT perp is used and the BYFIT spot dollar index.

It's great for low time frame scalping and higher time frame swing trading because it shows you on all time frame whether derivatives are overheated or not.

Send me a personal message for access.
릴리즈 노트:
There were overlapping value labels because of inefficient code.
I fixed the code so it's more clean now.
릴리즈 노트:
Increased precision.
릴리즈 노트:
Two big changes.

1.
I Added 2 more coins: BNB & XTZ.
It compares the Binance USDT perps to their respective spot indices (BBNBT & BXTZT).

2.
I switched to using the ohlc4 method instead of using closing prices as it gave much smoother and generally better results.
릴리즈 노트:
In the previous update I made a small mistake with the titles which is fixed now.
I also updates the tags.
릴리즈 노트:
Made a bunch of improvements.

It now uses all the Binance USDT perp contracts for the derivatives instead of using Bitmex perps.
Binance is the number 1 in terms of open interest and volume anyway, so it's best to use their contracts.
The spot indices are still the same.

There's now a choice field where you select a coin, which is way more practical than how it used to be.

There's also an option to color bars/candles based on whether the premium is positive or negative.
Zero values are considered positive too.
By default bar coloring is turned off.

I also added a baseline at the zero level.
릴리즈 노트:
Replaced the ETH premium with ADA because ETH gets a separate premium indicator since it's too big of a market.

And to clarify: all the perps are binance perps now that are compared to spot indices.
So, for example, the ADA USDT perp on Binance is compared to an ADA spot index.
릴리즈 노트:
Sadly enough the data of one of the premiums was faulty.
It has been fixed.
릴리즈 노트:
Small update to fix a bug.

There was a problem with the time because some indices started at different times which was messing with the data history.

All premiums now start at the first of November 2020.
릴리즈 노트:
I changed the way the calculation works so that now it take the price of the chart you're looking at and compares it to the index selected.
This allows you to choose of which exchange you want to compare the altcoin perp versus its spot index.

So if you have the ADA index selected for example, make sure you're also looking at an ADA perpetual swap chart.

The indices I use are made by Bitmex. It's not that I particularly like Bitmex as an exchange, but the indices they make are pretty good.
But the LTC & XRP indices are based on dollar spot markets, the others are based on USDT spot markets.

I also added two more indices for EOS & DOGE.

And I added the option to choose the candle source. By default it takes the ohlc4 price, which gives the best results in my opinion.
릴리즈 노트:
Changed a bunch of things.

First of all I flipped the premium, so the spot premium is now on the bottom and if there's a derivatives premium that's on the top side.
Spot premium is still colored green (because that's bullish), derivatives premium is grey. This is just the new theme I'm using, you can change this of course.

I added an option to display the percentage price difference or dollar difference.

I added two new coins: SOL & AAVE.

There's also a smoothing option now with a threshold you can change.

Have fun.
릴리즈 노트:
I added one more coin: UNI

By the way, don't forget that the LTC & XRP indices are in USD and every other index is in USDT.
Usually USDT indices trade at lower prices than USD indices (albeit the difference is small).
초대 전용 스크립트

이 스크립트에 대한 접근은 작성자가 승인한 사용자로 제한되며, 일반적으로 지불이 필요합니다. 즐겨찾기에 추가할 수 있지만 권한을 요청하고 작성자에게 권한을 받은 후에만 사용할 수 있습니다. 자세한 내용은 UnknownUnicorn2188849에게 문의하거나 아래의 작성자의 지시사항을 따르십시오.

트레이딩뷰는 당신이 스크립트 작성자를 100% 신뢰하고 스크립트의 작동 방식을 이해할 때까지 스크립트 비용을 지불하고 사용할 것을 권장하지 않습니다. 대부분의 경우 트레이딩뷰의 커뮤니티 스크립트 에서 무료로 좋은 오픈 소스 대안을 찾을 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

작성자 지시 사항

이 스크립트의 작성자는 더 이상 액세스 승인할 수 없습니다. 액세스를 요청하지 마십시오.

차트에 이 스크립트를 사용하시겠습니까?

경고: 액세스를 요청하기 전에 읽으십시오 .