Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 22:11:48 +0000



[Programming Help] - Color Bar Alert Code Help Needed

View Count: 595

[2019-09-09 18:26:45]
User718585 - Posts: 32
I'm trying to do an Alert for the following and I just can't figure out how to write it out.

I need an alert for when the 1-hour opening range price is less than or equal to 17 ticks.

How would I write that out?

Thanks
[2019-09-09 18:47:10]
User718585 - Posts: 32
My 1-Hour Opening range "Initial Balance Study" is ID.13, SG7(HIGH) and SG9(Low)
[2019-09-09 19:16:02]
Sawtooth - Posts: 3976
Try this:
=AND(BARTIME>TIMEVALUE("10:30:00"),(ID13.SG7-ID13.SG9)/TICKSIZE<=17)
where the open is at 09:30:00; edit time between quotes as needed.
[2019-09-09 19:29:17]
User718585 - Posts: 32
Man that works perfect. Thank you so much!!

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

Login

Login Page - Create Account