编写条件:
编写方法:
网友求助:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
N:=7;
IF(J>=REF(J,1),J,DRAWNULL),COLORRED;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF11;
IF(J<0,J,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(K>90,K,DRAWNULL),COLORGREEN,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORGREEN,LINETHICK2;
AA1:=DRAWLINE(J>=HHV(J,N),J,J<=LLV(J,N),J,0);
AA2:=DRAWLINE(J<=LLV(J,N),J,J>=HHV(J,N),J,0);
AA3:=J=AA2;
AA4:=J=AA1;
AA5:=J<REF(J,1);
AA6:=J>REF(J,1);
DRAWICON(FILTER(AA4 AND AA6,1),J*1.04,2);
DRAWICON(FILTER(AA3 AND AA5,1),J*0.9,1);
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
N:=7;
IF(J>=REF(J,1),J,DRAWNULL),COLORRED;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF11;
IF(J<0,J,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(K>90,K,DRAWNULL),COLORGREEN,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORGREEN,LINETHICK2;
AA1:=DRAWLINE(J>=HHV(J,N),J,J<=LLV(J,N),J,0);
AA2:=DRAWLINE(J<=LLV(J,N),J,J>=HHV(J,N),J,0);
AA3:=J=AA2;
AA4:=J=AA1;
AA5:=J<REF(J,1);
AA6:=J>REF(J,1);
DRAWICON(FILTER(AA4 AND AA6,1),J*1.04,2);
DRAWICON(FILTER(AA3 AND AA5,1),J*0.9,1);
解答如下:
此公式不含未来函数
以下软件检查结果:
以下软件检查结果: