This code works by executing buy or sell orders after a predetermined series of candlesticks..the problem i have with it is if you input it should sell after a 11111...it will also sell after 111111 and then do so after 11111111 and do so after 11111111 and so on..id like it to do the 11111 and then reset..wait for the next 11111 then execute
Files:
Morse_code.mq5
31 kb
- Help coding delete pending after Buy or Sell Execute
- For those who are not programmers but have ideas for creating EAs, "dedicated to idea traders and programmers"
- Placing Pending Orders
I didn't look at your code (just read the post), but I think you need the pattern 011111 instead of 11111
Your topic has been moved to the section: Expert Advisors and Automated Trading
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
![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