
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
Please use the SRC button to post code . . . .
It maybe that you are trying to close an order twice . .
You only need one of these . . . and use . . .
that covers OP_SELL and OP_BUY read this: https://docs.mql4.com/constants/trading
I changed the code like this:
Now I need to find out how I let the code count opensell and openbuy to 0 when hitting the StopLoss or TakeProfit
I changed the code like this:
Now I need to find out how I let the code count opensell and openbuy to 0 when hitting the StopLoss or TakeProfit
Select directly on magicnumber and symbol this code will then be written in a better way
If you use it the way you had made it then you will close all open trades longer running then a hour (also not from this one)
Select directly on magicnumber and symbol this code will then be written in a better way
If you use it the way you had made it then you will close all open trades longer running then a hour (also not from this one)
Hi deVries...I've tried it and will check it now with TP and SL...thanks a lot...
Wow now it looks good :) not the performance but the EA with SL and TP