Can someone show me a method to get the time of the last candle in c++.
When using iTime(symbol, timeframe, 1) it returns the value in double format since TDateTime is a double.
For instance a value returned was 43192.541667 when using hour increments as timeframe.
Does anyone know how to transfer this value to hours?
Examples step by step how to make your own automated strategy or user indicator
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest