Bars Signal Is Valid



In this page, you will learn the function of the ‘Bars Signal is Valid’ input, which is found several times throughout the StratBuilder.


Throughout the indicator, under most of the conditions, you will find a ‘Bars Signal is Valid’ input.



‘Bars Signal Is Valid’ is the number of bars after the condition is true that the signal will remain ‘valid’.
Note: ‘Bars Signal is Valid’ only affects entries. It does not affect exits.

So, for example, let’s say one of your entry conditions is:
RSI > 20 (Bar Signal is Valid is 5).
That condition now means “RSI must be greater than 20 or has been greater than 20 at any point in the last 5 bars."

If ‘Bars Signal is Valid’ was 0, then that condition would mean : “RSI must be greater than 20 on the current bar.

For example, let’s say you have a condition like this:
Enter a long when:
RSI < 20 (Bar Signal is Valid is 5)
and
MACD > 0 (Bars Signal is Valid is 0)
If the MACD > 0 and the RSI is > 20, BUT the RSI was < 20 at any bar in the last 5 bars, then that would still count as an entry because the signal that the RSI was less than 20 stays valid for 5 bars.

This is how you would input that: