Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 20:59:51 +0000



[Programming Help] - Alert at Top of the Hour SOLVED

View Count: 440

[2021-04-15 21:19:41]
Metzenovich - Posts: 10
How can I have an alert that gets checked at the top of the hour?

I've tried "MINUTE(BARENDDATETIME) == 0", "TIME(0,0,1) == 0)", and "MINUTE(sc.CurrentSystemDateTime) == 0" with no luck.

Basically I want to check if conditions are true using AND(), but only in the first second of the first minute of the hour on a 60 minute chart.

Thanks
[2021-04-15 21:44:22]
Metzenovich - Posts: 10
I kept looking after posting and found a solution that works for my needs:
Alert that references time remaining in bar

Essentially using the seconds left in the bar using the Countdown Timer study.

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

Login

Login Page - Create Account