大盘K线附图指标,用于个股与大盘同屏对比,主力意图跃然纸上!
指标源码如下:
IF(INDEXC>REF(INDEXC,1),INDEXC,0),NODRAW,COLORRED;
IF(INDEXC<REF(INDEXC,1),INDEXC,0),NODRAW,COLORGREEN;
X:=INDEXC;Y:=INDEXO;Z:=INDEXL;I:=INDEXH;{大盘K线--由“零秒出手”编制}
STICKLINE(Y<X,X,I,0.000001,0),COLORRED;
STICKLINE(Y<X,Y,Z,0.000001,0),COLORRED;
STICKLINE(Y<X,X,Y,2.5,1),COLORRED;
STICKLINE(Y>X,Y,I,0.000001,0),COLORCYAN;
STICKLINE(Y>X,X,Z,0.000001,0),COLORCYAN;
STICKLINE(Y>X,Y,X,2.5,0),COLORCYAN;
M13:MA(INDEXC,13),LINETHICK1,COLORWHITE ;
M34:MA(INDEXC,34)LINETHICK1,COLORYELLOW;
M55:MA(INDEXC,55)LINETHICK1,COLORRED; |