编写要求:
解答:
?网友求助:
股龙老师的金龙喜舞在休闲2010老师的帮忙下能在同花顺通过,但出来的图形全部变形,是主要还是不能显示强弱线,请老师帮忙修改,谢谢.
日时转换:=IF(STRFIND(PERIODNAME,"日线",1)>0,120,240);
QZS:=(EMA(NEW,10)+EMA(NEW,32))/2;
VAR1:=(EMA(NEW,30)+EMA(NEW,72))/2;
VAR2:=(EMA(VOL[1],10)+EMA(VOL[1],32))/2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=COUNT(VAR1>REF(VAR1,1),5)=5 AND COUNT(VAR4>REF(VAR4,1),5)=5;
FILLRGN(VAR1,EMA(VAR1,60),VAR1>EMA(VAR1,60),RGB(150,30,30),VAR1
强弱线:EMA(VAR1,日时转换),POINTDOT,COLORWHITE;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,colorred;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,colorwhite;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),coloryellow;
强势区:IF(VAR1>强弱线,1,0),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,0),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;
STICKLINE(冲击量=1,QZS,VAR1,1,0),coloryellow;
DRAWTEXT(趋势关注=1,EMA(VAR1,60),"起");
DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),colorwhite;
?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!