saurik

Fourth Friday Future

saurik Cập nhật   
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.
Phát hành các Ghi chú:
Set short title to "F3".
Phát hành các Ghi chú:
Simplify code by inlining color.
Phát hành các Ghi chú:
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).
Phát hành các Ghi chú:
Correctly color right side of bar when it falls on the first of the month.
Phát hành các Ghi chú:
Mark the Monday following the last Friday--the next regular business day and the date the next futures contract opens--as green.
Phát hành các Ghi chú:
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).
Phát hành các Ghi chú:
Update green window to include a fade for the day after the following Monday.
Phát hành các Ghi chú:
Add a yellow bar for when CME launched the Bitcoin futures and do not render the red/green bars before that moment.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?