When developing an automated strategy, what I find the most challenging is exits. Exiting when an oscillator becomes oversold seems to work occasionally. Generally providing a small boost. However, it misses the big runs and doe s nothing for getting out a losing trades. What are some "exit" strategies you find helpful when automating a strategy?