VAR1:=(C-LLV(L,22))/(HHV(H,22)-LLV(L,22))*100;
VAR2:=(C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100;
VAR3:=(C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100;
VAR4:=DMA(SMA((VAR1+VAR2+VAR3)/3,2,1),3);
K:SMA(VAR4,3,1),COLORFF00FF,LINETHICK2;
M:SMA(K,2,1),COLORYELLOW;
DRAWICON(crOSS(K,M),K,1);
DRAWICON(CROSS(M,K),M,2);