if holding>0 and longcc<=0 then sell(1,defaultShou,limitr,o);
if holding<0 and shortcc>=0 then sellshort(1,defaultShou,limitr,o); //平空
if holding=0 and longcc>0 then buy(1,defaultShou,limitr,o);
if holding=0 and shortcc<0 then buyshort(1,defaultShou,limitr,o);
if longcc>0 and 1<zs then begin
sell(0,defaultShou,limitr,min(0,zs-0.6));
longcc:=0;
end
if shortcc<0 and 1>zs then begin
sellshort(0,defaultShou,limitr,MAX(o,zs+0.6));
drawtext(1, low-5, '空\n头\n止\n损');
shortcc:=0;
空头止损信号不出 什么原因?