How to get the latest OrderOpenPrice() of certain magic number that is currently open? New comment petchpanu 2019.01.10 15:45 For example, I have 3 open orders with magic number 1111, but I want to select the order that is the latest. I know that i can select the latest order, but I have other strategies that marked with other magic number. Thank you in advance. Experts: Trailing Stop that can do everything OrderOpenPrice How to code? Marco vd Heijden 2019.01.10 15:59 #1 So you also select the youngest order by filtering order open time. petchpanu 2019.01.10 16:10 #2 Marco vd Heijden: So you also select the youngest order by filtering order open time.is it possible to filter order open time and magic number? Marco vd Heijden 2019.01.10 16:16 #3 Of course. petchpanu 2019.01.10 18:50 #4 Marco vd Heijden: Of course.could you give a example of code? I tried to find it but it doesn't work. Marco vd Heijden 2019.01.10 20:03 #5 You didn't specify any language. petchpanu 2019.01.11 03:12 #6 petchpanu: could you give a example of code? I tried to find it but it doesn't work.Sorry, its metatrader 4 New comment
For example,
I have 3 open orders with magic number 1111, but I want to select the order that is the latest. I know that i can select the latest order, but I have other strategies that marked with other magic number.
Thank you in advance.