Button Order Close
This expert advisor (EA) creates a button on top-right corner of the chart. The button is named as "Close Market Orders and Delete Pending Orders".
Whenever this button is pressed, the EA closes all open market orders and deletes all pending orders for the currency-pair that is currently attached on the chart.
On removing the EA from the chart, the button also gets removed.