编写要求:
请将公式中出现上箭头信号改为选股公式,选出当天出现上箭头的个股 BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORWHITE; BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2; 操作区:IF(BIAS3<0,BIAS3,0),COLORRED,LINETHICK2; 观望区:IF(BIAS3>0,BIAS3,0),COLORGREEN,LINETHICK2; VAR1:=IF(DATE>=1990601,0,1); VAR2:=TROUGHBARS(3,15,1)<10; VAR3:=PEAKBARS(3,15,1)<10; VAR4:=IF(VAR2=1,50,0); VAR5:=IF(VAR3=1,50,0); TJ1:=观望区REF(操作区,1); 顶: IF(TJ1 AND VAR5=50,15,0),STICK,LINETHICK1,COLORGREEN; 底: IF(TJ2 AND VAR4=50,10,0),STICK,LINETHICK1,COLORRED; DRAWICON(TJ1 AND VAR5=50,-2,2); DRAWICON(TJ2 AND VAR4=50,11,1);
解答:
?BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORWHITE;
?BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!