Testing for Pending Order

 

Hi,

I am having difficulty resolving this one. I have placed a pending order using the SendOrder() function but I cannot find how to test

whether it is a filled order or still pending, so that I can either Close the trade or delete the pending order? Would appreciate assistance with this.

Regards,

KeithN/

 

when you have the ticket OrderSelect()'d look at OrderType()

IF type is

OP_BUY||OP_SELL

THEN

has become market order

 
fbj wrote >>

when you have the ticket OrderSelect()'d look at OrderType()

IF type is

OP_BUY||OP_SELL

THEN

has become market order

Thank you fbj

KeithN

Reason: