飞狐一月二涨停指标公式

[复制链接]
查看81 | 回复0 | 2021-8-21 12:44:30 | 显示全部楼层 |阅读模式

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;

202108211211.jpg

202108211211.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则