The penetration means overlapping candles within the same pattern, not with another pattern. Combining two patterns will most likely not work, as they are normally mutually exclusive.
I don't think anyway that those patterns can generate any useful signals. Better detect patterns with the method from workshop 7.
For the high and low of the past x candles, use HH(x) or LL(x).