瓒呭簳:20,COLORLIGREEN,DOTLINE;
搴曠嚎:40,COLORLICYAN,DOTLINE;
寮哄急鍒嗙晫绾?80,COLORBLUE,DOTLINE;
椤剁嚎:120,COLORLIRED,DOTLINE;
瓒呴《:140,COLORLIMAGENTA,DOTLINE;
DRAWTEXT(ISLASTBAR,瓒呭簳,'瓒呭簳'),COLORLIGREEN;
DRAWTEXT(ISLASTBAR,搴曠嚎,'搴曠嚎'),COLORLICYAN;
DRAWTEXT(ISLASTBAR,寮哄急鍒嗙晫绾?'寮哄急'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,椤剁嚎,'椤剁嚎'),COLORLIRED;
DRAWTEXT(ISLASTBAR,瓒呴《,'瓒呴《'),COLORLIMAGENTA;
VAR1:=(H+L+O+C*2)/5;
VAR2:=EMA(VAR1,21);
VAR3:=STD(VAR1,23);
VAR4:=EMA(VAR1,2);
VARA:=(VAR1-VAR2)*100/VAR3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:EXPMA(EXPMA(EXPMA(RSV,2),3),3),COLORCYAN;
D:SMA(K,2,1),COLORWHITE;
J:3.5*K-2*D,COLORYELLOW,LINETHICK2;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
IF(J<REF(J,1),J,DRAWNULL)COLORGREEN,LINETHICK2;
DRAWICON(FILTER(J>REF(J,1)AND J<REF(J,3) AND J<K AND VAR4>REF(VAR4,1) AND K>=REF(K,1)AND J<40 OR CROSS(J,K)AND CROSS(J,D) AND J<40 OR J>REF(J,1)AND J<40,7), J*0.8,1);
DRAWICON(FILTER(J<=REF(J,1) AND J>80,8), J*1.2,2);