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

Re: EasyLanguage BarNumber to Bar Date Conversion



PureBytes Links

Trading Reference Links

At 12:34 PM -0400 6/22/99, Patrick wrote:

>How do we convert an EasyLanguage BarNumber to the bar date. For example
>if the BarNumber is 245 what is the Date? I am using TradeStation2000i
>build 557 and I can not find any user function which converts BarNumber to
>date. Any Ideas?

Why not just use the date directly by usiing the reserved word "Date"? This
word returns the date on any bar.

If you really just want the date on bar number 245 then the following code
will load that date into the variable "Value1"

if BarNumber = 245 then Value1 = Date;

Bob Fulks