C3:=REF(C,1); 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0); 涨停板:STICKLINE(涨停,O,C,2,0),COLORCC00FF; STICKLINE(涨停,O,C,2,0),COLORCC11FF; STICKLINE(涨停,O,C,1,0),COLORCC22FF; STICKLINE(涨停,O,C,0.5,0),COLORCC33FF; STICKLINE(涨停,H,L,0,0),COLORCC44FF; 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN; STICKLINE(C,(REF(H,BARSLAST(C/REF(C,1)>1.097))),(REF(H,BARSLAST(C/REF(C,1)>1.097))),7,0),COLORYELLOW; ZT:=(C/REF(C,1)-1)*100>9.5; ZT1:=BARSLAST((C/REF(C,1)-1)*100>9.5); 最后涨停距今数:ZT1,NODRAW,COLORWHITE; ZT2:=BARSLAST(ZT); ZT3:=REF(H,ZT2)-REF(L,ZT2); STICKLINE(C,(REF(L,ZT2)+ZT3*0.5),(REF(L,ZT2)+ZT3*0.5),7,0),COLORMAGENTA; STICKLINE(C,REF(L,ZT2),REF(L,ZT2),2,0),COLORBLUE; 像图这样涨停板的价格的低点和高点随直线一起移动 |
联系客服