Download MetaTrader 5

Code to close all trades after set profit is reached

To add comments, please log in or register
prweza
272
prweza  

Hi all,

I'm   running an EA   on 3  different charts and i'm wondering if someone knows an mql4 code that automatically closes  all trades when a set total  profit ( pnl) is reached.

Is it possible?  Please help.


Thanks.

honest_knave
Moderator
2322
honest_knave  
creating EA that closes all market orders and pending orders at once when pre-defined profit is reached
creating EA that closes all market orders and pending orders at once when pre-defined profit is reached
  • 2017.05.09
  • www.mql5.com
hello together. please need help to program an EA for closing open orders. important is that the function of pre-defined profit is possible...
To add comments, please log in or register