VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW)/4);
20,POINTDOT;
90,COLORFFFF00,POINTDOT;
VAR4:=LLV(LOW,3);
VAR5:=HHV(HIGH,3);
C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),3)*VAR1),COLORFF00FF;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF;
DRAWBAND(C1,RGB(250,10,10),C2,RGB(10,250,10));
条件:=CROSS(C1,C2) AND C140;
条件0:=CROSS(C2,C1) AND C190;
DRAWICON(条件,C2*0.98,1);
DRAWICON(条件0,C1*1.02,2);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:SMA(RSV,4,1);
D:SMA(K,4,1);
J:=3*K-2*D;
A:SMA(J,100,50);
150;
100;
50;
0;
STICKLINE(JREF(J,1),HHV(J,3),LLV(J,3),1,0),COLOR0022FF;
STICKLINE(JREF(J,1),J,REF(J,1),6,0),COLOR0022FF;
STICKLINE(JREF(J,1),J,REF(J,1),3,0),COLOR0099FF;
STICKLINE(JREF(J,1),J,REF(J,1),1.5,0),COLOR00DDFF;
STICKLINE(JREF(J,1),J,REF(J,1),0,0),COLOR00DDFF;
STICKLINE(JREF(J,1),HHV(J,3),LLV(J,3),1,0),COLORFF2200;
STICKLINE(JREF(J,1),J,REF(J,1),6,0),COLORFF6600;
STICKLINE(JREF(J,1),J,REF(J,1),3,0),COLORFF9900;
STICKLINE(JREF(J,1),J,REF(J,1),1.5,0),COLORFFDD00;
STICKLINE(JREF(J,1),J,REF(J,1),0,0),COLORFFDD00;
五涨两日:RAND(COUNT(C REF(C,1),5) 2),COLORRED;
M_5:=MA(五涨两日,5);
起:POW(M_5,2),COLORLIRED;
M_13:=MA(五涨两日,13);
拉:=POW(M_13,2);
0.5,COLORLIBLUE;
五跌两日:RAND(COUNT(C REF(C,1),5)
M_5A:=MA(五跌两日,5);
落:POW(M_5A,2),COLORYELLOW;
M_13A:=MA(五跌两日,13);
跌:=POW(M_13A,2);
STICKLINE(CROSS(起,落) OR (起 落 AND
REF(起,1) =REF(落,1)),0.5,1,1,0),COLORWHITE;
STICKLINE(CROSS(落,起),0.5,1,1,0),COLORYELLOW;
涨幅:(H-REF(C,1))/(REF(C,1))*100;
跌幅:(-(REF(C,1)-L)/(REF(C,1)))*100;
STICKLINE(跌幅 0,0,跌幅,10,0),COLORRED;
STICKLINE(涨幅 0,0,涨幅,10,0),COLORBLUE;