Prevent short signal occurring between buy and sell

A general question:

Is there any similar way such as ExRem to remove/prevent short signals occurring after a buy signal but before a sell signal has occurred?