VAR1:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=VAR2;
VAR4:=SMA(VAR2,2,1);
J1:3*VAR2-2*VAR4,COLORA67D3D;
VAR5:=MA(J1,3);
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,21);
VAR8:=HHV(HIGH,21);
SK:EMA((VAR6-VAR7)/(VAR8-VAR7)*100,8),COLORWHITE;
SD:EMA(0.667*REF(SK,1)+0.333*SK,1),COLORCYAN;
VAR9:=3*SK-2*SD;
{}
50,POINTDOT,COLORRED;
70,POINTDOT,COLORRED;
90,COLORWHITE;
WWW:VAR9<20,COLORRED;
IF(WWW,0,20),COLORRED;
IF(SD>=REF(SD,1),SD,DRAWNULL),COLORRED;
IF(J1>=REF(J1,1),J1,DRAWNULL),COLORRED;