H&S is a reversal pattern which means the trend prior to formation of the pattern should be opposite of the signal that the pattern generates. So for inverted H&S which is a bullish pattern the prior trend should be downtrend, while for H&S the prior trend should be up as its a bearish pattern.