To delete a lot of pending orders into working orders area

Dear Experts.

Is there a download possibility in form of a script, because of a lot of pending orders
(assuming more as 100 lot orders to delete) into MetaTrader account.

To delete all of pending orders (more as 100 pending Lot orders) within area of Working Orders,
with a function of one click to delete this more as 100 Lot orders of pending orders into area of Working Orders.

Thank you in advance for your assistance.

Yours Faithful.