Login Page - Create Account

Support Board


Date/Time: Wed, 18 Jun 2025 08:29:35 +0000



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

[2022-08-07 14:05:00]
Kai - Posts: 10
Hello,

im using the "Trading System based on alert condition" and would like to get an alert if the current price crosses the previous candle poc from below like in the attached screen.

So if the current price goes below the previous poc at 4142.25 and than crosses this poc from below i would like to get an alert.

Here my current formula:

=AND(CROSSFROMBELOW(ID11.SG42[-1], ID25.SG1), AVAP(L[-1], -1)=0, AVAP(L, 0)=0)

ID25 - CurrentPriceLine-study
ID11 - Numbers Bars Calculated Values-study to get the poc
AVAP - to detect finished auctions

That works quite well, but it seems that the alert also gets triggered on the poc of the third last candle at 4141.75 because this poc seems to be included in the range.
That should not happen. I only want an alert for the previous candle poc.

How can i achieve this?


Regards,
Kai
imagesc_support_1.png / V - Attached On 2022-08-07 13:59:52 UTC - Size: 24.93 KB - 183 views
imagesc_support_2.png / V - Attached On 2022-08-07 13:59:58 UTC - Size: 2.21 KB - 130 views
Attachment Deleted.