I just added an ability to filter out entries when < 20. In fact you have a choice to set this threshold value.
In a sideways market, the MA crossovers end up in yielding entry trades with losses. value around 20 to 25 indicates a sideway market. By introducing threshold, we are trying to prevent potential loss making entries.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.