LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
aa:=(CROSS("KDJ.J"(9,3,3),0) OR (CROSS("KDJ.J"(9,3,3),"KDJ.K"(9,3,3)) AND "KDJ.D"(9,3,3)<26));
bb:=CROSS(RSI1,20) OR CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
cc:=CROSS("MACD.DIFF"(26,12,9),"MACD.DEA"(26,12,9)) OR ("MACD.MACD"(26,12,9)>0 AND REF("MACD.MACD"(26,12,9),1)<0);
买:if((aa+bb+cc)>1,1,0),coloryellow;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!