Login Page - Create Account

Support Board


Date/Time: Wed, 25 Mar 2026 19:45:32 +0000



Post From: Liquidation ACSIL

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