N:=9;
M1:=3;
M2:=3;
M5:=IF(SUM(1,0)>5,MA(C,5),0);
M15:=IF(SUM(1,0)>15,MA(C,15),0);
M30:=IF(SUM(1,0)>30,MA(C,30),0);
M60:=IF(SUM(1,0)>60,MA(C,60),0);
A:=IF(M5>=M15,1,0)+IF(M5>=M30,1,0)+IF(M5>=M60,1,0)+IF(M15>=M30,1,0)+IF(M15>=M60,1,0)+IF(M30>=M60,1,0)+IF(M60>=REF(M60,1),1,0);
区域:A*12.5,LINETHICK2;
DRAWTEXT(A=0,130,'0'),COLORWHITE,LINETHICK2;{3好图标}
DRAWTEXT(A=1,130,'1'),COLORC0C0C0,LINETHICK2;
DRAWTEXT(A=2,130,'2'),COLOR00FFFF,LINETHICK2;
DRAWTEXT(A=3,130,'3'),COLOR00FF00,LINETHICK2;
DRAWTEXT(A=4,130,'4'),COLOR0066FF,LINETHICK2;
DRAWTEXT(A=5,130,'5'),COLORCYAN,LINETHICK2;
DRAWTEXT(A=6,130,'6'),COLORFF00FF,LINETHICK2;
DRAWTEXT(A=7,130,'7'),COLORRED,LINETHICK2;
RSV5:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K5:SMA(RSV5,M1,1),COLORYELLOW;
D5:SMA(K5,M2,1),COLOR33FF33;
J5:3*K5-2*D5,COLOR0000FF;
RSV15:=(CLOSE-LLV(LOW,N*3))/(HHV(HIGH,N*3)-LLV(LOW,N*3))*100;
K15:=SMA(RSV15,M1*3,1),COLORFFFFCC;
D15:=SMA(K15,M2*3,1),COLOR33FF33;
J15:=3*K15-2*D15,COLORFF00FF;
RSV30:=(CLOSE-LLV(LOW,N*6))/(HHV(HIGH,N*6)-LLV(LOW,N*6))*100;
K30:=SMA(RSV30,M1*6,1);
D30:=SMA(K30,M2,1);
J30:=3*K30-2*D30,COLOR00FFFF;
底部区域:0 , COLOR00FFFF,POINTDOT,LINETHICK3;