wdbaker,
I'm coding this in TradeStation, but I'm confused on your short signal. You wrote:
test2=Filter AND MA(Close,5) Short=test2;
I understand the time filter, but what do you want the MA(Close,5) to do? Did you intend to enter the opposite of your long signal, i.e. "MA(Close,5) <...