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

Re: LastCalcDate Question



PureBytes Links

Trading Reference Links

According to my functions LastCalcDate is

LastCalcDate = JulianToDate(LastCalcJDate)
The LastCalcJDate returns the Julian date of the last bar.

The function JulianToDate(num) returns the date in YYMMDD format of the
input Julian date.  This input value may range from 1 (January 1, 1900)
through 73049 (February 28, 2100).

I haven't used Julian Date before but this is the way it looks to me
JulianToDate(LastCalcJDate) returns yesterdays date,
so your code is saying If Date = Yesterdays Date then begin

Neville

-----Original Message-----
From: Bill Vedder <bved01@xxxxxxx>
To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Date: Thursday, September 28, 2000 3:31 AM
Subject: LastCalcDate Question


>I have a line in some system code that reads,
>If Date = LastCalcDate then begin
>    yadayadayada
>end;
>However, after some research, I find that the system never reaches the
>"LastCalcDate".  I don't know why. Has anyone seen this before? Anyone
>know why the system can't get to lastcalcdate?
>Regards,
>Bill Vedder