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

[Metastockusers] Re: How to find Trading Days of Current Year or Current Month?



PureBytes Links

Trading Reference Links

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




 
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/