Trailing Stop Setting

How to set the situation, when trailing stop is higher or lower than current market price, we can automaticly sell out?

Assume we set the buying point at 11800, and trailing stop at 11795. If the buying point is lower than 11795, it will exit the market directly at the market price.

Thank you.