Z1:=STRCAT(DYBLOCK,' ');
Z2:=STRCAT(Z1,HYBLOCK);
Z3:=STRCAT(Z2,' ');
Z4:=STRCAT(Z3,GNBLOCK);
Z5:=STRCAT(Z4,' ');
Z6:=STRCAT(Z5,FGBLOCK);
DRAWTEXT_FIX(1,0.00,0.012,0,' 主题概念:'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.0433,0.012,0,STRCAT(Z6,ZHBLOCK)),COLOR38B0DE;
KK1:=REF(LLV(C,3),1)/REF(LLV(C,6),8);
KK2:=REF(LLV(C,3),1)/REF(LLV(C,6),16);
KK3:=REF(LLV(C,3),1)/REF(LLV(C,15),23);
W13:=IF(KK1>1.05,1,0),KK1,COLORYELLOW,NODRAW;
W21:=IF(KK2>1.05,1,0),KK2,COLORYELLOW,NODRAW;
W55:=IF(KK3>1.05,1,0),KK3,COLORYELLOW,NODRAW;
KK4:=H/REF(LLV(L,3),6);
KK5:=REF(HHV(KK4,64),1);
波段值:=KK4,COLOR6666FF,NODRAW;
主力段位值:=KK5,COLORGREEN,NODRAW;
MA8:=MA(C,8),COLORYELLOW,NODRAW;
MA20:=MA(C,20),COLORMAGENTA,LINETHICK2,NODRAW;
MA120:=MA(C,120),COLORCYAN,LINETHICK2,NODRAW;
MA250:=MA(C,250),COLORGREEN,LINETHICK2,NODRAW;
乖离线:=((C-REF(MA20,1))/20+MA20)*1.20;
TT1:=crOSS(MA20,MA120) AND CROSS(MA20,MA250) AND V>REF(V,1);
TT2:=MA20>REF(MA20,2) AND V>REF(V,1) AND CROSS(C,MA20);
完整版源码请下载.....