Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 05:32:48 +0000



Post From: Liquidation ACSIL

[2023-08-10 09:27:00]
ForgivingComputers.com - Posts: 1077
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.