Please do a search here on the forum. There has been MANY related threads in the past on this subject. It is no use answering the same questions over and over again when the answers are already available. There are also many examples of order management EA's and Scripts in the CodeBase section.
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
Hey Guys,
I'm searching for a solution, to get all my open trades. I know, there is a method called OrdersTotal(). But how do I use this method and is the method returning the total numbers of open trades, for example 5 or 7 or 6, or is the methode returning the ticket numbers of the open trades?
Once I have the open trades and the ticket numbers I want to modify the s/l and t/p prices. How can I do that? - Should I use the OrderModify() methode for that scheme?
How can I implement these purposes?
Thanks and Greetings!