通达信二次金叉+强势选股源码

[复制链接]
查看383 | 回复0 | 2021-8-28 00:36:05 | 显示全部楼层 |阅读模式

以下是通达信二次金叉+强势选股源码(无源码的请下载附件导入)

二次金叉+强势选股 源码 通达信 贴图

CROSS(MA(C,3),MA(C,8));

A:=VOL*C;
 B:=SUM(A,1)/SUM(VOL,1);
 B1:=EMA(B,17);
资金:=(B-B1)*100/B;
 DIFF1:=EMA(资金,12)-EMA(资金,26);
 DEA1:=EMA(DIFF1,9);
 MAC:= 2*(DIFF1-DEA1);
低位金叉:=CROSS(DIFF1,DEA1) AND DIFF1<-0.1;
 JCCOUNT:=COUNT(CROSS(DIFF1,DEA1),BARSLAST(DEA1>=0));
二次金叉:=CROSS(DIFF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
 XG:低位金叉 OR 二次金叉;

流通:=AMOUNT/VOL;
 PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
 JJ:=REF(EMA(PJJ,3),1);
 QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
 XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
 ZLL:=VOL/CAPITAL;
 HSL1:=IF(ZLL>10,10,ZLL);
 HSL:=(XVL/20)/1.15;
力度:=HSL/1000;
强势选股:力度>=5;


 HG:= 二次金叉 AND 强势选股 AND CROSS(MA(C,3),MA(C,8));

139188453.png

139188453.png

139466529.png

139466529.png

回复

使用道具 举报

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

本版积分规则