OPEN-SOURCE SCRIPT
Updated LankouSpreads ema 13

This script is calculating spreads automatically between an asset and it PERP counterpart
Giving a crypto asset it substract it price from the PERP pair and disaply the result
usually
if the difference is a positive it's a top signal
and if it's negatvie it's a bottom signal
/!\ it only works with asset which have a PERP pair (use it on binance and it will work ok)
There is an ema 13 for smoothing the indicator
hellow hellow power !
Giving a crypto asset it substract it price from the PERP pair and disaply the result
usually
if the difference is a positive it's a top signal
and if it's negatvie it's a bottom signal
/!\ it only works with asset which have a PERP pair (use it on binance and it will work ok)
There is an ema 13 for smoothing the indicator
hellow hellow power !
Release Notes
added some comments for those who want to change to FTX PERPRelease Notes
- handle shiba- handle having perp if on a perp pair
- force Binance to look for perp pair
Release Notes
change screenshotRelease Notes
added ema periods as an inputRelease Notes
fix spread on new TV namingOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.