编写要求:
源码: VAR1:=REF(CLOSE,1); 标尺: SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100,COLOR00FF00,LINETHICK2; VAR2:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; VAR3:=SMA(VAR2,5,1); VAR4:=SMA(VAR3,3,1); VAR5:=SMA(VAR4,3,1); 浪:VAR3,COLORMAGENTA,LINETHICK2; 波:VAR4,COLORRED,LINETHICK2; 段:VAR5,COLORYELLOW,LINETHICK2; VAR6:=CROSS(VAR3,VAR4) AND VAR4<25; VAR61:=CROSS(VAR4,VAR5) AND VAR4<50; STICKLINE(VAR6,0,VAR4+6,1,0),COLORFF00FF,LINETHICK4; STICKLINE(VAR61,0,VAR4+6,1,0),COLORFFFFFF,LINETHICK4; DRAWTEXT(FILTER(VAR61,7),VAR5-5,'-短线买入'),COLORFFFFFF
解答:
?VAR2:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR3:=SMA(VAR2,5,1);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!