DislikedFound this post in another thread:
"The only way to close a BUY order that is running would be to open a SELL order for an equal amount.
Banning entry orders is only in the sense that you can't place SL and TP that is associated with an existing order. You can place an entry SELL order for same amount as BUY so that when that level is hit, SELL order would activate. Since BUY and SELL can't exist together (no hedging policy in US), SELL would close BUY.