'Close all'/'Open' tools

To add comments, please log in or register
Sergey Golubev
Moderator
106056
Sergey Golubev  

'Close all' scripts for MT4.

paulosilva555
17
paulosilva555  

Is it working?

Hi,

I have downloaded the close all open position and compiled it. I did not see any erros...

But when i tried it, i received an error message and it did not worked...

Is there anything else that i need to do?

Thanks

Ahmed Soliman
19530
Ahmed Soliman  

Running scripts steps!

paulosilva555:
Hi,

I have downloaded the close all open position and compiled it. I did not see any erros...

But when i tried it, i received an error message and it did not worked...

Is there anything else that i need to do?

Thanks

paulosilva555,

1 - Download the file.

2- Copy it to \experts\scripts

3- Open it in MetaEditor (double click the file).

4- Compile it (F5).

5- You will find in the scripts list in the navigator window (image attached).

6- Double click the script or drag it to the active chart.
Files:
nav.jpg 30 kb
paulosilva555
17
paulosilva555  

Error 4109

Hi i did it all but when i am tring to close the positions i received an error message (erro 4109 could not close the position) as i had two open positions i received it twice...

any idea of what could be going on?

AlexPiechFinGeR
1033
AlexPiechFinGeR  

I have same problem this lies with the new Build version MT4

if I believe

--

glader
83
glader  

I Am So Sorry That I Am Putting My Request Here, But I Am Terrible Looking For Sript Which Close All Open Positions In Mt4.

I Have Tried Some Of Them And It Is Not Working.

Dou You Got Please Some Script Which Close Immidiately All Open Position?

Thanks Very Much For Your Help In Advance...

Sergey Golubev
Moderator
106056
Sergey Golubev  

I am very sorry but I was trying now and it works.

MT4 biuld 190 alpari demo.

All the scripts work.

Sergey Golubev
Moderator
106056
Sergey Golubev  
glader:
I Am So Sorry That I Am Putting My Request Here, But I Am Terrible Looking For Sript Which Close All Open Positions In Mt4.

I Have Tried Some Of Them And It Is Not Working.

Dou You Got Please Some Script Which Close Immidiately All Open Position?

Thanks Very Much For Your Help In Advance...

Try this https://www.mql5.com/en/forum/173000

glader
83
glader  

I tried it, but ERROR : 4109

Sergey Golubev
Moderator
106056
Sergey Golubev  
glader:
I tried it, but ERROR : 4109

I tried it right now.

No error.

I think somebody may take a look.

But I do not have any error!

glader
83
glader  
newdigital:
I tried it right now.

No error.

I think somebody may take a look.

But I do not have any error!

I am trading LIVE. Do you trade LIVE? Could it be broblem?

Thanks for help in advance...