How do I make limit orders cancel stop orders once filled, and vice versa?
-
Hello, it's letting me place the orders now, but they all randomly close without a trace on the history tab on mt5. Is there something wrong with the code?
-
@Hits No trade is visible on the history tab? Never heard of that before. That shouldn't happen. Did you contact the broker to let them know?
-
Hello I was able to fix it, yeah I contacted them and they said to ask you guys about it since it’s an EA I created.
-
That's weird. Can you please share the link to the last version of the bot?
-
@l-andorrà https://fxdreema.com/shared/JTFZFRT4b
I think this is it -
@Hits The logic is correct. There is no problem from fxDreema's point of view. Can you please confirm all pending orders are correctly programmed at the right price level?
-
Yes they were, the orders even popped up on the trade tab as buy and sell pending orders but when they weren’t executed, they didn’t pop up in the history tab.
-
@l-andorrà I know now it’ was just a problem with the stoploss because when I changed it the orders popped up in the history tab.
-
Interesting. I guess you selected a SL too close to the open price, right?