N1:=0;
N2:=5;
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)
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(Abs(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
长期线:VAR02,COLORGREEN;
抄底线:VAR01,COLORCYAN;
NN1:=HHV(抄底线,30);
SG: 抄底线>=0 AND 抄底线<=4 AND C>REF(C,1) AND V> REF(V,1);
STICKLINE(SG,0,NN1,1,0),COLORRED;
DRAWICON(SG,NN1,20);