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);
STICKLINE(TT1,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(TT1,L-0.13,'金叉'),COLORYELLOW;
STICKLINE(CROSS(C,MA120) AND CROSS(C,MA250) AND CROSS(C,MA20),L,L-0.09,4,0),COLORYELLOW;
STICKLINE(TT2,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(TT2,L-0.13,'B1'),COLORYELLOW;
STICKLINE(CROSS(C,乖离线),H,H+0.09,4,0),COLOR00FF00;
DRAWTEXT(CROSS(C,乖离线) ,H+0.13,'S'),COLOR00FF00;
STICKLINE(MA250>=REF(MA250,1) AND MA20>=REF(MA20,1) AND CROSS(C,MA250),L,L-0.09,4,0),COLORFFCC66;
STICKLINE(MA120>=REF(MA120,1) AND CROSS(C,MA20) AND CROSS(C,MA120) AND V>REF(V,1),L,L-0.09,4,0),COLORFF00FF;
DRAWTEXT(MA120>=REF(MA120,1) AND CROSS(C,MA20) AND CROSS(C,MA120) AND V>REF(V,1),L-0.13,'B2'),COLORFF00FF;
HS:=100*vol/(FINANCE(7)/100) NODRAW;
MHS:=REF(HHV(HS,52),3),COLORWHITE,NODRAW;
N:=3;
源码未复制完......请下载附件完整源码