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

[amibroker] Bar time coding



PureBytes Links

Trading Reference Links

I would like to get the current bar's intra-day time into a number
format (not array or string) so that I can execute the following code:


if(bartime>= 151500)/ bar time after 15:15 EST then execute code

{
  sell = 1;
  cover = 1;
}


I found the "Time_To_Num()" function that will take a string and
convert to number but I can't find a way to get the current bar's time
into a string format.  The Date() function returns a string, but the
function doesn't mention the string format.

Thanks,

Joe


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006 3:54 PM