Time in microseconds (µs) since 01/01/1970 – library MetaTrader 5
Simple class for getting the number of microseconds (µs) elapsed since January 1, 1970. The error of this method is about 0.5 milliseconds. This is due to the temporal discreteness of updating the TimeLocal() function. At the very beginning of your program (script, indicator or advisor), you need to create an instance of the class: #include … Read more