VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=SMA(VAR1,2,1);
VAR3:=SMA(VAR2,2,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR6:=EMA(VAR5,9);
{}
VAR7:=2*(VAR5-VAR6);
VAR8:=REF(VOL,1)<MA(VOL,5) AND REF(VOL,1)<REF(VOL,2) AND VOL>1.2*REF(VOL,1);
VAR9:=CLOSE/REF(CLOSE,1)>1.03;
VAR10:=(LLV(LOW,10)-HHV(HIGH,10))/HHV(HIGH,10)*100<15;
VAR11:=CROSS(VAR2,VAR3) AND VAR8 AND VAR10 AND VAR9 AND CAPITAL<10000000 AND VAR2>20 AND VAR2<50 AND VAR7>0;
STICKLINE(VAR11,0,0.5,3,0),COLORLIMAGENTA;
STICKLINE(VAR11,0,0.8,2,0),COLORRED;
STICKLINE(VAR11,0,1,1,0),COLORRED;
DRAWICON(VAR11,1.198,1);