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
Is it correct? It will close only the orders of the last 100minutes
Almost, TimeCurrent() gives a datetime representing the server time of the last tick . . .
Note: datetime type (integer representing the amount of seconds elapsed from midnight, 1 January, 1970).
So you need to check that . . .
100 minutes . . . . or (100 * 60) seconds
Thank you very very much for your help!
Happy trading!
Hello!
I tried to modify the EA but it doesn´t work properly. Do you have any idea where is the mistake?
Thank you
Try to change to this and see if this "works properly" ...
That is correct! The EA closes only orders that are not older than 2 hours! The problem is that it doesn´t close correctly all the orders after 1 pip! But I don´t know where is the mistake!
Thank you
That is correct! The EA closes only orders that are not older than 2 hours! The problem is that it doesn´t close correctly all the orders after 1 pip! But I don´t know where is the mistake!
Thank you
So it's working as you want it, am I correct ?. Coz I have no idea what you mean by "work properly" and I'm lazy enough and so not reading 4 pages of replies and codes.
So actually, I don't know exactly why I gave you that answer :)
So actually, I don't know exactly why I gave you that answer :)
So it's working as you want it, am I correct ?. Coz I have no idea what you mean by "work properly" and I'm lazy enough and so not reading 4 pages of replies and codes.
So actually, I don't know exactly why I gave you that answer :)
When you do this . . . .
. . . which Order are you using the Open Price of ?? OrderOpenPrice() Note: "Order must be first selected by the OrderSelect() function."