HGW1:=IF(CLOSE>REF(CLOSE,1),88,0);
HGW2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE< 1.01 AND HGW1>0,91,0);
龙头: FILTER(HGW2>90,45)=1,COLORRED;
STICKLINE(龙头,0,9,3,0),COLORRED;
HGW3:=CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
HGW4:=MA(CLOSE,20);
HGW5:=CLOSE>HGW4;
HGW6:=SMA(HIGH,21,2)*1.05;
HGW7:=SMA(LOW,21,2)*0.95;
HGW8:=SMA(LOW,5,1);
HGW9:=(HIGH-CLOSE)/CLOSE*100< 1;
HGW10:=CLOSE/REF(CLOSE,1)>1.03;
HGW11:=SMA(CLOSE,2,1);
HGW12:=IF(CROSS(HGW11,HGW8),HGW6*1.05,HGW8);
HGW13:=IF(CROSS(HGW11,HGW6),HGW6*1.1,HGW7);
HGW14:=HGW4+2*STD(CLOSE,20);
HGW15:=ATAN(100*(HGW14/REF(HGW14,1)-1))*180/3.1416>75;
龙抬头:HGW13>HGW7 OR HGW12>HGW8 AND HGW9 AND HGW10 AND HGW3 AND HGW5 AND HGW15;
STICKLINE(龙抬头,0,10,3.5,0),COLORMAGENTA;
DRAWTEXT(龙抬头,7, ' ★龙抬头★'),COLORMAGENTA;
DRAWICON(龙抬头>0,11,9);