Login Page - Create Account

Support Board


Date/Time: Fri, 07 Oct 2022 16:01:23 +0000



[User Discussion] - Alert for Keltner broken up or down

View Count: 1605

[2013-05-09 11:23:05]
tradingkevin - Posts: 3
Does anybody have a code for the following:
---------------------------------------

If a bar close above upper keltner then alert ( only alert once broken )

If t a bar close below down keltner then alert ( only alert once broken )

-----------------------
I use tick chat

Thank you in advance
Sincerely
Kevin
[2013-05-09 13:06:53]
tomgilb - Posts: 3420
Try this:

=OR(AND(C[-1]<SG2[-1],C>SG2),AND(C[-1]>SG3[-1],C<SG3))
[2013-05-09 16:25:17]
tradingkevin - Posts: 3
Hi Tomgilb,

Thanks a lot...it works great . Appreciate the time and effort you put into the code. I hope it will help other people also.

Sincerely
Kevin
[2013-05-09 16:51:32]
Willson - Posts: 176
Tomgilb's coding has helped many folks including me. Kept me from unplugging or worse.

Thanks, regards

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

Login

Login Page - Create Account