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

Re: EasyLanguage BarNumber to Bar Date Conversion



PureBytes Links

Trading Reference Links

> 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;

And if for some reason you can't store the date value on the 
appropriate bar -- maybe you don't know the bar you're interested in 
until later -- you could do something like this:

BarOfInterest = (whatever);
MyDate = Date[CurrentBar - BarOfInterest];

Gary