N:=27;N2:=9;N4:=16;VAR1:=IF(DATE>=1030131,1,1);VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;VAR3:=(VAR2,3,1)*VAR1;VAR4:=SMA(VAR3,N2,1)*VAR1;VAR5:=3*VAR3-2*VAR4*VAR1;STICKLINE( AND VAR5>VAR4,0,,2,1),COLORRED;STICKLINE(VOL AND VAR5
=0,VARN2,0);VARN4:=REF(CLOSE,1)-CLOSE;VARN5:=IF(CLOSE-REF(CLOSE,1)<=0,VARN4,0);VARN6:=SUM(VARN3,16)/SUM(VARN5,16);VARN7:=100-100/(1+VARN6);VARN8:=EMA(VARN7,16);V