Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 05:09:48 +0000



Moving average alert

View Count: 833

[2015-06-29 19:53:50]
calitrader - Posts: 28
I am trying to set up an alert to monitor if the ema was touched by the current price bar. It seems simple but I have tried a few different way and I can't get it to alert on condition. I'd like to have it alert when it happens, it doesn't matter if the bar closes on the other side of the ema. I have attached a pic of what I am trying to get an alert on. Or I guess if the range of the bar crosses the ema I would like an alert. Whatever the best way to express that is. Thank you.

This is what I was trying to use, but it alerts every bar:
OR(H >=ID4.SG1,L <= ID4.SG1)

Chris
Date Time Of Last Edit: 2015-06-29 19:56:44
imageema.png / V - Attached On 2015-06-29 19:52:12 UTC - Size: 5.9 KB - 304 views
[2015-06-29 21:11:42]
Sierra Chart Engineering - Posts: 104368
Try this:
AND(H >=ID4.SG1,L <= ID4.SG1)

Or refer to example 21 here that we just added:
http://www.sierrachart.com/index.php?page=doc/doc_AlertCondAndScan.html#FormulaExamples
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account