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

[EquisMetaStock Group] Re: Which historical year will offer the same weekday ... ?



PureBytes Links

Trading Reference Links

Eric, try the date signal indicator below:

====================
Calendar date finder
====================
---8<-------------------------------------

{ Signals selected DayOfWeek/DayOfMonth/Month
   combination found in previous years.
  http://www.metastocktools.com }

{ User inputs }
DateDwk:=Input("Day of week [1-7]",1,31,5);
DateD:=Input("Day of month [1-31]",1,31,16);
DateM:=Input("Month [1-12]",1,12,3);
choice:=Input("use:  [1]Date above;  [2]Last bar date",1,2,1);

{ Current DayOfWeek/DayOfMonth/Month }
Dwk:=DayOfWeek();
D:=DayOfMonth();
M:=Month();

{ Last DayOfWeek/DayOfMonth/Month }
lastDwk:=LastValue(Dwk);
lastD:=LastValue(D);
lastM:=LastValue(M);

{ Choice of dates }
select:=Dwk=DateDwk AND D=DateD AND M=DateM;
last:=Dwk=lastDwk AND D=lastD AND M=lastM;

{ Plot in own window }
If(choice=1,select,last)

---8<-------------------------------------


jose '-)
http://www.metastocktools.com




--- In equismetastock@xxxxxxxxxxxxxxx, chichungchoi <no_reply@xxx> wrote:
>
> Today is 16 Mar, 2007 (Friday), does anyone know which historical year 
> will offer 16 Mar on Friday? On the other words, which historical year 
> will offer the same weekday on 2007 for everyday?
> Thank for any suggestions
> Eric





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Transfer from your equities account.  
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/