It's not an EA, it's a script. You run it and it closes the positions according to the filters set via input parameters.How do I use this ea to close my positions?
alright thanksIt's not an EA, it's a script. You run it and it closes the positions according to the filters set via input parameters.
It closes the positions just when you run it. It's a script - it executes only once and that's it. It doesn't stay attached to the chart.But when does it close the positions? Let´s say I have a tp set but I want to close my positions before my tp or sl is hit how do I then use this script to close all of my positions?
It's a script - it runs once and then gets unloaded. That's how it's supposed to work. Why would you want it to remain constantly active anyway? So that all trades are closed immediately once you open them?I tried to attach the script on the charts but it gets removed whenever I try. Also, the icon does not become the blue hat in the navigator tab.
Then you need an EA, not a script. Account Protector should do the thing:I am running a series of EAs and I need the script to constantly remove all the trades once a profit target reached. Then the whole series starts again. I got another script from MQL5 community that does this but it's too slow it closes one by one. I was thinking since your script allows closing all trades at once after you adjusted Async to true maybe it can help me fulfil my strategy. Slippage is high closing 50 trades one by one. Can you help me to make it possible? Thanks.
Please re-attach the screenshot. It's not visible.
Please re-attach the screenshot. It's not visible.
Thanks, I tried to send it but it failed, I don't understand why. Here is the image link.Please re-attach the screenshot. It's not visible.
There's the Files folder in the archive that you downloaded. You need to copy it to the MQL5 subfolder of your MT5 data folder.Thanks, I tried to send it but it failed, I don't understand why. Here is the image link.
https://drive.google.com/file/d/1VMc8HBXE31SvyYf72fZTbO5QgXcFkMJX/view?usp=sharing
I tried following the installation instructions and adjusting the parameters, but the application didn't work. However, I found a way to make it work: I just downloaded it and pasted it into MQL 5, without adjusting the parameters, and it worked. ThanksThere's the Files folder in the archive that you downloaded. You need to copy it to the MQL5 subfolder of your MT5 data folder.