编写要求:
VarE1:=1; VarE2:=(2*CLOSE+HIGH+LOW)/4; VarE3:=IF(YEAR>=2099 AND MONTH>2,0,1); VarE4:=LLV(LOW,5); VarE5:=HHV(HIGH,4); 快: EMA((VarE2-VarE4)/(VarE5-VarE4)*100,4)*VarE3*VarE1,PRECIS1,Colorwhite, linethick1; 中: EMA(0.667*REF(快,1)+0.333*快,2)*VarE3*VarE1,PRECIS1,Coloryellow, linethick1; VarE6:=(HHV(HIGH,4)-VarE2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72; VarE7:=(VarE2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; VarE8:=SMA(VarE7,2,1); 慢: SMA(VarE8,2,1)*VarE1,PRECIS1,Colorred, linethick1; DRAWTEXT(CROSS(快,中) AND 快<50 AND 29<快,30,'短进'),COLOR00FF00; DRAWTEXT(CROSS(中,快) AND 快>40 AND 71>快,70,'短出'),COLOR00FFFF; DRAWTEXT(CROSS(快,中) AND 快<30,23,'逢低吸'),COLORRED; DRAWTEXT(CROSS(中,快) AND 快>70,75,'逢高减'),COLORFFFF33;
解答:
?VarE1:=1;
VarE2:=(2*CLOSE+HIGH+LOW)/4;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!