m59

BitMEX Funding [m59]

Description and documentation can be found within the script.
Versionshinweise:
  • 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.
Versionshinweise:
  • 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.
Versionshinweise:
  • Made some arbitrary changes to improve the indicator performance without sacrificing accuracy
  • Improved the documentation thanks to suggestions and help from @gambleditall.
Versionshinweise:
  • 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 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.

Want to use this script on a chart?

Kommentare

keep receiving "loop error" with this
+2 Antworten
m59 chillenbrand5
@chillenbrand5, I just published an update that should at least improve that issue, if not solve it entirely. It seems to be that when the TradingView server executes the code slower sometimes, it trips that error. Emulating the funding has been most accurate with the current implementation, but it comes with this flaw. I will keep trying to fix it if it continues to be an issue. Let me know how the update works out for you.
+2 Antworten
Xzhi m59
@m59, I'm still getting a loop error currently.
Antworten
Getting 'Pine cannot determine the referencing length of a series. Try using max_bars_back' error on all time frames since yesterday.
Antworten
savemejebus savemejebus
@savemejebus, @m59, UPD: revisions 1-2 are working, 3-5 giving an error
Antworten
THX!!
Antworten
Hi, thanks a lot for this, very useful indeed! Any reason why the script doesn't show anything when switching to an 8H (480min) view?
Antworten
I don't believe this works anymore - seems like a very valuable tool. I've looked a bit through the code, can it get up and running if the certain quote inputs are updated? seems like all the math for the premium calculation are all in there.
Antworten
Thank you~
Antworten
Wow you made it!!!

Awesome :D
Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Preise Einen Freund empfehlen Hausregeln Hilfe Center Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Blog & News Twitter
Profil Profileinstellungen Konto und Abrechnung Angeworbene Freunde Coins Meine Support Tickets Hilfe Center Private Nachrichten Chat Abmelden