A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,8,1)-2*SMA
((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,9,1),coloryellow;
A2:EMA(A1,3),colorcyan;
A3:EMA(A2,9),colorred;
STICKLINE(A2>A3,A2,A3,3,0),colorred;
STICKLINE(A2<=A3,A2,A3,3,0),colorgreen;
DRAWTEXT(CROSS(A1,A2)AND A2 DRAWTEXT(CROSS(A2,A1)AND A1