PROTECTED SOURCE SCRIPT

BitMEX Funding and Premium Index [NeoButane]

By NeoButane
Updated
This is a simplified version of the funding toolbox with only final funding and the premium index. As you can see, Ethereum funding makes zero sense.
Release Notes
QoL changes:

Added adjustable horizontal lines to help with scaling the funding index to make it easier to view. The first line begins at +/-0.06.

Added option to switch funding markers on or off depending if funding has actually occurred.

Changed default precision to 3.

Added a line at zero. Very helpful.
Release Notes
Experimental update to how funding is calculated. This is not the only change I am looking into but it's better than not releasing it at all. This should react much faster on lower timeframes and must be activated in settings. To summarize: faster signal at the cost of whipsaw.
Release Notes
Added perpetual swap BITMEX:XRPUSD.
Same with Ethereum, the clamp is at 0.75%, as documented here:
bitmex.com/app/perpetualContractsGuide
Release Notes
This update allows disabling the premium from March 12 through March 14 for better visualization. The horizontal lines have been changed for visibility, as well.
Release Notes
Updated to remove the premium deviation on weekly/monthly/quarterly (who uses that on XBT?!) when opted to
Increased indicator value precision to 4
Release Notes
Added 2W to the aforementioned
bitmexCentered OscillatorsfundinghistographyperpetualswapquantoVolatilityVolume
NeoButane
My published indicators: tradingview.com/u/NeoButane/

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer