partially close
-
I have created this EA, to assist me on manual trades. the magic number is set to zero, groups set to all trades (manual and automated)
https://fxdreema.com/shared/vVPsCi7sdi need partially close on percent of TP% , but this expert works like this:
i open a trade without sl and tp on market execution , as soon as i set a tp , partially close runs, it did not look for the percentage of the TP and works on the next tick after i set the tp.
-
In this EA just Trailing stop works fine. the break even is not working at all , and i described the partial close situation. also i add true or false conditon to control the trail stop and break even's conflict. when one of them is true the other one is false. there is no conflict. i will appreciate if anyone help me. thanks
-
Block 20 is unnecessary, you can remove it. The problem is that both BE and TS blocks are conflicting each other. The TS block will always work before the BE with its current configuration, this is why it doesn't work. You need to find a different configuration for both blocks to avoid that.