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

Re: [amibroker] Calendar Dates vs Trading Dates



PureBytes Links

Trading Reference Links




1. Convert Gregorian date to Julian 
date.
2. Add/Subtract the number of days you want 
to adjust the Gregorian date by.
3. Convert Julian date to Gregorian 
date.
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Ken Close 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">AmiBroker List 
  Sent: Tuesday, April 29, 2003 3:10 
  PM
  Subject: [amibroker] Calendar Dates vs 
  Trading Dates
  Help....I want to count the number of calendar days since a 
  buy orshort...I have read msg # 16104 about creating a For loop 
  inside a Jscript, butfrankly can not understand what it is 
  advising.Can someone show me a simple way to determine the number of 
  calendardays 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 
  numberof calendar days since the trade was initiated.  Because of 
  otheraspects of the code, I do not want to (can not) use the dll time 
  stopthat is in the files area.Any help would really be 
  appreciated.KenSend 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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 the Yahoo! Terms of Service.