[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with Code



PureBytes Links

Trading Reference Links

Hello List,
	Well, I thought it would be rather simple to create a paintbar
for the Unemployment reports, which is the first Friday of every month.
So, I created the following:

	If dayofweek(date) = 5 and dayofmonth(date)<=7 then
plotpaintbar(High,Low,"Report");

It works most of the time, but sometimes the first Friday falls on a
holiday like Good Friday or Independence Day. So far, my solutions for
the holiday problem end up plotting the first two Fridays of months
without holidays. Any suggestions?

Thanks,
Trey