请老师编写一个 内面内能看见个股出现过几次涨停的指标
爱约股解答:
tj1:=SYSPARAM(3)-SYSPARAM(2);
涨停:=c/ref(c,1)>1.097;
涨停数:=COUNT(涨停,tj1);{页面所见涨停天数}
DRAWTEXTEX(C,1,820,157,'页面涨停总天数:'),COLORRED;
DRAWTEXTEX(C,1,940,157,NUMTOSTR(涨停数,2)+'天'),COLORGREEN;
KLINE(O,H,L,C,0);
DRAWICON(涨停,L*0.98,1);