Test if OrderSend is pending or execute ?

 

hi


if i wont check if my order is running OR pending

ex : ticket=OrderSend(Symbol(),OP_BUYLIMIT,Lots,moyenne_basse,20,(moyenne_basse-stop),moyenne_haute,"Mon achat",16384,0,Green);


cann you help me ?


en francais :

comment savoir si un ordre est passé ou s'il est en cours, s'il est passé par OrderSend ?

merci

 

The OrderType() will return OP_BUY or OP_SELL after the pending order is executed.

Reason: