![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
it will continue to next process.
i try other code.. https://www.mql5.com/en/forum/138894
still not working.
Work through this code line by line, loop cycle by cycle . . . what is the value of closeT ?
i dont have any idea, i try to change all position but still dont work.. could you give me other hint?
i dont have any idea, i try to change all position but still dont work.. could you give me other hint?
Magic number as an int. It makes no sense to negate it. How do you convert a number like 1234567 in to true or false?
Then tell me what
meansthanks guys i found it, but could you check what i done..
i put this code first..
and then i need to put this code before ordersend..
but its working, after takeprofit was hit ea opening order on next bar..
but the problem now is when i put MaxOrder to morethan 10 trades its starting again opening order.