最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把KDJ,MACD金叉,去ST整合成一个选股公式

    正文概述    2024-04-14 09:34:54  

    九毛八公式指标

    {kdj三金叉} 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),5)>=1 AND COUNT(CROSS(MA5,MA10),5)>=1 AND COUNT(CROSS(MV5,MV10),5)>=1; {MACD二次金} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=2*(DIF-DEA); A1:=CROSS(DIF,DEA); A2:=REF(A1,1); A3:=COUNT(A2,21); A4:MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60) AND MA(C,60)>MA(C,120) AND MA(C,120)>MA(C,250) ; {去除ST} XG:FINANCE(7)/100000000<15 and not(namelike('st')) not(namelike('*st')) barscount(c)>30 AND DYNAINFO(8)>0 AND C<50;

    公式模块:

    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),5)>=1 AND COUNT(CROSS(MA5,MA10),5)>=1 AND COUNT(CROSS(MV5,MV10),5)>=1; {macd二次金} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MacD:=2*(DIF-DEA); A1:=CROSS(DIF,DEA); A2:=REF(A1,1); A3:=COUNT(A2,21); A4:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60) AND MA(C,60)>MA(C,120) AND MA(C,120)>MA(C,250) ; {去除ST} XG:=FINANCE(7)/100000000<15 AND NOT(NAMELIKE('ST')) AND NOT(NAMELIKE('*ST')) AND BARSCOUNT(C)>30 AND DYNAINFO(8)>0 AND C<50; 整合:(VA AND A4 ) AND XG;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把KDJ,MACD金叉,去ST整合成一个选股公式 加入收藏