Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 18:27:31 +0000



Post From: Help with a simple alert

[2021-05-27 03:48:40]
Sawtooth - Posts: 4173
You are almost there.

- You have correctly reversed the operators in the first two segments. (You didn't need to swap the Ls and the Hs, but it works both ways.)

- You correctly made no changes to the fourth segment, since H-L always returns the bar's range.

- Regarding the third segment: The C is always greater, or equal, to the L, so you need to subtract L from C.
(You'll get a negative number result with L-C.)
So swap the Ls and Cs in the third segment of the formula.

- Put the OR first, then each AND separated with a comma, like this: OR(AND(...),AND(...))
IOW, the OR surrounds both ANDs.