if(data[0].kdj_cantrade_sellshort and serMyLongPos[1] ==0 )
{
bool ret=A_SendOrderEx(RelativeSymbol, Enum_sell, Enum_Entry, lotcoe1 * lots, data1_sellshortprice + diffcoe1 *MinMove * PriceScale, sellshort_orderids);
data1_sellshortprice_real=data1_sellshortprice + diffcoe1 *MinMove * PriceScale;
}
如上,卖出平仓A_SendOrderEx成功执行,但是 data1_sellshortprice_real=data1_sellshortprice + diffcoe1 *MinMove * PriceScale;这一句赋值不成功,已打印确认data1_sellshortprice不为0,但是 data1_sellshortprice_real仍然为0,即赋值不成功。可能什么原因?谢谢