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?
C++ How to get time of last candle
-
- Posts: 1
- Joined: Mon Jun 08, 2020 6:09 am
- Contact:
Re: C++ How to get time of last candle
Conversion of double to string & then into hour may be solve this problem
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 16 guests