Thank you!
Ryan Hartstein
For example. Say you have 10 rising bars in a row. If x was 2 in this example, signals would only be allowed on every second bar. If x was 3, signals would only be allowed on every third bar and so on. When there is a bar in the opposite direction, this would break the consecutive bars and would not be considered rising anymore. I was going to make an indicator to handle this logic but doing it in SQ natively so that SQ can determine these values by itself while building would be great.