Are the elements of DateTime() in sort order so that if two consecutive elements in the array are "a" and "b" then a<b always?
It has been already explained by Tomasz:
Thank you Milosz for your response. I'm actually using vc++ to write a program, which will use the array DateTime(); Date and Time are coded in the array and it would be really nifty if the coding preserves time order, which means that if "AmiVar V=DateTime()" then I can assume "V.array[i]<V.array[i+1]" in the series for integer i.
Thank you again for you kindness.
/gary
1 Like
Yes datetime is sorted, but datetime is not really plain number. It is all described in the documentation:
http://www.amibroker.com/f?datetime
Thank you Tomasz.
Incidentally, kudos and plaudits are in order as you have developed, perhaps the most extraordinary and powerful analytical tool ever devised for traders, Amibroker.
/gary
1 Like
Thank you for your kind words