May 15, 2019 at 11:15 pm #53061
- Topics: 37
- Replies: 238
- Posts: 275
Correct. Remember to use the formula in a Show Bar tool to verify that it is doing what you expect it to be doing.
In this example your formula is true when the gap occurred within the last 90 bars (trading days), and turns false on the 90th bar: