Weekly Options Expiry Candle V.2

tanayroy Updated   
In India Weekly options expire on Thursday and that creates a different price action candle than the week timeframe.
My previous script Weekly Options Expiry Candle has some limitations. This script overcame those limitations and added some features.

You can use this in any intraday time frame candle.
It will show:
  • All expiry candle in box format
  • Expiry OHLC label
  • Pivot (Floor or Fibonacci) based on expiry OHLC data
  • Developing Expiry candle and Pivot
  • A table showing expiry range(high-low) and Expiry body abs(open-close) stats.

You can turn on or off any feature.

Please let me know if you found this script useful or have any questions or suggestions.

Release Notes:
Minor bug fixes and improvements.
Release Notes:
Minor bug fixes
Release Notes:
NSE will now have an F&O expiry on every day of the week except Monday, with effect from the week starting July 9. This includes Nifty Financial Services expiry on Tuesday, Nifty Midcap Select on Wednesday, Nifty 50 on Thursday and Nifty Bank on Friday. With this change, our script is now flexible enough to adopt any day. Select the expiry day and script should work accordingly.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?