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

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



PureBytes Links

Trading Reference Links

TradingDays:=Input("Trading Days Since",1,12,5);
BarsSince(Month()=TradingDays);

This should get you there.  It gives you the number of bars since the 
last day of the month you enter into the input box.  Start time for 
the year would be "12" (December), start time for this month would 
be "5" (May).


Luck,

Sebastian

--- In equismetastock@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/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/