Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 12:53:43 +0000



MACD Crossover Alerts

View Count: 4361

[2013-09-30 19:52:29]
infpz - Posts: 826
Do you know what formula I put in the Alerts dialogue box so an alarm is sounded each time one of these arrows displays? It is the MACD Crossover indicator that is standard in SC.
Thanks,
PZ
image123.png / V - Attached On 2013-09-30 19:52:26 UTC - Size: 37.77 KB - 840 views
[2013-10-01 02:09:41]
Sawtooth - Posts: 4000
Try this:

OR(SG1>0,SG2>0)
[2013-10-01 02:52:57]
Sierra Chart Engineering - Posts: 104368
The formula given in post #2 is what you want to use.
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
[2013-10-01 17:45:51]
infpz - Posts: 826
How about if the the RSI crosses SG2 or SG3?

Thanks
[2013-10-01 18:04:33]
Sawtooth - Posts: 4000
OR(CROSSOVER(SG1,SG2),CROSSOVER(SG1,SG3))

This will alert when the RSI crosses either of the overbought/oversold lines, in either direction.

Use the CROSSFROMBELOW and CROSSFROMABOVE functions to differentiate direction.


[2013-10-01 18:05:25]
infpz - Posts: 826
OK thanks! I think I am getting the hang of this.
[2013-10-02 15:54:54]
infpz - Posts: 826
How about something more complicated, like this?

There are 19 pivots points on the daily chart. I want to be alerted every time one is touched.

=lastprice = SG1 OR SG2 OR SG3 … OR SG19

[2013-10-02 16:32:30]
Sawtooth - Posts: 4000
Use this:

=OR(LASTTRADE=SG1,LASTTRADE=SG2,LASTTRADE=SG3,LASTTRADE=SG4,LASTTRADE=SG5,
LASTTRADE=SG6,LASTTRADE=SG7,LASTTRADE=SG8,LASTTRADE=SG9,LASTTRADE=SG10,LASTTRADE=SG11,
LASTTRADE=SG12,LASTTRADE=SG13,LASTTRADE=SG14,LASTTRADE=SG15,LASTTRADE=SG16,LASTTRADE=SG17,
LASTTRADE=SG18,LASTTRADE=SG19)

Some symbols have floating point errors in their price so '=' is not always 'equal', so you may not always get an alert. If this is the case for you, the Simple Alert formula becomes unwieldy and you'll need to use the Spreadsheet System/Alert study.
Date Time Of Last Edit: 2013-10-02 16:34:40

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

Login

Login Page - Create Account