I just back test it. But it did not close any order?
Look in the Journal, find out what the values Printed are. Can you copy & paste them here too please . . . . the whole point of adding the Print statement was for debugging reasons . . . you need to look at that data and work out what is wrong.
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.
Why are you printing the value of DIPlus1 eight times ?
Use this line . . once.
You need to make your indenting clearer so that it is easy for you and others to follow . . .
Thank Raptor. I hope my EA work.
My new code:
Close immediately! :(
// <------ why this extra OrderClose ????? do you have an answer ?
i fixed it !
Please preview my new code. Thank!
i fixed it !
Please preview my new code. Thank!
Your code is still wrong . . . you need to go back and read the Book again.
I gave you the code to use . . . . all you need to do is copy and paste it.
Your code is still wrong . . . you need to go back and read the Book again.
Yeah! i will read book more. Can you preview this code for me?
why it does not close the order?
Yeah! i will read book more. Can you preview this code for me?
why it does not close the order?
Can you copy and pates the information printed to the log for the variables in the Print statement.
I just back test it. But it did not close any order?
I just back test it. But it did not close any order?