编写要求:
解答:
?网友求助:
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离: MA(BIAS,3),LINETHICK0;
FILLRGN(乖离<-6 AND 乖离>=-12,0.1,0),COLOR33ccff;
FILLRGN(乖离<-12 AND 乖离>=-18,0.2,0),COLOR33ccff;
FILLRGN(乖离<-18 AND 乖离>=-30,0.3,0),COLOR33ccff;
FILLRGN(乖离<-30,0.4,0.3),colorred;
DRAWTEXT(乖离<-30,0.3, 'B'), colorwhite;
DRAWTEXT(乖离<-30 AND ISLASTBAR,0.1, '长 买'), colorwhite;
?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!