Login Page - Create Account

Support Board


Date/Time: Thu, 19 Sep 2024 01:56:32 +0000



Post From: Buy Exit Code help

[2014-03-29 00:28:58]
Sawtooth - Posts: 4091

=AND(CROSSFROMBELOW(AE3:AE5,AH3:AH5),AA3>AB3,AA4<AB4)
This formula says both crossovers must happen in the same bar to be TRUE. This would be rare.

=OR(CROSSFROMBELOW(AE3:AE5,AH3:AH5),AND(AA3>AB3,AA4<AB4))
This formula says either crossover can trigger a TRUE. This is what the pic shows.

Maybe you want something like this:
OR(AND(CROSSFROMBELOW(AE3:AE5,AH3:AH5),AA3>AB3),AND(AE3>AH5,AA3>AB3,AA4<AB4))
This formula is TRUE when:
AE3 crosses AH5 from below and AA3 is already above AB3,
OR
AE3 is already above AH5 and AA3 crosses AB3 from below.