Support Board
Date/Time: Wed, 17 Sep 2025 15:41:37 +0000
How to get current time for time-based alerts?
View Count: 29
[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) |
![]() ![]() |
[2025-09-17 14:56:40] |
John - SC Support - Posts: 41861 |
Where are you entering this formula and how do you have the options set for it? Also, what exactly are you wanting to accomplish? If you just want an alert at 09:45, then use the Time Alerts. Refer to the following: Alerts Manager: Time Alerts For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: