Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 12:22:07 +0000



Post From: Acsil SCDateTime

[2023-03-04 23:04:00]
Tahir - Posts: 35
thank you @ondafringe
I was using sc.BaseDateTimeIn; as it was in a loop and changing it to sc.Index didn't work.
This is part a of a much longer code and it's in a loop with sc.GetBarHasClosedStatus(i)==BHCS_BAR_HAS_CLOSED, and I didn't bother sharing the whole thing. These have been assigned to variables in the code. I realise my logic for finding the low is flawed but I'll rework on that once I figure out this time issue :)

So how would I tell it to stop at 0930 without using minutes? you can only use 2 digits for BarDateTime.GetHour()