Virtual stops disappear ??
-
i Have 2 orders created (Buy& Sell) with virtual SL/TP created too. After one order gets activated, it eventually hits a stop and closes the trade which is fine. but the problem is that it removes the virtual SL/TP of the other order when the first trade closes ???
of course if the second order activates, it will have NO SL/TP
-
this one is working ...
https://fxdreema.com/shared/TnIm2kA3d -
Are you showing me that virtual stops work !?, I know they work.
the problem is , i have 2 PENDING orders with Virtual SL/TP created with EA. when one of the orders gets activated then closed, the Virtual stops of the other pending order gets deleted ?.
Actually, Even if you manually delete the order before any activation, it will still delete the stops of the other order ?????
-
I dont know, tried both, limits and stops orders and for me it worked ... maybe if you provide more detailed example with example EA where it is not working, admin can check it ..
-
its realy driving me crazy, LOL
he is the name of my EA "Sherin TEST-Pending-News Auto"
i don't know wheat is the problem. if you run it and put time as HH:MM just 1 or 2 mins from the time you run it. It will create 2 pending orders buy & sell.
Manualy delete 1 order, you will see the SL/TP of both orders deleted while the other order still ok .What should happen is that the stops of each order is independent of the other.
-
just look at ON Timer. rest of events are not really doing anything for this EA
-
@sherinhamad said in Virtual stops disappear ??:
t know wheat is the problem. if y
I have not access to your EA
.... you can send me shared link .. -
-
perfect, thanks ... now I can see it ... it is for 100% bug, admin must repair it

-
ok great, but can you tell me on when to expect repair.
Do you have an alternate way to do it for now ? and please let me know when is repaired
the main point is i want to do an order few seconds before a certain time hh:mm
-
it all depends on admin, not on me, I am not admin

-
Sure I understand. But will you find out so you can tell me please
-
When I create 2 pending orders and I manually delete 1 of them, everything is fine. When I delete the other one, its lines remain. I see the opposite problem :))
-
I decided to rewrite the function that creates and removes the virtual stops. I tried few variants and I can't decide which is the best one. The one that is the best logically and allows for less possible problems is unfortunately very slow when backtesting. So I think I will use this variant, but when testing the EA will turn off Virtual Stops and will work with normal stops instead. This is actually the case now when optimizing, because the Tester doesn't work with objects (horizontal lines...) when optimizing.