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

Re: [EquisMetaStock Group] RE: Plot a day of the year.



PureBytes Links

Trading Reference Links

Thank you Roy,
and a happy new you to you :)

Regards
Philip

--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx> 
wrote:
> Philip
> 
> Use a combination of Year(), Month() and DayOfMonth() functions.
> 
> example;
> 
> Year()=2003 AND Month()=12 and DayOfMonth()=29;
> 
> This Date filter can select any date window you want down to a 
single day if that's what you want.
> It wont select multiple windows but even if you specify nonexistent 
chart dates it will plot the
> next day for which data is available. Adjust the defaults when 
using in conjunction with other
> tools.
> 
> Roy
> 
>   {Date Filter}
>   {© 2003 Roy Larsen}
>   {rlarsen@xxxx}
> Sd:=Input("Start day"  ,1,31,1);
> Sm:=Input("Start month",1,12,1);
> Sy:=Input("Start year" ,1980,2010,1998);
> Ed:=Input("End day"    ,1,31,31);
> Em:=Input("End month"  ,1,12,12);
> Ey:=Input("End year"   ,1980,2010,2003);
> Start:=(DayOfMonth()>=Sd AND Month()=Sm AND
> Year()=Sy) OR Year()>Sy OR (Year()=Sy AND
> Month()>Sm);
> End:=(DayOfMonth()<=Ed AND Month()=Em AND
> Year()=Ey) OR Year()<Ey OR (Year()=Ey AND
> Month()<Em);
> Start AND (End OR (Start AND Alert(Start=0,2)));
> 
> > is there a possible to program to plot only one date in end year 
in
> > the price chart?
> >
> > it may sound like rubbish to you, but I just want to know is it
> > possible to problem it a not.
> >
> > Thanks.
> >
> > Regards
> > Philip
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> > To visit your group on the web, go to:
> >  http://groups.yahoo.com/group/equismetastock/
> >
> > 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/
> >
> >
> >
> >



 

Yahoo! Groups Links

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

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/