saurik

Fourth Friday Future

saurik Atualizado   
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.
Notas de Lançamento:
Set short title to "F3".
Notas de Lançamento:
Simplify code by inlining color.
Notas de Lançamento:
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).
Notas de Lançamento:
Correctly color right side of bar when it falls on the first of the month.
Notas de Lançamento:
Mark the Monday following the last Friday--the next regular business day and the date the next futures contract opens--as green.
Notas de Lançamento:
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).
Notas de Lançamento:
Update green window to include a fade for the day after the following Monday.
Notas de Lançamento:
Add a yellow bar for when CME launched the Bitcoin futures and do not render the red/green bars before that moment.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?