放量上攻形态选股公式

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

放量上攻形态选股公式

A:=EMA((CLOSE-REF(C,1))/REF(C,1)*100-(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*10,5);

 HSNP1:=CLOSE-REF(CLOSE,1);
 HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
 HSNP3:=REF(CLOSE,1)-CLOSE;
 HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
 HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
 HSNP6:=100-100/(1+HSNP5);
 HSNP7:=EMA(HSNP6,21);
 HSNP8:=EMA(HSNP7,5);
 HSNP:=EMA(HSNP7,3);
 NP:=(HSNP7-HSNP);
 NL:=(HSNP-HSNP7);
 JJ :=(C*2+H+L)/4;
 SK := EMA(JJ,13) - EMA(JJ,21);
 SD := EMA(SK,3);
 SP := EMA(SK,10);
长线1:=IF(SD>=SP,SD,SP)*20;
长线2:=IF(SP-SD,SP,SD)*20;
 A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
 B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
短多:=IF(A1>=B1,A1,B1)*20;
短空:=IF(B1-A1,B1,A1)*20;
 XG:=短多>短空 AND 短空>长线1 AND 长线1>长线2 AND 长线2>0 AND 短多>REF(短多,1) AND 短空>REF(短空,1)
 AND 长线1>REF(长线1,1) AND 长线2>REF(长线2,1);
行情1:=EMA(EMA(C,3)-EMA(C,6),2)*60;
行情2:=EMA(EMA(C,6)-EMA(C,12),2)*60;
行情3:=EMA(EMA(C,12)-EMA(C,24),2)*60;

 MAV5:=MA(V,5);
 MAV15:=MA(V,15);
 MAV30:=MA(V,30);
 MAV60:=MA(V,60);
量多头:=MA(V,5)>MA(V,15) AND MA(V,15)>MA(V,30)AND MA(V,5)>REF(MA(V,5),1) AND MA(V,15)>REF(MA(V,15),1)AND MA(V,30)>REF(MA(V,30),1)  AND  V>MAV5 AND V>MAV15 AND V>MAV30 AND V>MAV60;

 XG1:=行情1>0 AND 行情2>0 AND 行情3>0 AND XG  AND 量多头  ;

M:=EVERY(XG1,2); 

水平面:=EMA(CLOSE,151),COLORFFA2FF;
 BBI:=(EMA(CLOSE,3)+EMA(CLOSE,7)+EMA(CLOSE,17)+EMA(CLOSE,37))/4;
 J30:=EMA(CLOSE,30),COLORYELLOW;

 J151:=EMA(CLOSE,151),COLORRED,LINETHICK1;
 J453:=EMA(CLOSE,453),COLORBLUE,LINETHICK1;
 N:=BBI>REF(BBI,1) AND J30>REF(J30,1) AND J151>REF(J151,1) AND J453>REF(J453,1) AND C>BBI AND BBI>J30 AND J30>J151 AND J151>J453;

 ZH:M AND N;

710299079.jpg

710299079.jpg

 

回复

使用道具 举报

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

本版积分规则