UDAY_C_Santhakumar

UCS_3rd Friday

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 believe in smart work. ;)

Uday C Santhakumar
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
// Created by UCSgears
// Simple script to show you a way to find 3rd Fridays (Weekly 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

study("UCS_3rd Friday", overlay = true)

x = dayofmonth < 22 and dayofmonth > 14
y = dayofweek == 6 ? 1 : 0
z = x and y ? 1 : 0

plotshape(z, style = shape.xcross, location = location.top, title="Find me 3rd Friday")