Close (partially) not work.
-
Hello I want to do a partial closure to an operation, but the partial closure block closes the entire trade, someone knows why. In mt5 if it works for me but in mt4 it does not.


-
@plutofx I don0t see any problem with the logic. Is the distance in pips from open price correctly executed?
-
@l-andorrà Yes, 20 pips, where you close you must make a partial close. I have tried various mods but it does the same thing.
-
@plutofx Can you please share the link to your project?
-
isnt that how fxdreema works? A partial close sells and then rebuys with a lower volume.
-
-
@plutofx Try the option '"% of current volume' instead of 'fixed volume'.
-
@l-andorrà said in Close (partially) not work.:
Try the option '"% of current volume' instead of 'fixed volume'.
Yes, it was the first option I had, I also tried the other option but neither works, I think I have tried all possible combinations. The version I have in MQL5 works fine. I appreciate your dedication
-
@plutofx Then I'm afraid you should contact the admin to let him know.
-
@plutofx there might be something wrong with the block... Recently I used the actual mql4 function to close partially, that worked fine.
-
@plutofx Use Turn Off Block "For Each Trade" after partial is closed to prevent the block from running multiple times because when partial is closed basically a new trade is created hence why it recognizes and closes again. And then use "Turn On" to reactive "For Each Trade" Block again when a new trade is created.