高手帮忙做个选股指标公式还不错

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

 

5日、10日、20日三条均线粘合的选股指标。

选股源码

X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合,可自己修改}
X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;
X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;

 

X1 AND X2 AND X3;

备注:这样选出来股票估计很多 最好加限制条件

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

使用时结合其他指标看盘

A0:=AMOUNT;
A01:=A0/V/100;
A05:=EMA(A01,5);
A10:=EMA(A01,10);
A20:=EMA(A01,20);
T01:=BETWEEN(A10,A05,A20);
T02:=COUNT(BETWEEN(A05,H*1.01,L-L*1.01),10)=10;
T03:=BETWEEN((HHV(H,10)-LLV(L,10))/HHV(H,5)*100,5,11);
T04:=C>REF(C,1)*1.02;
T05:=(V-REF(V,1))/V*100>30;
XG:(T01+T02+T03+T04+T05)>4;

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

COUNT(C>MA(C,5),5)>=4  AND HHV(C,5)<LLV(C,5)*1.1  AND COUNT(V<REF(V,1),5)>=3
AND MA(C,5)>=MA(C,10) AND RANGE(MA(C,5),MA(C,10),MA(C,10)*1.03)
AND COUNT(BETWEEN(C/REF(C,1),0.97,1.04),4)>=3 AND NDAY(MA(C,10),REF(MA(C,10),1),2)AND
NDAY(MA(C,5),REF(MA(C,5),1),2)   AND BARSLAST(CROSS("MACD.MACD",0))<10 AND MA(C,10)>MA(C,20);

 

 

这是网上高手编写的围绕均线震荡选股

回复

使用道具 举报

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

本版积分规则