M:=36;
N:=89;
CC: 3*SMA((CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100,5,1),3,1), colorblue;
EE: 3*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3,1), colorwhite;
DB: IF(CC<=6.7,20,0), , colorgreen;
B1: IF(CROSS(CC,6.7),50,0), , coloryellow;
B2: IF(CROSS(EE,6.7),50,0), , colorred;
6.7, colorred;
90, colorgreen;
100, colorred;