order manager
-
Look
i want to close half of my opened order in 10 pip for example. you suggested that open a new pending order with half volume in previous tp point.now i asked that how can i open 1 pending order in mean time in tp point of first order?
in fact i should open 2 order CONTEMPORARY : first one with 10 pip tp. and second one , a pending order with half volume just right of tp point of first order.
thus, when the first order reach to tp, the second order with half volume is active.or
give me an another solution for closing the half of volume

-
Something like this? https://fxdreema.com/shared/paJxhsrNb
-
hi
this is exactly what i want.
thank you so much. -
did you get my message?
-
dear admin
this is the last step. please help me.
could you please tell me what the problem is?the half closing of volume doesn`t work. every thing is ok, except close partially.
please guide me to finish this EA -
http://prntscr.com/6cif2g
Try "Manually opened" here
-
close patialy still does not work

-
Actually you don't need block 29
-
dear admin
now the close partally is working. but trailing and break even is off.

please guide me to use all together -
I forgot to share the link
-
-
dear admin
the links are corrupted.
-
Ooops... now working.
-
dear admin
close partially is ok in your version. but when I eliminate the creating part , the close partially some times works and some time does not work. I don`t know why.
-
Some logs or screenshots will help
I don't know what is on your system. Once I helped someone in TeamViewer, he had some weird problem that I could not understand, and when I saw his MetaTrader I was shocked - something like 50+ opened charts with EAs everywhere 
-
dear admin
these pics show you what i mean





only the xauusd got both break & partially close
......
gbp. just break.jpg
gbpusd. just break.jpg
jpy. just breakeven.jpg -
Do you have error messages?
-
no
there are not any message. EA works for some instruments only. at xauusd is work perfectly. in other instrument work so so. some times works, some times doesn`t work. this EA is make me crazy
the break even and trailing is workig good, but close partially doesn`t work allways.
-
Then get this and test it. You need:
- MetaTrader 4 with Demo account
- fxDreema project with only those blocks that you want to test
- Make it work immediately (if possible). If you normally have to wait for 10 pips, then do this test with 1-2 pips, or 0 if possible.
In this case, I will suggest to put blocks in "on Init", then open some trade manually, then run the EA and look what is going on.
-
dear admin
I can not attach the pics.I did all your advise. I think that when I run it for several instrument, the EA can`t work properly.
but when I ran it just for one pair( eurusd) it works perfectly