Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 01:30:16 +0000



Post From: No alert sound for MACD

[2015-12-24 01:08:46]
Sawtooth - Posts: 4143
You'll need to change the Value Format of the MACD study to at least 0.00001

If you only want the alert in the bar when the crossover occurs, this will work:
=AND(ID1.SG3[-1]<0,ID1.SG3>0)

If you want the alert at every bar when it is above 0, this will work:
ID1.SG3>0

User52989's contribution will alert on the first occurrence if the MACD Diff is outside a narrow band on both sides of 0, but the offsets will probably not be what you want, plus you didn't change SG1 to SG3.

You can quickly and easily see a visual of what works and what doesn't by using these formulas with an ID# in the Color Bar Based On Alert Study.

Since the MACD Diff is a histogram of the MACD and its MA, you could use this formula instead:
=CROSSFROMBELOW(ID1.SG1:ID1.SG1[-1],ID1.SG2:ID1.SG2[-1])
This will alert at the first occurrence only.
Date Time Of Last Edit: 2015-12-24 01:14:20