编写要求:
N:=40; N1:=20; VAR1:((3 * SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100),5,1),3,1))); VAR2:((3 * SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100),5,1),3,1))); 股价启动在即:=IF(CROSS(VAR2,VAR1),100,0); 秘密买点:IF((VAR2 <= 3 AND VAR2>REF(VAR2,1)),55,0),COLORYELLOW; STICKLINE((REF(VAR2,1)<=3 AND VAR2>REF(VAR2,1)AND REF(VAR2,1)<=REF(VAR2,2)),0,55,0.5,0),COLORYELLOW; 机构建增补仓:=IF((VAR2 < 5),45,0); 绝密买点:IF((VAR2 <= 0 AND VAR2>REF(VAR2,1)AND REF(VAR2,1)<=REF(VAR2,2)),55,0),COLORRED; STICKLINE((REF(VAR2,1) < 0 AND VAR2>REF(VAR2,1)AND REF(VAR2,1)<=REF(VAR2,2)),0,55,0.5,0),COLORRED;
解答:
?N:=40;
N1:=20;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!