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?
PS: Though the prices are updated in real-time, my chart's lowest interval is 1 min bar.
See this post and understand what settings of timestamp you are using and follow the link in manual.
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.
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.