N:=500;
最牛妖股:=100*CLOSE/INDEXC;
B:=SUM(最牛妖股,N)/N;
HGW1:=最牛妖股/B;
HGW2:HGW1/(SUM(HGW1,60)/60),COLORFF33FF,LINETHICK2;
HGW01:0.9,COLORBLUE;
HGW02:1.0,COLORFFAA00,LINETHICK2;
HGW03:1.12,COLORRED,LINETHICK2;
DRAWICON(CROSS(HGW2,HGW03),HGW03,5);
HGW04:=C>0.97*REF(C,BARSLAST(CROSS(HGW03,HGW2)+1)) AND (LONGCROSS(HGW2,HGW03,30));
STICKLINE(HGW04,HGW01,HGW03,1,0),COLORRED;
STICKLINE(LONGCROSS(HGW03,HGW2,20),HGW01,HGW03,1,0),COLORYELLOW;