eto_miyuki

Miyuki BTC Perp Spot Delta

eto_miyuki Updated   
This is a simple indicator to display the difference between the mean BTC spot price and the mean BTC perp price.

There are options to choose which spot and perp exchanges should be included in the mean calculations. It also includes the following options -

- FLIP: flip the display
- DOLLARS/PERCENT: show the difference in dollar terms or percentage terms
- MOVING AVERAGE: show an adjustable length simple moving average based on the difference
- HORIZONTAL LINES: show up to 3 horizonal lines to indicate the extent of the spread

I find its best used on the lowest timeframes.
Release Notes:
Fixed the FTX perp ticker to be the correct market.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?