Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 09:54:50 +0000



CROSSFROMBELOW Syntax error or what ?

View Count: 1043

[2016-12-18 04:24:51]
John M - Posts: 165
Hello,

I am writing 2 simple Color Bar Alerts but one of them returns an error and I don't understand what it is.

This Formula works : =AND(CROSSFROMABOVE(ID16.SG1,ID16.SG2), ID16.SG2>0.3)

It's a crossover alert with the parameter to only indicate above the 0.3 level on SG2

This Formula does not work and it's simply the inversion : =AND(CROSSFROMBELOW(ID16.SG1,ID16.SG2), ID16.SG<-0.3)

It's a crossover alert with the parameter to only indicate below the 0.3 level on SG2

What am I missing or doing wrong here?

Thank you.
[2016-12-18 04:27:45]
John M - Posts: 165
Nevermind, I finally caught it after posting the code, I dropped the SG2 in the second formula.

DOH !!!

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

Login

Login Page - Create Account