OPEN-SOURCE SCRIPT
Updated BitMEX Funding [m59]

Description and documentation can be found within the script.
Release Notes
- Documented reduced emulation accuracy when relevant TradingView historical data runs out.
- Option to use alternate colors when accuracy is reduced, which is now the default behavior.
- Removed the print value buffer option, as that can be changed from the style tab.
- Cleaned up the code a little bit.
Release Notes
- ETH funding is now available via the new option, "Contract".
- The predicted rate and next funding rate lines should coincide closely with what the Bitmex UI shows. If not, let me know.
- The funding emulation is hopefully more accurate.
Release Notes
- Made some arbitrary changes to improve the indicator performance without sacrificing accuracy
- Improved the documentation thanks to suggestions and help from @gambleditall.
Release Notes
- Made an otherwise arbitrary change so that the indicator will work on charts with special tickers like spread charts.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.