PureBytes Links
Trading Reference Links
|
This is the part you can use to avoid Saturday and Sunday, but I don't know of a
Holiday skip (I wish I had one):
" Value2 is the check for June 1 which is a check for month check for day combo"
Value3 = DayOfWeek(Value2);
IF Value3 = 0 OR Value3 = 6 THEN x = x - 1;
Value2 = Value2 - 1;
See if that gets you started.
Glenn
Phil wrote:
> I would like the EL code for a showme or paint bar to show a certain
> date of the year on a chart every year. Example I would like to be able to
> show with a showme or paint bar say June 1st. for every year I have the data
> for in my charts. And if say in some years June 1st is on a holiday or
> weekend, show the nearest trading day to June 1st.
>
> Thank You,
> Phil
--
*****************************************
* *
* Glenn M. Orlosky *
* *
* E.quity T.echnical A.dvisors *
* *
* {Balancing Your Assets} *
* {Worldwide} *
* *
*****************************************
|