• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票投资】通达信源码:龙腾四海+双线交叉突击+无敌强突双色布林买进

    发布时间: 2020-04-11 17:44 首页:股票一点通>股票公式>通达信公式> 阅读()
    龙腾四海 无未来,无加密:

    目的就是要告诉那些努力寻求高成功率公式的同学:最基本的代码也可以,没那么复杂,关键的是要基本功扎实。

    本代码 精炼短小 最最最普通,人人会用,人人常用,信号少,牛股多。

    1月份信号44个,2月份到目前2个。
    以下为随便截取的有信号的股票走势

    X1:=MA(CLOSE,5);
    X2:=MA(CLOSE,10);
    XG:CROSS(MACD.DIF,MACD.DEA) AND CROSS(KDJ.K,KDJ.D) AND CROSS(X1,X2) AND CROSS(MA(VOL,5),MA(VOL,10));



    双线交叉突击:


    VAR1:=1;
    VUR0:=(((((2 * OPEN) + HIGH) + LOW) + (3 * CLOSE)) / 7);
    VAR3:=LLV(HIGH,240);
    VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;
    VAR5:=REF(LLV(CLOSE,480),1)*VAR1;
    VUR1:=(CAPITAL * VUR0);
    VUR2:=(SMA(AMOUNT,10,1) / 1000);
    VUR3:=MA((CLOSE * 3),5);
    VAR6:=REF(HHV(CLOSE,480),1)*VAR1;
    VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;
    VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1;
    VAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1;
    VUR4:=((((VUR2 * (CLOSE * 3)) / VUR3) * 1) / 10);
    VUR5:=((((VUR2 * (OPEN * 3)) / VUR3) * 1) / 10);
    VUR6:=((((VUR2 * (HIGH * 3)) / VUR3) * 1) / 10);
    VUR7:=((((VUR2 * (LOW * 3)) / VUR3) * 1) / 10);
    VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1;
    VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1;
    VARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1;
    VARD:=IF(VARC>23.16,VARC,0)*VAR1;
    VARE:=VARC<1*VAR1;
    VARF:=VARD*VAR1;
    VUR8:=(((((2 * VUR5) + VUR6) + VUR7) + (3 * VUR4)) / 7);
    VUR9:=EMA(DMA(EMA(VUR4,2),(SUM(VOL,1) * VUR8)),2);
    VAR10:=VAR4<0 AND VAR7<0;
    VAR11:=1;
    VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;
    VAR13:=EMA(VAR12,21);
    VAR14:=STD(VAR12,21);
    VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11;
    VURA:=EMA((VUR1 - VUR9),1);
    VU1:=IF((VURA > REF(VURA,1)),((VURA - REF(VURA,1)) * 15 / 1000),0);
    VU2:=IF((VURA < REF(VURA,1)),((VURA - REF(VURA,1)) * 15 / 1000),0);
    VAR16:=(EMA(VAR15,89)-25)*1.56*VAR11;
    VAR17:=EMA(VAR16,5)*1.22*VAR11;
    VAR18:=EMA(VAR17,3)*VAR11;
    VAR19:=3*VAR17-2*VAR18*VAR11;
    VU3:=SUM(VU1,15);
    VU4:=EMA(VU3,10);
    VU5:=REF(VU4,1);
    VU6:=EMA(CLOSE,13);
    VAR1A:=IF(CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18) AND CROSS(VAR17,VAR18),1,0);
    VAR1B:=IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);
    买点: IF(FILTER(VAR8=0 AND VARE AND VAR10 AND VAR1A,5)=1,10,0);
    卖点: IF(FILTER(VAR8=100 AND VARF AND VAR1B,5)=1,10,0);
    VU7:=(VU6 < REF(VU6,1));
    VU8:=(VU7 AND (VU4 > VU5));
    VU9:=(SUM(VU2,21) * (0 - 1));
    VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR1;
    VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;
    VAR1E:=EMA(VAR1D,30)*VAR1;
    VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;
    VUA:=EMA(EMA(VU9,5),8);
    VUB:=REF(VUA,1);
    VUC:=EMA(CLOSE,3);
    VUD:=(VUC > REF(VUC,1));
    VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;
    VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    VAR22:=EMA(VAR21*0.97,3)*VAR1;
    VAR23:=(HIGH+LOW+CLOSE)/3*VAR1;
    VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14))*VAR1;
    VAR25:=IF(YEAR<2080 AND VAR1F>1,VAR20,0)/45*VAR1;
    VUE:=(VUC < REF(VUC,1));
    VUF:=((VU4 > VU5) AND VUD);
    VUG:=((VU4 > VU5) AND VUE);
    VUH:=((VU6 > REF(VU6,1)) AND (VUA > VUB));
    拉升资金: VAR25,colorred;
    VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
    VAR27:=EMA(VAR26,100);
    VAR28:=2*(VAR26-VAR27);
    VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
    VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    分析家公式网:=LLV(CLOSE,115);
    VAR2B:=EMA(VAR2A*0.97,3);
    VAR2C:=(HIGH+LOW+CLOSE)/3;
    VUN:=IF(VU8,VUR0,0);
    VUK:=IF(VUH,((VUR0 + HIGH) / 2),0);
    VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));
    主力资金: IF(YEAR<2080 AND VAR28>1,VAR29,0)*5;




    无敌强突双色布林买进(顶尖财经 股票学院: ):

    V1:=MA(C,3)=HHV(MA(C,3),7);

    V2:=MA(C,3)>MA(C,5);
    V3:=MA(V,5)>MA(V,10)*1.01;
    V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
    VAR1:=1;
    VAR2:=REF(CLOSE-OPEN,2);
    VAR3:=REF(CLOSE,1);
    VAR4:=REF(CLOSE,2);
    VAR5:=REF(CLOSE,3);
    VAR6:=REF(CLOSE,4);
    VAR7:=MAX(MAX(MAX(CLOSE,VAR3),VAR4),VAR5);
    VAR8:=MIN(MIN(MIN(CLOSE,VAR3),VAR4),VAR5);
    LC20:=REF(CLOSE,1);
    RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
    蓝卖:STICKLINE(VAR3=VAR7 AND CLOSEVAR5
    OR VAR5=VAR7 AND VAR3>VAR4) AND VAR4>=VAR6 AND CLOSEVAR9:=SAR(5,1,5);
    VAR10:=EMA(CLOSE,30);
    VAR3A:=3;
    VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,
    1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
    VAR11:=IF(CLOSE>450,8,IF(CLOSE>=20 AND CLOSE<150, 0.200, IF(CLOSE<20
    AND CLOSE>=10, 0.070,IF(CLOSE<10,0.030,0.070))));
    STICKLINE(CLOSESTICKLINE(CROSS(CLOSE,VAR9),VAR10,VAR10-VAR11,6,0);
    STICKLINE(CROSS(VAR9,CLOSE),VAR10,VAR10+VAR11,6,0),COLORFF0066;
    STICKLINE(RANGE(DAY,6,9) OR RANGE(DAY,27,
    30),VAR10+0.010,VAR10-0.010,6,0), COLORYELLOW;
    MTM:=C-REF(C,1);
    VAR22:=MA(LLV(CLOSE,9)*1.1,14)*1;
    VAR33:=MA(HHV(CLOSE,26)*0.9,14)*1;
    VAR55:=EMA((HIGH+LOW+CLOSE)/3,3);
    VARB:=AMOUNT/(100*VOL);
    VARC:=MA(VARB,34);
    VARD:=MA(CLOSE,26);
    通道:(VARD+VARC)/2, POINTDOT, COLORYELLOW;
    阻力:VARD+2*STD(CLOSE,34),LINETHICK2 , COLORGREEN;
    支持:(VARD-2*STD(CLOSE,26)),LINETHICK2 , COLORGREEN;
    VARE:=MA(WINNER(CLOSE),34)*100;
    警: DRAWTEXT(VARE>60 AND HIGH>阻力,HIGH,'★警'), COLORYELLOW;
    突破:DRAWTEXT(VARE<15 AND CROSS(VAR55,通道),LOW,'★突破'), COLORAAAAAA;
    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
    YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
    MA5:MA(C,5);
    BB5:=MA5-REF(MA5,1);
    MA10:MA(C,10);
    BB10:=MA10-REF(MA10,1);
    MA20:=EMA(C,20);
    买进:IF(FILTER(YXF=1,5),1,0),STICK,COLORFFFFFF,NODRAW;
    A1:=FILTER(MA5>REF(MA5,1)AND MA10>REF(MA10,1)AND MA20>REF(MA20,1)AND MA5A2:=(2*C+H+L+O)/5;
    A3:=LLV(L,5);
    A4:=HHV(H,4);
    A5:=EMA((A2-A3)/(A4-A3)*100,4);
    A6:=EMA(0.667*REF(A5,1)+0.333*A5,2);
    A7:=EMA(A2,13)-EMA(A2,34);
    A8:=EMA(A7,5);
    A9:=(-2)*(A7-A8)*3.8;
    A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
    分析家公式网:=EMA(A51,5);
    A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
    QS:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
    DRAWTEXT(CROSS(A5,A6)AND A1<40,L-0.08,' 买'),COLORYELLOW;
    DRAWTEXT(CROSS(A9,MA(A9,3))AND(A7>A8),H+0.08,' 卖'),COLORGREEN;

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map