Sorry ! My EA run on MT4.
cachoupi: when it comes back to the same place, it opens the same orders...
Can someone tell me what to change so as not to open the same orders each time ?
-
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
Always post all relevant code (using Code button) or attach the source file.
How To Ask Questions The Smart Way. (2004)
Be precise and informative about your problem -
Doubles are rarely equal. Understand the links in:
The == operand. - MQL4 programming forum #2 (2013)
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 all :)
Sorry for my bad english, I'm a little French !
I have an EA that was coded by a programmer for me, it is perfect but there have a little problem.
It's a hedging EA, it opens ASK and BUY at the same time every X pips, and sometimes, when it comes back to the same place, it opens the same orders...
Can someone tell me what to change so as not to open the same orders each time ?
Picture of the orders problem.
What code i've got to add on my EA to check if an order is already in place at the same place?
Thank you in advance for your help.