saurik

Fourth Friday Future

saurik Actualizado   
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 prensa:
Set short title to "F3".
Notas de prensa:
Simplify code by inlining color.
Notas de prensa:
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 prensa:
Correctly color right side of bar when it falls on the first of the month.
Notas de prensa:
Mark the Monday following the last Friday--the next regular business day and the date the next futures contract opens--as green.
Notas de prensa:
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 prensa:
Update green window to include a fade for the day after the following Monday.
Notas de prensa:
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 abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?