saurik

Fourth Friday Future

saurik Обновлено   
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.
Информация о релизе:
Set short title to "F3".
Информация о релизе:
Simplify code by inlining color.
Информация о релизе:
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).
Информация о релизе:
Correctly color right side of bar when it falls on the first of the month.
Информация о релизе:
Mark the Monday following the last Friday--the next regular business day and the date the next futures contract opens--as green.
Информация о релизе:
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).
Информация о релизе:
Update green window to include a fade for the day after the following Monday.
Информация о релизе:
Add a yellow bar for when CME launched the Bitcoin futures and do not render the red/green bars before that moment.
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?