Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 12:49:44 +0000



Post From: Alert or Automatic Mark at EMA cross over SMA and vice versa

[2014-01-15 13:48:21]
Sawtooth - Posts: 3976
Try this:

Add the Color Bar Based On Alert Condition study
Put this formula on its Alerts tab:
=OR(AND(ID2.SG1[-1]>ID1.SG1[-1],ID1.SG1>ID2.SG1),AND(ID2.SG1[-1]<ID1.SG1[-1],ID1.SG1<ID2.SG1))
where ID1 is the EMA15 and ID2 is the SMA50. Edit as needed.
Also, choose an Alert Sound from the dropdown menu.

To get an email when the alert is triggered, go to Global Settings >> General Settings >> select the same Alert >> check Send E-Mail When This Alert Is Triggered >> enter your email address.

If you want to use a Draw Style other than Color Bar, set the 'Output When Condition True' to 'Use Input Data', and set the Input Data to either High or Low.