what i need is to give all sell orders a take profit target except the highest one, highest in position, the open price of it is highest then the others.
this code give a take profit target for the new order opened if its not highest one , but if a new highest sell opened it wont modify the previous high, im getting OrderModify error 1. i guess its not updating the new highest sell order ... so far
what i need is to give all sell orders a take profit target except the highest one, highest in position, the open price of it is highest then the others.
this code give a take profit target for the new order opened if its not highest one , but if a new highest sell opened it wont modify the previous high, im getting OrderModify error 1. i guess its not updating the new highest sell order ... so far
I just ran your code through an auto-formatter. Tell me if this makes sense.
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's working fine finding the highest order open price over here.
your part is working buddy but the OrderModify is the one not working , you got what i mean?
What means Highest for you? Highest profit, highest entry, highest order ticket?
You said the OrderModify is not working. What is not working, describe what you experience, take screenshots, post logs.
What means Highest for you? Highest profit, highest entry, highest order ticket?
You said the OrderModify is not working. What is not working, describe what you experience, take screenshots, post logs.
ok buddy im using this code now ,
what i need is to give all sell orders a take profit target except the highest one, highest in position, the open price of it is highest then the others.
this code give a take profit target for the new order opened if its not highest one , but if a new highest sell opened it wont modify the previous high, im getting OrderModify error 1. i guess its not updating the new highest sell order ... so far
ok buddy im using this code now ,
what i need is to give all sell orders a take profit target except the highest one, highest in position, the open price of it is highest then the others.
this code give a take profit target for the new order opened if its not highest one , but if a new highest sell opened it wont modify the previous high, im getting OrderModify error 1. i guess its not updating the new highest sell order ... so far
I just ran your code through an auto-formatter. Tell me if this makes sense.
I just ran your code through an auto-formatter. Tell me if this makes sense.