I think you're using a filter to generate an indicator, then looking at the indicator to make an up/down determination; but you're thinking that your up/down determination needs to be smarter than just comparing one value with the next. However, you're contemplating adding more filtering - which belongs in the filter, not the up/down determination.
I heard a quote on the radio once which is appropriate here: "Investing would be easy, you invest when the market is going up, and cash out when it's going down. The trouble is, no one has yet been able to give me a workable definition of whether the market is going up or down".