Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 09:33:52 +0000



Alert Question

View Count: 847

[2014-05-16 20:09:56]
infpz - Posts: 826
Looking for a simple alert - last price crosses the Moving Average (SG1). What would the code be?

I don't want to wait until the bar closes.

=CROSSOVER(LASTTRADE,SG1)

?
[2014-05-16 23:00:22]
Sierra Chart Engineering - Posts: 104368
Yes, this is correct. This formula would need to be placed on the Moving Average study.

Instead of LASTTRADE you could also use id0.sg4
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