![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
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.