Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 00:46:02 +0000



[User Discussion] - sounds

View Count: 1390

[2020-05-05 13:59:54]
coachted - Posts: 328
can i have a sound, such as the opening and closing bell, associated with time... ie i want the opening bell to ring when its 930 and a closing bell to ring when its 400. if so how do i do it
[2020-05-06 13:06:33]
Sawtooth - Posts: 4120
Try this:

1. Put this formula on the Alerts tab of any study, or on the Alerts tab of Chart Settings:
=OR(AND(BARTIME>TIMEVALUE("09:29:59"),BARTIME<TIMEVALUE("09:30:01")),AND(BARTIME>TIMEVALUE("15:59:59"),BARTIME<TIMEVALUE("16:00:01")))
- Choose an Alert# for the Alert Sound.

2. Go to Global Settings >> General Settings >> Alerts/General 3 tab and Select the Opening Bell.wav sound file for the chosen Alert#.

Note: This only works reliably on a timebased chart where there is a 9:30 bar and a 16:00 bar.
[2022-12-29 17:05:36]
lservin29 - Posts: 43
hi, I put this in the Clock - Realtime study and it did not work. I have now added it to the F5 Alert component and Alert Conditions.

Do you in explaining the syntax in this code?

Is it not working in the clock study since its stating "BARTIME"?

Thanks
[2022-12-29 17:36:54]
Sawtooth - Posts: 4120
Is it not working in the clock study since its stating "BARTIME"?
It works for me using that formula on the Alerts tab of the Clock-RealTime study.

The BARTIME identifier should work everywhere; it's not study-specific.
[2022-12-30 14:11:26]
lservin29 - Posts: 43
do you mind sharing images of your inputs and settings. I have it all set up and not sure why its not alerting sound.
[2022-12-30 14:40:07]
Sawtooth - Posts: 4120
You can also put that formula in the Color Bar Based On Alert Condition study, and it will color the Opening and Closing bars.

The chart bars need to be time-based.
Date Time Of Last Edit: 2022-12-30 14:42:53
imageOpening Closing bell.PNG / V - Attached On 2022-12-30 14:39:57 UTC - Size: 58.4 KB - 125 views
[2022-12-30 16:00:14]
lservin29 - Posts: 43
you are using that exact same formula?

=OR(AND(BARTIME>TIMEVALUE("09:29:59"),BARTIME<TIMEVALUE("09:30:01")),AND(BARTIME>TIMEVALUE("15:59:59"),BARTIME<TIMEVALUE("16:00:01")))
[2022-12-30 16:07:27]
Sawtooth - Posts: 4120
you are using that exact same formula?
Yes
[2023-10-04 22:41:51]
User555185 - Posts: 8
It worked using also tick charts (24hrs tick charts). Thank you very much!

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

Login

Login Page - Create Account