Login Page - Create Account

Support Board


Date/Time: Fri, 09 May 2025 19:34:44 +0000



MA Alert Formula

View Count: 1471

[2014-10-10 15:30:27]
User765038 - Posts: 22
Hi SC,

I have a moving average study on my chart.

What is the formula to set in the condition box of the alert tab so that an alert is activated as soon as price action touches the moving average?

Thanks and regards,

Rod
[2014-10-10 16:26:33]
Sierra Chart Engineering - Posts: 104368
Try:
=AND(SG1 <= H, SG1 >= L)

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
[2014-10-31 15:56:43]
User765038 - Posts: 22
Thanks, works well.

How should this formula be amended to add the condition "+/- 2 pips".

Appreciated.

Regards,

Rod
Date Time Of Last Edit: 2014-10-31 16:34:57
[2014-11-02 03:09:09]
cmet - Posts: 691
Rod,

You might use the TICKSIZE syntax.

=AND(SG1 <= (H + 2*TICKSIZE), SG1 >= (L - 2*TICKSIZE)

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

Login

Login Page - Create Account