Delete the Pending Order when the Spread is high

Hello, Please share this mql4 Script. Delete the Pending Order when the Spread is high.

Instead of using a pending order to place a trade and then deleting it if the spread is too big, why not just make a short little trading bot that does all that automatically in places your trade automatically when the spread is at an acceptable level and is that the correct price?

Best wishes

When the spread increases, pending order delete the automatic.

Truth is that’s about half a dozen lines of code.

But I’m not sure what you’re saying will actually work.

I don’t personally use pending orders, because I’m a programmer and I know how to just open up an order open up an execute a trade when I want to I know how to not trade when the trade when the spreads are open I know how to execute a trade when the spreads are at a minimal amount and like execute a cell when the price is at or above a certain price when when the bid price is at or above a certain price…

Do you know what might be easier than you using a limit order is doing what I just described… you could have code that says I want to sell at or above a certain price and then really what difference does the spread make I think you should skip the limit orders if you’re going to automate at all…

An ounce of preparation is worth a pound of cure never forget that.