[PEL]  复制代码 { ----------------------------------以下为强制清仓模块-------------------------------- } 
abb:=timetot0(CLOSETIME(0))-timetot0(dynainfo(207)),NODRAW;
 
if abb<=120 and TGLOBALSUBMITEX(2,'',STKLABEL,0)+TGLOBALSUBMITEX(4,'',STKLABEL,0)>0 then
begin
	
//tcancelex(1,2,'',stklabel);
//tcancelex(1,4,'',stklabel);
end
if abb<=120  and TGLOBALSUBMITEX(2,'',STKLABEL,0)+TGLOBALSUBMITEX(4,'',STKLABEL,0)=0  then
begin
	
//tsell(tbuyholdingex('','',1)>0 ,0,mkt);
//tsellshort(tsellholdingex('','',1)>0,0,mkt);
end 
 
请问老师,这个收盘前平仓代码是否存在问题,白盘运行正常,夜盘开仓后就立即平仓。 
 |