Any scripts to place a pending order as market order?

 

I always look at the chart and wait for the price to hit my target to place a market order.

This is because my limit orders often don't get triggered due to the spreads.

Is there a script to place a limit order as if it was a market order?

 
A pending order is different from a market order; just like a boat is different from a car. You are talking nonsense. You can't place a pending order at the market, nor a market order at some other price.
Reason: