Identify a placed trade

 

Hi all,

I want to identify a placed trade if it exists, before making another one. I use following code snippet to trade.

trade.Buy(0.01,NULL,Ask,0,(Ask+100 * _Point),NULL);

can someone advice me please.

Thank you.