help me :(
for example these r my ea's orders.
1 order is long at 1.30000
2. order is long at 1.29700
3. order is short at 1. 2960.
4. order is short at 1.2940
5. order is long at 1.2920
now all five order not close yet. i want write a code that ;
when 6. order will open, ea will check 5. orders open price,
when 7. order will open, ea will check 3. orders open price,
how can i do that ? i can't use OrderOpenPrice () ; because it will be the last price.
i try this :
<CODE DELETED>
Please edit your post . . . or have it removed ! ! ! please use the SRC button to post code: How to use the SRC button.
for example these r my ea's orders.
1 order is long at 1.30000
2. order is long at 1.29700
3. order is short at 1. 2960.
4. order is short at 1.2940
5. order is long at 1.2920
now all five order not close yet. i want write a code that ;
when 6. order will open, ea will check 5. orders open price,
when 7. order will open, ea will check 3. orders open price,
how can i do that ? i can't use OrderOpenPrice () ; because it will be the last price.
i try this :