Please help, how to write the code for judging whether the order has reach takeprofit or not with If Statement (如何用if语句来写判断定单打止盈的语句?)

[删除]  
Please help, how to write the code for judging whether the order has reach takeprofit or not with If Statement (如何用if语句来写判断定单打止盈的语句?)
 

if (OrderSelect(...))

{

if (OrderClosePrice()==OrderTakeProfit())

{

// code

}

}