EnigmaTrader:
You haven't checked if the order was closed or not . . . all you have done is selected an order using it's ticket number. Don't assume, read the documentation . . . OrderSelect() "The pool parameter is ignored if the order is selected by the ticket number."
Alright does not make sense.
The following code triggers as if the order was closed and it is not, still a buy:
Statement same as I have always used, except for variable name. Went back and looked at some old programs that used it.
![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
Alright does not make sense.
The following code triggers as if the order was closed and it is not, still a buy:
Statement same as I have always used, except for variable name. Went back and looked at some old programs that used it.