Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please EDIT your post and use the CODE button (Alt-S) when inserting code.
Hover your mouse over your post and select "edit" ...
ticketbuy = OrderTicket();OrderSelect(ticketbuy,SELECT_BY_TICKET, MODE_TRADES);profitbuy = profitbuy+OrderProfit() ; // هذا ايخصYou already selected an order and retrieve the ticket number. Why are you selecting it again?
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
i just want to close all sell and buy orders in the profit target >=10
this codes below close only sell orders or only buy orders if the profit target >=10 ...... i need to close all orders when the all orders be >= 10 in profit target
i changed the magice numbers to same numbers and not working the expert will open only buy or only sell order !!
please help