This bot is designed to be very flexible and allow the user to sell Call Credit Spreads and Put Credit Spreads in what I call "Rolling" stocks. These are stocks that tend to move in a rolling chart pattern like VZ shown below where the stock tends to "wander" between the two yellow zones marking a range it has been trading in for the last 18 months. This bot was built and the ranges entered for VZ, but all inputs are at the Bot Level, so a user can input any ticker and the corresponding ranges that they would like to sell a PCS or CCS at.
The exit for these positions is set to be at a 50% profit target, OR using the Smart Stop, if the position were to hit a 10% profit target, a 10% trailing stock would kick in to prevent the position from sliding back to a loss. In theory (assuming no nasty gaps and good fills), once a 10% initial target is reached, the position should at least not take a loss by using the trailing stop function.