金大哥好
昨天谢谢帮忙
我在后台的代码加了这样的止损语句,为啥超过不能止损呢?
if TISREMAINEX(4,AC,PZ)>0 and dynainfo2(7,PZ)-TAVGENTERPRICEEX2(AC,PZ,1)>60 and TSELLHOLDINGEX(AC,PZ,1)>0 then tsellshort(1,0,mkt,0,0,AC,PZ);
if TISREMAINEX(2,AC,PZ)>0 and TAVGENTERPRICEEX2(AC,PZ,0)-dynainfo2(7,PZ)>60 and TBUYHOLDINGEX(AC,PZ,1)>0 then tsell(1,0,mkt,0,0,AC,PZ);
谢谢指点
一共3个条件,你输出一下各个条件,看看是哪个条件不满足