i dont have any idea, i try to change all position but still dont work.. could you give me other hint?
Imagine you have 5 closed orders in the history pool, what is the first value of closeT ? then the next, etc. If you can't or won't work this out then you should forget coding.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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.