How to close two orders of different pairs with the same magic number at a certain profit without touching the other orders? - page 2
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thank you "Mr nicholi shen" to you all too wonderful, I adapted the code that you posted and apparently it works well because it closed on a first win with two pairs, it's true that this a good idea of simplify the code, but the work that you sent us frankly I could never do it, because I am new in the programming mq4.
I have a second small service to ask you if possible, I want orders that close and reopen just after closing.
In the meantime I check again and again if your code works well and I'll tell you tomorrow.
thank you so much!!
No... you don't want to do that. Brokers would love that strategy because you would just be giving them all your profits.
You mean it's not worth working with this EA, the brocker will be badly honest and will lose my money?
So you should increase the "ProfitPercent",0.001 is very low on your low amount balance,
I my side it's working well,Not always not despite the increase in the profitpercent, moreover if I increase it will take longer to arrive at the desired earnings