Support Board
Date/Time: Mon, 07 Oct 2024 08:10:54 +0000
Simple Alert condition
View Count: 1722
[2013-05-13 19:43:08] |
N!co - Posts: 140 |
Hi, Could somebody please help me with a Simple Alert Condition code I would like to get an alert if: the Last Bar crosses the High of the Previous Bar, but only if the Previous Bar was a Down Bar OR the Last Bar crosses the Low of the Previous Bar, but only if the Previous Bar was an Up Bar Your help if highly appreciated ! |
[2013-05-13 20:01:48] |
Sawtooth - Posts: 4094 |
Try this: =OR(AND(H>H[-1],C[-1]<O[-1]),AND(L<L[-1],C[-1]>O[-1])) |
[2013-05-13 21:59:24] |
N!co - Posts: 140 |
Thank you Tom, I'll give it a try |
To post a message in this thread, you need to log in with your Sierra Chart account: