Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 21:49:03 +0000



Post From: 2 MA Background Color Alert based on Slopes

[2019-02-11 14:07:06]
User371906 - Posts: 141
Hello,

I have two different set Moving Averages set to slope (green - red) from which I take signals to enter once both have the same slope color.
I would like to have a alert set as a background color once both MA have same color. (Not looking so much as to a cross over but simply once they both have a positive or negativity slope)
I have
=OR(AND(SG1[0] > SG1[-1],SG1[-1] < SG1[-2]),AND(SG1[0] < SG1[-1],SG1[-1] > SG1[-2]))
but don't know how to integrate signal alert for both MA together to render the background color alert.

Any help would be helpful.

Thanks

g