Robin Brimalm: My question is simple. I need help coding a script
That isn't a question. Help you with what?
You haven't stated a problem, you stated a want.
You have only four choices:
- Search for it,
- Beg at Will code your trading systems for free - Free Expert Advisors - Trading Systems - MQL5 programming forum, or Coding help - MQL4 and MetaTrader 4 - MQL4 programming forum, or Need help with coding - General - MQL5 programming forum, or Free MQL4 To MQL5 Converter - General - MQL5 programming forum, or Requests & Ideas (MQL5 only!).
- learn to code it. If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.
- or pay (Freelance) someone to code it.
No free help
urgent help.
![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
Hello!
My question is simple. I need help coding a script that places a pending prder that is exactly the same as the last order closed by SL or TP.
It should be placed at the same place with the same SL and TP as the last order and right after the last order is closed.
Example:
I place a buy order at 1.19400 with SL 1.19200 and TP 1.19600.
Market goes from 1.19400 to 1.19600 and that order is closed by TP.
Right after that order is closed i want a new pending buy-limit order to be created exactly like the one that was just closed: buy at 1.19400 with SL 1.19200 and TP 1.19600.
I also want this to work with multiple orders open at the same time.
Thanks in advance!! <3