In the old days, you could do what you are describing with stocks. You could have a long position in shares and a short position at the same time. To open a short position the order type would be Sell Short or Sell to Open. Another order type to close a long position would be Sell to Close. But this changed many years ago. Now a Sell order will close an equivalent open long position, or initiate a short position. A Buy order will close an equivalent short position, or initiate a long position. So you won't be holding both long and short positions at the same time for the same symbol because they net out.
You posted your question in the futures forum. While my futures brokers handle this the same way as stocks, I don't know if all futures brokers will net them out. If you are hedging a physical commodity or a stock position, there might be a good reason to allow holding long and short positions at the same time.
Now if you are really talking about structuring an order for a breakout strategy (not holding open long/short positions), then you might be referring to a bracket entry order.