Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 16:09:30 +0000



[Programming Help] - writing an alert

View Count: 976

[2017-09-11 13:25:27]
User28914 - Posts: 87
I keep getting an error , please write out MACD is ID:1 green line is ID:1, SG1 Red line is ID:1 SG2 I want when the green line crosses red line upward a green arrow……..then the opposite when the red line crosses the green downward a red arrow

Next; DMI is ID:3 green line is ID:3, SGI red line is ID:3, SG2 when green line crosses red line upward then a green background then the opposite when the red line crosses the green downward a red background
[2017-11-01 17:13:46]
User28914 - Posts: 87
Never got an answer on this one, any help please?

I keep getting an error , please write out MACD is ID:1 green line is ID:1, SG1 Red line is ID:1 SG2 I want when the green line crosses red line upward a green arrow……..then the opposite when the red line crosses the green downward a red arrow

Next; DMI is ID:3 green line is ID:3, SGI red line is ID:3, SG2 when green line crosses red line upward then a green background then the opposite when the red line crosses the green downward a red background
[2017-11-02 05:01:24]
Sierra Chart Engineering - Posts: 104368
1. Use the MACD Crossover System study:
MACD Crossover System

2. You need to use two instances of the Color Background Based on Alert Condition study:
Color Bar Based on Alert Condition

Formulas:
CROSSFROMABOVE(ID3.SG1, ID3.SG2)
CROSSFROMBELOW(ID3.SG1, ID3.SG2)
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

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

Login

Login Page - Create Account