COUNTSIG
请问这个函数是什么意思?
http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=31614&page=3
没有显示用户的图片,用户发图的方式不正确,请按照上面链接进行发图
variable:kd=0,kk=0;
N:=BARSLAST(DATE<>REF(DATE,1))+1;
MA55:MA(C,37);
if TIME>=090000 and TIME<140000 and (kd+kk)<4 and CROSS(C,MA55) and holding=0 then buyshort(1,1,market);
if TIME>=090000 and TIME<140000 and (kd+kk)<4 and CROSS(MA55,c) and holding=0 then buy(1,1,market);
if C<enterprice-100 and holding>0 then sell(1,0,market);//止损100
if C>enterprice+100 and holding>0 then sellshort(1,0,market);
if C<MA55 and C>enterprice+80 and holding>0 then sell(1,0,market);
if C>MA55 and C<enterprice-80 and holding<0 then sellshort(1,0,market);
if TIME>=145000 then begin
sell(1,0,market);
sellshort(1,0,market);
end
if time=closetime(0) then begin
kd:=0;
kk:=0;
end
如果还没有信号,请说明是不是使用了夜盘品种