麻烦老师帮我编写个ENE选股公式,万分感谢
指标公式:上线:10.00中线:11.00下线:9.00UPPER:(1+M1/100)*MA(CLOSE,N);LOWER:(1-M2/100)*MA(CLOSE,N)...
指标公式:
上线:10.00
中线:11.00
下线:9.00
UPPER:(1+M1/100)*MA(CLOSE,N);
LOWER:(1-M2/100)*MA(CLOSE,N);
ENE:(UPPER+LOWER)/2;
要求:收盘价破LOWER KDJ指标线上拐 展开
上线:10.00
中线:11.00
下线:9.00
UPPER:(1+M1/100)*MA(CLOSE,N);
LOWER:(1-M2/100)*MA(CLOSE,N);
ENE:(UPPER+LOWER)/2;
要求:收盘价破LOWER KDJ指标线上拐 展开
2个回答
展开全部
N:=25;M1:=6;M2:=6;
UPPER:=(1+M1/100)*MA(CLOSE,N);
LOWER:=(1-M2/100)*MA(CLOSE,N);
ENE:=(UPPER+LOWER)/2;
{KDJ}
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;
SG:=J>REF(J,1) AND K>REF(K,1) AND D>REF(D,1);
XG:L<LOWER AND SG;
希望能够帮助您,顺祝马年投资顺利!
UPPER:=(1+M1/100)*MA(CLOSE,N);
LOWER:=(1-M2/100)*MA(CLOSE,N);
ENE:=(UPPER+LOWER)/2;
{KDJ}
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;
SG:=J>REF(J,1) AND K>REF(K,1) AND D>REF(D,1);
XG:L<LOWER AND SG;
希望能够帮助您,顺祝马年投资顺利!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询