VAR2:=LLV(LOW,6);
VAR3:=HHV(HIGH,12);
S1:3.5;
S:3.3;
B:0.3;
B2:0.5;
B3:1.3;
G: EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
DRAWTEXT(crOSS(G,S1),3.5,'S100%');
DRAWTEXT(CROSS(G,S),3.3,'S50%'),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(G,B3),1.3,'B30%'),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(G,B2),0.5,'B50%');
DRAWTEXT(CROSS(G,B),0.3,'B20%'),COLORMAGENTA,LINETHICK2;