Login Page - Create Account

Support Board


Date/Time: Tue, 01 Jul 2025 00:06:30 +0000



Post From: CrossFromBelow Alert for POC crossing only for previous candle

[2022-08-07 17:58:20]
Sawtooth - Posts: 4231
The CROSSFROMBELOW function must use a range, and when used with Simple Alert syntax, the range is the previous bar to the current bar.
So since you are referencing the previous bar in the formula, the CROSSFROMBELOW is seeing the [-2] bar.

So try this:
=AND(C[-1]<ID11.SG42[-1], C>ID11.SG42[-1], AVAP(L[-1], -1)=0, AVAP(L, 0)=0)