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

Re: [amibroker] Calendar Dates vs Trading Dates



PureBytes Links

Trading Reference Links

DayOfYear function will be included in 4.34.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Tomasz Janeczko" <amibroker@xxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 29, 2003 10:45 PM
Subject: Re: [amibroker] Calendar Dates vs Trading Dates


> Ken,
> 
> If you do not want to use plugin nor script you I can add
> DayOfYear() function that will give you the number of calendar
> day since the beginning of the year.
> 
> Using such a function it would be easy.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> 
> ----- Original Message ----- 
> From: "Ken Close" <closeks@xxxxxxxx>
> To: "AmiBroker List" <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, April 29, 2003 10:10 PM
> Subject: [amibroker] Calendar Dates vs Trading Dates
> 
> 
> > Help....I want to count the number of calendar days since a buy or
> > short...
> > 
> > I have read msg # 16104 about creating a For loop inside a Jscript, but
> > frankly can not understand what it is advising.
> > 
> > Can someone show me a simple way to determine the number of calendar
> > days that have elapsed?  Maybe the new For loop can help?
> > 
> > I want to code in a "close trade" flag if there are more than x number
> > of calendar days since the trade was initiated.  Because of other
> > aspects of the code, I do not want to (can not) use the dll time stop
> > that is in the files area.
> > 
> > Any help would really be appreciated.
> > 
> > Ken
> > 
> > 
> > 
> > 
> > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > 
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> > 
> > 
> > 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/O10svD/Me7FAA/AG3JAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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