Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 20:25:45 +0000



Post From: Some more alert help please...

[2024-02-06 19:30:36]
User666015 - Posts: 49
Hi all,

I have been trying for a couple of hours without success to make an alert for when two EMA lines crossover - but only when within a certain tick range of a VWAP line, I've tried every combination of ANDs and ORs that I can think of but the alert goes off when the EMAs crossover whether within the tick range of the VWAP line or not. Here's what I've come up with:

=AND(CROSSOVER(ID1.SG1, ID8.SG1), (OR(C>=ID14.SG1-TICKSIZE*4,C<=ID14.SG1+TICKSIZE*4)))

Where am I going wrong please?

Thanks,
Bill