ucsgears

UCS_Option Expiry

1228瀏覽
117
1228 3
This is an update to two indicators.


The Blue Label would be the Weekly Options Expiry
The Orange Label would be the Monthly Options Expiry.

And you have a choice to pick.

------------------------

從收藏腳本中移除 新增至收藏腳本
// Update to Friday's Indicator

study("UCS_Option Expiry", overlay = true, precision = 0)

ew = input(true, title = "Weekly Expiry")
em = input(false, title = "Montly Expiry")

x = isdaily and dayofweek == 6
a = (dayofweek[1] == 5 and dayofweek == 2) or (dayofweek[1] == 5 and dayofweek == 3)

y = isdaily and dayofmonth < 22 and dayofmonth > 14

xoe = em == 1 and ((y and a) or (y and x)) ? 1 : 0
xwe = ew == 1 and (x or a) ? 2 : 0

icolor = xoe == 1 ? orange : xwe == 2 ? aqua : na 

expiry = xoe or xwe

plotshape(expiry, style = shape.labeldown, location = location.top, color = icolor, title = "Option Expiry", text = "Expiry" , textcolor = black)
Great indicator. I am not a pine script person and wondering if an easy way to modify to plot a line at the candle close instead of the text output? It would be great to see the closing option prices for past 9-12 months and use them as possible support/resistance levels.
回覆
Hi, how can I project the monthly espiry to the year 2020? to point me in the blank graph of 2020 the days I tell it?
回覆
Hello it´s so good!!!
but I install it and it doesn't paint my expirations. That I have to do? I copied it as you wrote it
regards
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出