Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I have moved your topic to the MQL4 and Metatrader 4 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
Hello, I have been trying to optimise my code so that if 2/3 orders were closed at a loss, then reverse direction of the order. I got this code from another thread and I do not understand it fully, what does the count++ function do and how does adding count == 3 mean that it counts for the last 3 orders? It does not seem to be working and it does not give any errors either. Any help would be greatly appreciated.