MA120:=MA(C,120);
MA250:=MA(C,250);
XG1:=CLOSE MA120 AND C MA250;
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
XG2:=CROSS(J,10) ,COLORGREEN;
N5:=10;N6:=6;{www.9m8.cn 九毛八公式指标网}
WR1:=100*(HHV(HIGH,N5)-CLOSE)/(HHV(HIGH,N5)-LLV(LOW,N5));
WR2:=100*(HHV(HIGH,N6)-CLOSE)/(HHV(HIGH,N6)-LLV(LOW,N6));
XG3:=CROSS(90,WR1),COLORRED;
XG:XG1 AND XG2 AND XG3,COLORYELLOW,LINETHICK2;