Scripts: Close-All - page 4

 
thank you Amrali 
 
it seems good. is it possible add. for example "close when profit reached +50 or +100 etc"
 
Thanks for this close all script in mq5. Any chance to have this in mq4? 
 

How do I install a script in MT5?

If I put the source file in Scripts, it doesn't show. And what do I do with the Dummy?

Where exactly should I put the source file and the dummy?

Thanks 

 
bblase #:How do I install a script in MT5? If I put the source file in Scripts, it doesn't show. And what do I do with the Dummy? Where exactly should I put the source file and the dummy?
You have to compile the Scripts in MetaEditor. Once it is compiled and shows in the Navigator then you can drag it onto a chart for it to run.
 

It works prefect. Thank you. Just put it to scripts folder and thats it!

 

Hello,

I am looking for a script to apply to MT5 instance running a live signal that closes all trades when a particular condition is met (e.g. drawdown % level or equity amount).

Can I use this script to obtain such a result?

Thank you all

 
Possible to add an option to Close All Orders starting from the smallest Profit / Loss, until the Largest Profit / Loss orders?
 
good
 
If there are running trades on a particular asset and you activate the "Close-All, does it close all positions at the same time and price? Thanks.