Support Board
Date/Time: Fri, 21 Nov 2025 17:45:38 +0000
Issue on Alert Condition, 3 Consecutive Bearish Candle with all 3 Delta divergence
View Count: 28
| [2025-11-21 14:32:13] |
| rebeccaemme - Posts: 31 |
|
Hello, I’m having an issue creating an Alert Condition. I want the alert to trigger only when there are 3 consecutive bearish candles, and all three of them have bullish delta divergence. Additionally, the three candles must respect lower lows and must not violate each other’s highs. I tried to create the following formula, but it triggers even when only the last candle has the delta divergence. The previous two candles often do not have divergent delta, so the alert behavior is incorrect: AND( BARTIME >= TIME(00,00,00), BARTIME <= TIME(20,30,00), AND(C < O, AV-BV > 100), // candle 0 AND(C[-1] < O[-1], AV-BV[-1] > 100),// candle -1 AND(C[-2] < O[-2], AV-BV[-2] > 100),// candle -2 L[0] < L[-1], L[-1] < L[-2], H[0] <= H[-1], H[-1] <= H[-2] ) Could you please help me understand why the condition is not requiring all three candles to have the divergent delta, and how I can correctly structure the formula so that the alert only triggers when all three consecutive bearish candles meet the divergence and structural conditions? Also this was the formula when was 3 Bullish Candle with all 3 negative Delta, but it doesn’t work as well AND( BARTIME >= TIME(00,00,00), BARTIME <= TIME(20,30,00), AND(C > O, AV-BV < -100), // candle 0 AND(C[-1] > O[-1], AV-BV[-1] < -100),// candle -1 AND(C[-2] > O[-2], AV-BV[-2] < -100),// candle -2 H[0] > H[-1], H[-1] > H[-2], L[0] >= L[-1], L[-1] >= L[-2] ) Thank you. |
| [2025-11-21 15:01:52] |
| User431178 - Posts: 814 |
|
This probably not what you intended. AV-BV[-1] Did you really mean this instead? AV[-1]-BV[-1] |
To post a message in this thread, you need to log in with your Sierra Chart account:
