涨停:=INTPART((C/REF(C,1)*100-100)*100+0.5)/100;
B1:=IF(涨停>=4 AND 涨停<6,1,0);
B2:=IF(涨停>=6 AND 涨停<8,2,0);
B3:=IF(涨停>=8 AND 涨停<9.5,3,0);
B4:=IF(涨停>=9.5,4,0);
STICKLINE(B4>0,ABS(C-O)/4+MIN(C,O),MIN(C,O),2,0),COLORLIRED;
STICKLINE(B4>0,ABS(C-O)/4+MIN(C,O),ABS(C-O)/4*2+MIN(C,O),2,0),COLORLIMAGENTA;
STICKLINE(B4>0,ABS(C-O)/4*2+MIN(C,O),ABS(C-O)/4*3+MIN(C,O),2,0),COLORYELLOW;
STICKLINE(B4>0,ABS(C-O)/4*3+MIN(C,O),MAX(C,O),2,0),COLORMAGENTA;