送你几个买入信号选股公式

[复制链接]
查看33 | 回复0 | 2022-7-24 06:47:17 | 显示全部楼层 |阅读模式

送你一个买入信号选股公式

SHORT:=6;LONG:=9;
 MID:=3;
 DIF1:=EMA(C,12) - EMA(C,26);
 DIF:=DIF1;
 DIF11:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
向下:=IF(DIF11<REF(DIF,1),DIF11,0);
强势区:=IF((every(向下>=REF(向下,1),1)),-0.2,0);
买入信号:(CROSS(-0.01,强势区)) AND DIF<0;

===========================
 

另附送你要求的两个选股指标,简化版的。


D1:=5;D2:=10;
 DIF1:=EMA(C,12) - EMA(C,26);
 DEA1:=EMA(DIF1,9);
低位金叉:=CROSS(DIF1,DEA1) AND DIF1<-0.1;
 JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
二次金叉:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
 A1:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF1>REF(DIF1,A1+1) AND CROSS(DIF1,DEA1);
三全项:低位金叉 AND 二次金叉 AND 底背离;

 

==========================


D1:=5;D2:=10;
 DIF1:=EMA(C,12) - EMA(C,26);
 DEA1:=EMA(DIF1,9);
低位金叉:=CROSS(DIF1,DEA1) AND DIF1<-0.1;
 JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
二次金叉:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
 A1:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF1>REF(DIF1,A1+1) AND CROSS(DIF1,DEA1);
三全项:=低位金叉 AND 二次金叉 AND 底背离;
COUNT(三全项,5)>=1;
 

653199985.jpg

653199985.jpg

 

回复

使用道具 举报

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

本版积分规则