Login Page - Create Account

Support Board


Date/Time: Mon, 15 Sep 2025 13:57:33 +0000



Post From: Liquidation ACSIL

[2023-08-10 09:27:00]
ForgivingComputers.com - Posts: 1122
Something like this should work. Using SCDateTime persistent variables, save the time when the study begins, and the next time through compare the current time and the previous time with the cutoff time. If the Current Time is equal to or past the cutoff, and the previous time is before the cutoff, then
sc.FlattenAndCancelAllOrders();
Converting the cutoff time to a DateTime (i.e. Today's date + Cutoff Time) will make the comparisons simpler.