股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 李莜阳先生的通达信选股公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 14:26:10

以下是李莜阳先生的通达信选股公式

李莜阳先生的通达信选股公式

macd-kdj金叉共振选股公式:


DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA:=EMA(DIF,9);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
B4:CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));

金蜘蛛选股公式:


{n1 1 .00 300.00 5.00
n2 1.00 300.00 10.00
n3 1.00 300.00 20.00}

MA1:=MA(CLOSE,N1);
MA2:=MA(CLOSE,N2);
MA3:=MA(CLOSE,N3);
A1:=COUNT(CROSS(MA2,MA3),2)=1;
A2:=COUNT(CROSS(MA1,MA3),2)=1;
A1 AND A2;

穿云箭多方炮选股公式:


M5:=HHV(MA(C,5),15);
MM5:=IF(M5=REF(M5,1),M5,DRAWNULL);
AA:=MM5=REF(M5,1) AND REF(M5,1)=REF(M5,2) AND REF(M5,2)=REF(M5,3);
XG:REF(L,1)REF(C,1) AND C>M5 AND AA AND L>REF(C,1)
AND FINANCE(34)>1 AND FINANCE(33)>0.1 ;

均线粘合选股公式:

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;
AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10),1);CC:=MA(C,5)>MA(C,10);
{均线勾头向上}
CDJZ:=ABS(MA(C,20)-MA(C,90))/MA(C,60);{长短均线距离绝对值}
MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3
AND CDJZ AND AA AND BB AND CC;
{X4:=ABS(MA(C,5)/MA(C,30)-1)<0.01;
MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4;}{也可以再加:四线粘合};

均线·macd·kjd金叉选股公式:


M1:=MA(CLOSE,5);
M2:=MA(CLOSE,10);
MA1:=MA(VOL,5);
MA2:=MA(VOL,10);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
A1:=DEA;
F1:=DIF;
K1:="KDJ.K";
J1:="KDJ.J";
金叉1:=CROSS(M1,M2);
金叉2:=CROSS(MA1,MA2);
金叉3:=CROSS(F1,A1);
金叉4:=CROSS(J1,K1);
选1:=金叉1 AND 金叉2 AND 金叉3 AND 金叉4;
选2:=金叉1 AND 金叉2 AND 金叉3;
选3:=金叉2 AND 金叉3 AND 金叉4;
选4:=金叉1 AND 金叉2 AND 金叉4;
选5:=金叉1 AND 金叉3 AND 金叉4;
选股:选1 OR 选2 OR 选3 OR 选4 OR 选5;

五榜合一选股公式:


ZF:=DYNAINFO(14)*100;{涨幅}
LB:=DYNAINFO(17);{量比}
HS:=DYNAINFO(37)*100;{换手}
ZJ:=AMOUNT/10000;{资金}
TM:=V-MA(V,10);{量填满}
ZF>=2 AND ZF<=5 AND LB>=2 AND ZJ>=500 AND HS>1 AND TM>0;


盘中预警:


JR:=DYNAINFO(7)>DYNAINFO(11);{现价大于均价}
CL:=DYNAINFO(11)>DYNAINFO(3);{均价大于前收盘价}
GK:=DYNAINFO(4)>DYNAINFO(3);{今天开盘价大于前收盘价}
ZF:=DYNAINFO(14)>0.015;{涨幅}
HS:=DYNAINFO(37)>1;{换手}
LB:=DYNAINFO(17)>1;{量比}
YX:=(REF(CLOSE,1)-REF(CLOSE, 2))/REF(CLOSE,2)<=0.01;{(昨天收盘价-2日前的收盘价)/2日前的收盘价小于等于0.01}
WZ:=DYNAINFO(7)>=MA(CLOSE,5);{现价大于等于收盘价的5日简单移动均线}
JR AND CL AND GK AND ZF AND HS AND LB AND YX AND WZ;

五线顺上选股公式:


MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND MA20>REF(MA20,1)
AND MA60>REF(MA60,1) AND MA120>REF(MA120,1);

三金叉选股公式:

MA5:=EMA(C,5);
MA10:=EMA(C,10);
MV5:=EMA(V,5);
MV10:=EMA(V,10);
K:="KDJ.K"(9,3,3);
D:="KDJ.D"(9,3,3);
V1:=MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND C>REF(C,1) AND C/O>1.01;
VV1:=MV5>REF(MV5,1) AND MV10>=REF(MV10,1) AND V>REF(V,1)*1.2 ;
KD1:=K>REF(K,1) AND D>=REF(D,1);
VA:=COUNT(CROSS(K,D),4)>=1 AND COUNT(CROSS(MA5,MA10),4)>=1 AND
COUNT(CROSS(MV5,MV10),4)>=1;
XG1:IF(V1 AND VV1 AND KD1 AND VA,1,0);





回复

举报

QQ|

GMT+8, 2024-11-19 04:32

快速回复 返回顶部 返回列表