Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 04:47:42 +0000



Post From: ALERT Not Working

[2020-06-30 20:18:58]
User19100 - Posts: 9
@tomgilb - Ok, This is the code I used and it didn't give me a Syntax error but it's not setting off the ALERT. I tried testing in in replay mode and waiting for it to occur live and neither of them set off the alert. I put in a functioning code to see if it would set off the alert and it did. There's something not working correctly in this string. I tried referencing the open and close differently but then it alerted for every candle where O>C. I tried saying C@4>C@3. I tried O@3>C@3 and, of course, simply O>C.

=IF(ROW()=3,AND(ID15.SG1@4<ID15.SG1@3,ID15.SG2@4<ID15.SG2@3,ID13.SG1@4<ID13.SG1@3,ID14.SG1@4<ID14.SG1@3,O>C,FRACTIME($J$41)-(HOUR(FRACTIME($J$41))/24)>=55/1440,FRACTIME($J$41)-(HOUR(FRACTIME($J$41))/24)<60/1440),0)

I'm stumped...

Again, thanks for your help. You're an ALLSTAR!