01.涨率:=IF(NAMELIKE('S')OR NAMELIKE('*S'),5,10);
02.RC1:=REF(C,1);
03.YS:=MOD((10000+100*涨率)*RC1,100);
04.TDOWN:=((10000+涨率*100)*RC1-YS)/10000;
05.TUP:=TDOWN+0.01;
06.TING:IF(YS>=50,TUP,TDOWN),NODRAW;
07.JD:=IF(C>5,0.03,0.01);
08.涨停:=ABS(C-TING)<JD AND H=C;
09.DRAWICON(涨停,1.01*H,1);
10.STICKLINE(涨停,O,C,-1,1);
|