Download MetaTrader 5
To add comments, please log in or register
You sell neither signals nor apps? No problem, everyone can make profit!
Paul
529
Paul 2014.09.16 12:26 

Can someone point me in the direction where I find information on how to modify multiple orders, where the TP of all open orders will be modified to the TP of the first order opened?


Thanks!

valgoih
26
valgoih 2014.09.20 00:36  
loop through open orders,find order with least order open time,set its tp to SOME price value,loop through all remaining open orders using ordermodify() to modify the tp.if you are looking for mql4 code,google it.
/
To add comments, please log in or register