Simple, just place a buy limit order above the current market price. When the ask market price touches your limit price, it becomes a buy market order. (market buy order if touched)
Just place, a sell limit order below the current market price. It automatically becomes a market sell order...