Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 17:31:14 +0000



[Programming Help] - Need help creating an alert

View Count: 822

[2018-02-23 00:44:05]
User657265 - Posts: 19
Good evening,
I come to you because I need help to create an alert with 2 formulas I just created.
The 2 formulas are:

=CROSSFROMBELOW(H, ID2.SG1)
=AND(AND(ID1.SG1>=ID1.SG4),AND(ID1.SG1>=ID1.SG2)).

The idea is to make only one alert with its 2 formulas.
Sorry for my english (I'm french)
And thank you in advance for your help
[2018-02-23 06:03:50]
Sawtooth - Posts: 4214
Try this:
=AND(CROSSFROMBELOW(H,ID2.SG1),ID1.SG1>=ID1.SG4,ID1.SG1>=ID1.SG2)
[2018-02-23 14:04:05]
User657265 - Posts: 19
Thank you very much, that's exactly what I wanted. Now would it be possible to add 2 more time variables.
= AND (BARTIME> = TIME (9, 0, 0), BARTIME <= TIME (11, 29, 59))
= AND (BARTIME> = TIME (15, 30, 0), BARTIME <= TIME (17, 29, 59)).

thank you in advance
[2018-02-23 14:23:55]
Sawtooth - Posts: 4214
Try this:
=AND(CROSSFROMBELOW(H,ID2.SG1),ID1.SG1>=ID1.SG4,ID1.SG1>=ID1.SG2,OR(AND(BARTIME>=TIME(9,0,0),BARTIME<=TIME(11,29,59)),AND(BARTIME>=TIME(15,30,0),BARTIME<=TIME(17,29,59))))

[2018-02-23 14:33:24]
User657265 - Posts: 19
Great !!!! I really thank you for your help

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

Login

Login Page - Create Account