close all orders when profit reaches a positive value
-
hello
im trying to do this since two weeks ago.
can somebody help me with this trouble?????
thanks -
@niko You can try this:

-
thank you very much.
but...
can i use it with some opened orders?
when the equity reaches to X value -
@niko
you can use it either with orders which are openend by the expert advisor (depending on magic number) or any existing orders (independent of magic number)yes also with x value
-
ok
thanks