Can´t Delete PENDING orders by MQL5 bot, neither PYTHON API - page 2

 
Fernando Carreiro #:

I stated no such thing! Your logic is flawed.

Hello Fernando, I didn't inted to offend you, I just misunderstood your meaning.I see that you are an experienced MQL5 coder(better than me I'm sure), and I'd really appreciate if you could check the code I passed you and give me your thoughts, and thanks again for having answer my request.
 
QuantumGlass Systems #:
Hello Fernando, I didn't inted to offend you, I just misunderstood your meaning.I see that you are an experienced MQL5 coder(better than me I'm sure), and I'd really appreciate if you could check the code I passed you and give me your thoughts, and thanks again for having answer my request.


hey there, while I trade I always put two limits but I keep watching them all day long so when one  order is executed I delete the other pending order , so I started to look how to make a code to do that for me , i have no experience in coding MQL5 but here I am , I took you code and it didn't work at the beginning by after tweaking it ,it worked but not on a demo account , you should try it on real account or prop firm account