dfe864645: It should apply Stop Loss and Take Profit to all Orders except of Two latest orders opened.
-
Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
No free help (2017)Or pay someone. Top of every page is the link Freelance.
Hiring to write script - General - MQL5 programming forum (2018)We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
No free help (2017) -
So add a counter. Increment when you find a valid order. Continue when below three. What's the problem?

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
Hi,
I have a script in which i want to make a change. This script apply Stop Loss and Take Profit to all of the Orders.
I want a change in it. It should apply Stop Loss and Take Profit to all Orders except of Two latest orders opened.