Login Page - Create Account

Support Board


Date/Time: Wed, 17 Sep 2025 13:25:41 +0000



How to get current time for time-based alerts?

View Count: 18

[2025-09-17 00:23:51]
neevaksama - Posts: 67
Hello SC Team,

- I'm trying to avoid using ASCIL so the below is kind of out
sc.CurrentSystemDateTime


- The below alert is also out since I use range bars and I don't really want to use additional charts (i.e 1m/5m for this to work)
=AND(BARTIME >= TIME(9, 45, 0), BARTIME <= TIME(9, 45, 59))


- So I tried this:
=AND(FRACTIME(NOW()) >= FRACTIME(TIME(9, 45, 0)), FRACTIME(NOW()) < FRACTIME(TIME(9, 46, 0)))

===
- However, I don't even see this in Alert Manager (or any alert)

Main qn: Could you point to me where I went wrong?
Sub qn 1: Why does Log Evaluated Formula at Each Evaluation not show the evaluated formula? It just shows the formula as it is. (Attached an image)
Sub qn 2: I was testing it during market replay and I noticed the DateTime column of the logs was showing the latest live date/time rather than latest market replay's date/time. Is this intended? (Attached an image)
imagealert-manager-time.png / V - Attached On 2025-09-17 00:23:20 UTC - Size: 1.64 KB - 2 views
imagealert-manager-formula.png / V - Attached On 2025-09-17 00:23:24 UTC - Size: 15.29 KB - 3 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account