Indicating Friday's on the chart?

RS Trader

New member
Is there a way to have all Friday's noted on a daily chart? For visually back testing a weekly strategy, I would like to see where all Friday's land on my charts. Thanks
 

Pensar

Well-known member
VIP
Lifetime
@RS Trader This should plot accurately on aggregations daily and lower.

Code:
def day = GetDayOfWeek(GetYYYYMMDD()) == 5;
AddVerticalLine(!day[1] and day, "Friday",color.yellow, curve.MEDIUM_DASH);
 

Similar threads

Top