When stops are trailed, you have set the Trail variable somewhere in your code. And if you want to enter at market, don't set the Entry variable.