VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=IF(VAR4<0,10,0);
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,5);
VAR8:=HHV(HIGH,5);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,5);
VAR10:=MA(VAR9,2);
VAR11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
VAR12:=EMA(VAR11,5);
VAR13:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR18:=(MA(3*SMA(VAR13,6,1)-2*SMA(SMA(VAR13,5,1),5,1),2));
VAR19:=CROSS(VAR18,0) AND VAR12<40;
DRAWTEXT_FIX(C>O,0,0.2,0,'股票指标网http://'),COLORMAGENTA;
STICKLINE(VAR9>VAR10,VAR9,VAR10,3,1),COLORRED;
STICKLINE(VAR9>VAR10 AND REF(VAR9,1)<30,VAR9,VAR10,3,1),COLORRED;
STICKLINE(VAR9<=VAR10,VAR9,VAR10,3,1),COLORFFCC66;
STICKLINE(VAR9>VAR10 AND REF(VAR9,1)<30,VAR9+5,VAR10-4,3,1),COLORYELLOW;
DRAWICON((VAR9>VAR10 OR VAR9>VAR10 AND REF(VAR9,1)<30) AND VAR19,VAR9-12,30);