Need some help close all pending orders

Post Reply
Snoopy1234
Posts: 9
Joined: Fri Dec 23, 2011 3:47 pm

Need some help close all pending orders

Post by Snoopy1234 »

Hello,

1. I need a script that closes all pending orders of all open windows at the same time.

F.e. i have opend some buy and sell limits in different currency pairs i want to close all of them whne they are not reached in the evening.

Closing hour might be an individual input frame.

I need the script in mq4 sourcecode not coded in ex4.

Thank you in advance.

Snoopy1234
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Re: Need some help close all pending orders

Post by mobthehop »

Hi Snoopy

attached is a very universal script for closing all sorts of orders in many ways - be carefull with it!

I set the options so it will only delete all pending orders on all charts! Please do not use on a live account until you are familiar with it

Cheers
You do not have the required permissions to view the files attached to this post.
Snoopy1234
Posts: 9
Joined: Fri Dec 23, 2011 3:47 pm

Re: Need some help close all pending orders

Post by Snoopy1234 »

Okay thank you. I will test it firstly on Demo. Is it possible to put some closing time in it?

F.e. I want to close all pending orders at 21 or 22 o´clock?

And another thing. I have a script and cannot decode it. Why i want to decode it? Because it runs only on 4 digit account. Can anybody help me her or alternativly can write this script or EA new that work on 5 digit accounts?

Hope her can anyone help me.
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”