saurik

Fourth Friday Future

saurik Telah dikemas kini   
There seems to be an options contract that comes due on the fourth Friday of every month, causing massive dips in the crypto market; this indicator colors your chart to tell you when this is going to happen.
Nota Keluaran:
Set short title to "F3".
Nota Keluaran:
Simplify code by inlining color.
Nota Keluaran:
It turns out the CME micro Bitcoin futures actually expire on the last Friday, not the fourth Friday. I've updated the script, but I haven't found a way to change the name (which doesn't make any sense).
Nota Keluaran:
Correctly color right side of bar when it falls on the first of the month.
Nota Keluaran:
Mark the Monday following the last Friday--the next regular business day and the date the next futures contract opens--as green.
Nota Keluaran:
Adjust buy-back window to account for time zone: it happens at 7am UTC (and 10am UTC, and a bit 12am UTC, but 7am is the key moment).
Nota Keluaran:
Update green window to include a fade for the day after the following Monday.
Nota Keluaran:
Add a yellow bar for when CME launched the Bitcoin futures and do not render the red/green bars before that moment.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?