Login Page - Create Account

Support Board


Date/Time: Tue, 21 Jan 2025 12:27:46 +0000



[Programming Help] - Sound alert on range bar

View Count: 1371

[2018-08-22 15:15:58]
User962832 - Posts: 4
Hello,

Can SC make a sound alert after a range bar completed (right before it moves to the next range bar)?
Since range bars have no fixed time interval, it help user to mointor when it finished.

Thanks,
Stephen
[2018-08-22 16:29:33]
Xfanman1 - Posts: 320
Put this formula into a Color Bar Based on Alert Study and turn on an appropriate sound alert and you'll get an alert whenever the range that you're looking for is exceeded (I used 10 just as an example). You can use other studies too if you want and you can turn off the actual painting of the bars in the Color Bar study if you don't need each bar colored. If you want to be alerted before the range is exceeded just change the number to 1 tick (or whatever you wish) before the bar range is exceeded.

=(H-L)>-10

--
Scott
imageRangeBarAlert.PNG / V - Attached On 2018-08-22 16:27:16 UTC - Size: 24.37 KB - 285 views
[2018-08-23 02:17:25]
User962832 - Posts: 4
Thanks very much Scott!

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

Login

Login Page - Create Account