PureBytes Links
Trading Reference Links
|
Hi wabbit,
yes, it works!
thank you.
Rgds,
Darren Liew
--- bellamy_29m <bellamy_29m@xxxxxxxxx> wrote:
> Try this:
>
> m:=barsSince(Ref(month(),-1)<>month())+1;
> y:=barsSince(Ref(year(),-1)<>year())+1;
> m;y;
>
> wabbit :D
>
> --- In Metastockusers@xxxxxxxxxxxxxxx, "darrenliew"
> <darrenliew@xxxx>
> wrote:
> > Hi,
> >
> > I am looking for Metastock code to calculate the
> Trading Days of
> > Current Year, and also the Trading Days of Month.
> >
> > Hope somebody could help.
> >
> > Thank you.
> >
> >
> >
> > Rgds,
> > Darren Liew
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|