Support Board
Date/Time: Fri, 04 Jul 2025 08:23:38 +0000
Post From: modf() broken in 2192?
[2020-11-16 08:56:04] |
User907968 - Posts: 840 |
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);
|