VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=crOSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)< REF(VAR02,1) AND VAR02< REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
龙头出现:=VAR05 AND COUNT(VAR05,5)=1,COLORLIGREEN,LINETHICK5;
STICKLINE(FILTER(龙头出现>=1,5),0.5,0,2,0),COLORLIGREEN;