Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 00:48:37 +0000



Post From: How to play an alert sound on every bar when there is 1 min left on a 5 min chart?

[2023-06-23 03:30:54]
fuzzy - Posts: 7
I am trying to write an Alert Condition on the Main Chart/Price Graph so that it plays alert sound on every bar when there is 1 min left to the close of 5 min bar. I tried the following, but it doesn't work:

ABS((NOW()-BARTIME)-TIME(0,4,0))<TIME(0,0,1)

My understand of these functions maybe wrong. Anyone can help me to fix this?

Thanks in advance.