通达信捕捉涨停专用副图指标 源码 贴图 涨停: C=ZTPRICE(REF(C,1),BK) AND H=C,NODRAW,COLORFFFFFF; 前一涨停:BARSLAST(REF(涨停,1))+1,NODRAW,COLORFFFFFF; 整理幅度:(HHV(C,4)-LLV(C,4))/LLV(C,4)*100,NODRAW,COLORFFFFFF; 目标:C>=O AND VOLREF(O,4)AND SUM(涨停,4)=0,NODRAW,COLORFFFFFF; 涨幅:=(C-REF(C,1))/REF(C,1)*100,NODRAW,COLORFFFFFF; 选股:REF(目标,1) AND VOL>REF(VOL,1) AND 涨幅>2 ,COLORMAGENTA; 前一选股:BARSLAST(REF(选股,1))+1,NODRAW,COLORFFFFFF; DRAWICON(选股,0.5,1);;
|