Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 05:24:15 +0000



Post From: No alert sound for MACD

[2015-12-29 17:08:02]
Sawtooth - Posts: 4000
Your tick size and value format with so many zero, does this imply to AUDUSD only or to all currency.
You would only need to do this to any symbol that didn't display properly.

If I at the same time wants SG1 to also alert me when there is a crossover to either above or below zero, do I just replace SG3 to SG1 for the formula given?
If you change SG3 to SG1, the alert will be when the MACD crosses zero.

If you want an alert when either cross zero in either direction:
=OR(AND(ID1.SG3[-1]<0,ID1.SG3>0),
AND(ID1.SG3[-1]>0,ID1.SG3<0),
AND(ID1.SG1[-1]<0,ID1.SG1>0),
AND(ID1.SG1[-1]>0,ID1.SG1<0))
I visually arranged the formula so you can see the pattern.

If you add the Color Bar Based On Alert Condition study to your chart, and put the formula in its Alerts tab, you will see a visual where each alert happens, without having to test it in real time or in replay. There is no other way to resolve a problem like this because you need to see every alert TRUE.

I don't mind helping with formulas but so that you can eventually become self-reliant, study the documentation on Simple Alerts:
http://www.sierrachart.com/index.php?page=doc/doc_StudyChartAlertsAndScanning.php
There are many examples at the bottom of the page.