Simple script to show you a way to find 3rd Fridays (Monthly Options Expiry)
If that friday is a holiday, then it doesn't generate a signal. Futures & Forex trader need not to worry. I will fix it for the stock traders as well. Time is all I need.
as usual Good Luck for those who believe in it. Practice for those who believe in hard work. Think for those who...
A simple script to show the Fridays (Weekly Option Expiry), of course this is a basic script we can make a few more improvement.
One of many ways to utilize the "dayofweek" variable.
Currently there are no options to draw a vertical line, you can do a background color for the candle.
Future plans - Include monthly option expiry.