A1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A2: SMA(A1,3,1),POINTDOT,linethick3 , colorred;
A3: SMA(A2,3,1),POINTDOT ,linethick3;
A4:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
A5: IF(CROSS(A2,A3) AND A4<-14 AND A3<16 AND DATE,68,0),, colormagenta;
A6: IF(A3<20 AND CROSS(A2,A3) AND DATE,50,0),linethick2 ,colorgreen;
A7: IF(BARSLAST(A6=50)<=9 AND BARSLAST(A6=50)>4 AND BARSLAST(A5=68)<=9 AND CROSS(A3,A2) AND A2<70,50,5),linethick2 , colorred;
A8: 90,coloryellow ,linethick2 ;