Support Board
Date/Time: Thu, 13 Feb 2025 02:36:42 +0000
Post From: modf() broken in 2192?
[2020-11-16 08:56:04] |
User907968 - Posts: 826 |
SCDateTime no longer converts directly to double - see link for details https://www.sierrachart.com/index.php?page=doc/Whats_New.php#SCVer2156 You could use Working with the SCDateTime Variables and Values: GetAsDouble() backtime = std::modf(sc.BaseDateTimeIn[sc.Index - BarsBack].GetAsDouble(), &date);
|