When I use the OrderSelect() ,it always returns false. why??? - page 2

 
fireflies:

It's executed, the order became a deal. If you look at the picture, it has become an open position.

Your code (m_request.action =TRADE_ACTION_DEAL) confirms that.

O ~~my god~~~~~~~My English is toooooooo bad!!   I  confuse orders of a trading history with current pending orders .  I should have to learn English rather than programming. It cost lot of time!

I was too embarrassed about it !

Thank you very very very much !!!!!!!!  

Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Order Properties - Documentation on MQL5
 
qiao_feng:

O ~~my god~~~~~~~My English is toooooooo bad!!   I  confuse orders of a trading history with current pending orders .  I should have to learn English rather than programming. It cost lot of time!

I was too embarrassed about it !

Thank you very very very much !!!!!!!!  

No problem. and don't be embarrassed. It's better to ask than keep the confusion to your self.

Good luck.

Reason: