N:=14;
NOTEXT80:80,DOTLINE,COLORLIMAGENTA;
NOTEXT63:63,DOTLINE,COLORLIGRAY;
NOTEXT50:50,DOTLINE,COLORCYAN;
NOTEXT20:20,DOTLINE,COLORLIBLUE;
X_1:=REF(CLOSE,1);
个股走势:SMA(MAX(CLOSE-X_1,0),N,1)/SMA(Abs(CLOSE-X_1),N,1)*100,COLORRED;
X_2:=REF(HY_INDEXC,1);
行业走势:SMA(MAX(HY_INDEXC-X_2,0),N,1)/SMA(ABS(HY_INDEXC-X_2),N,1)*100,COLORYELLOW;
X_3:=REF(INDEXC,1);
大盘走势:SMA(MAX(INDEXC-X_3,0),N,1)/SMA(ABS(INDEXC-X_3),N,1)*100,COLORBLUE;