Hi,
When I run the following code, it is returning the value "TimeNum - 95,300.000".
printf("\nTimeNum - " + NumToStr( TimeNum()));
I need the TimeNum() to return the value upto current second.
Can someone please advise?
Thanks,
Prasanth.
PS: Though the prices are updated in real-time, my chart's lowest interval is 1 min bar.
nsm51
2
See this post and understand what settings of timestamp you are using and follow the link in manual.
Tomasz
3
Current time (including seconds) is given by Now()
function http://www.amibroker.com/f?now, not TimeNum().
TimeNum returns array of timestamps of HISTORICAL bars.
system
Closed
4
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.