OrderModify

 
I have noticed when I execute an EA , that OrderModify is not executed when there is a new order (Buy or Sell ) to be opened in the same bar.
What can I do for it?
Thanks for your help.