Weekly expiry candle over calendar week candle

Updated
Weekly options expire on Thursday. If we look at weekly candle it starts on Monday and ends on Friday. My idea was to create a candle for a particular expiry week (starts on Friday and ends on Thursday) to view any different price action in an expiry week.
I have created a script to do that and find some significant price action views.
The script is available in Pine public library and also included a link to the script.
I am researching this now. Please give me your feedback and view.
Link:
Weekly Options Expiry Candle
Note
New version available. More adaptive and flexible with more information.
Link:
Weekly Options Expiry Candle V.2
BANKNIFTYCandlestick AnalysisNIFTYoptionsTrading ToolsWeekly Chartsweeklyoptions

Disclaimer