Now the faster moving average is below the slowest one and we test if the close is inferior to the lowest low of the last 40 periods (instead of the highest high for the bull version of this stock screener).
I did not test it, please tell us if it works ok. Thank you.