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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?