BitMEX Funding Toolbox [NeoButane]

Usage of the indicator:
Cumulative funding is a running sum of funding, similar to OBV. The idea is that funding can be used to predict current sentiment or market direction. The blue line is cumulative funding and the orange is a MVWAP used as a signal to determine current trend. Longs are paid when the blue line is going down.
Cumulative funding oscillator is the running sum of funding but made to be able to discern more recent trends.
Funding rate and premium index is as the name states.
Pictures of funding directly from BitMEX's funding history: imgur.com/a/n1QMqzb
The indicator will auto-select XBTUSD or ETHUSD depending which ticker is currently being viewed; if it is not on bitcoin or ethereum it defaults to XBTUSD funding.
References used:
bitmex.com/app/perpetualContractsGuide
bitmex.com/app/fundingHistory
More pictures:
- Added Premium/Discount Trend: creates a moving average of the premium index that isn't based on actual funding rates and instead the premium throughout the day
- Added Cumulative Funding, Separated: the cumulative final funding rates but separated into two different lines.
Anyways, here's an update to the toolbox that makes it easier to discern trend:
- Added cumulative XBT + ETH funding for all types of analysis. | 04 Jan. 2019
- Changed premium index styling, added an optional to remove the index markers to help with scaling
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact NeoButane directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Disclaimer
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact NeoButane directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)