modify take profit after entering operation
-
Hello,
I have a doubt that may seem trivial but I can't resolve it in any way.
I would like to ensure that when an operation with take profit 0 is entered it automatically transforms into 300% of the stop, for example. This happens correctly but it doesn't give me the possibility to change it even if I try to raise or lower the stop it always returns to the original take profit. How can I make it so that the take only edits once and then gives me the option to edit it? I'll send you the project.
-
@slydexx try the pink "once per position" block as a filter.
-
@roar https://fxdreema.com/shared/c2mDTgsJd I tried like this but nothing doesn't work as soon as you change it it immediately goes back to the original take profit
-
@slydexx the block I mentioned isn't there
-
@roar https://fxdreema.com/shared/qcuEf66Eb sorry, I made a mistake in sharing the link .. I sent it for MT4 but I need it for MT5
-
@slydexx naturally you need to check the current stop before modifying it. In the latest version you are modifying every position regardless of their stop.
Also, switch the "If position" block to a "for each position". Pink blocks always need a purple loop block as a parent. The blue blocks sometimes work, but they are not intended to work like that and thus not reliable.
-
ok thanks so much for your help I'll try right away.