Support Board
Date/Time: Wed, 05 Nov 2025 14:19:16 +0000
[Programming Help] - indicator with forward looking condition?
View Count: 451
| [2023-06-13 14:23:31] |
| BenjFlame - Posts: 343 |
|
Hello, is it possible, in ACSIL or Formula language to have an indicator looking for bars forward in time for a condition? Example : Have a Boolean returntrue if next 2 bars close are higher than current close? |
| [2023-06-13 17:50:10] |
| ondafringe - Posts: 328 |
|
Think about that for a bit longer...
|
| [2023-06-13 21:20:47] |
| Sawtooth - Posts: 4285 |
|
Have a Boolean returntrue if next 2 bars close are higher than current close?
You could have a boolean return true if the current and previous closes are higher than the close of the 3rd bar ago.The alert would necessarily always be 3 bars late. |
| [2023-06-14 13:21:37] |
| cmet - Posts: 721 |
|
AND(C > C[-1], C > C[-2])
|
To post a message in this thread, you need to log in with your Sierra Chart account:
