修改均线选股源码
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: a1:=MA(3); a2:=MA(5); a3:=MA(10); a4:=MA(20); a5:MA(30); a6:MA(60); a5a6 and a6REF(a6,1) and REF(a6,1) REF(a6,2) and a4a2 and CREF(C,1) 上述源码,软件提示最后一行缺少;烦请老师修改,谢谢() 解答如下: A1:=MA(CLOSE,3); A2:=MA(CLOSE,5); A3:=MA(C
-
文章来源:股海网作者:股海网发布时间:2015-08-22浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
a1:=MA(3);
a2:=MA(5);
a3:=MA(10);
a4:=MA(20);
a5:MA(30);
a6:MA(60);
a2:=MA(5);
a3:=MA(10);
a4:=MA(20);
a5:MA(30);
a6:MA(60);
a5>a6 and a6>REF(a6,1) and REF(a6,1)> REF(a6,2) and a4>a2 and C<REF(C,1)
上述源码,软件提示最后一行缺少;烦请老师修改,谢谢()
解答如下:
A1:=MA(CLOSE,3);
A2:=MA(CLOSE,5);
A3:=MA(CLOSE,10);
A4:=MA(CLOSE,20);
A5:=MA(CLOSE,30);
A6:=MA(CLOSE,60);
A5>A6 AND A6>REF(A6,1) AND REF(A6,1)> REF(A6,2)
AND A4>A2 AND
A2:=MA(CLOSE,5);
A3:=MA(CLOSE,10);
A4:=MA(CLOSE,20);
A5:=MA(CLOSE,30);
A6:=MA(CLOSE,60);
A5>A6 AND A6>REF(A6,1) AND REF(A6,1)> REF(A6,2)
AND A4>A2 AND
C<REF(C,1);