以下是通达信战狼无敌绝杀主图指标公式源码

    ZZ:=(O+H+L)/3;

    庄狼线:EMA(ZZ,55),COLORYELLOW;

    战狼线:EMA(ZZ,7),COLORWHITE;

    VAR1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);

    VAR2:=REF(VAR1,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR4:=REF(VAR3,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR5:=REF(VAR4,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR6:=REF(VAR5,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR7:=REF(VAR6,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR8:=REF(VAR7,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR9:=REF(VAR8,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VARA:=REF(VAR9,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VARB:=REF(VARA,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VARC:=REF(VARB,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VARD:=CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2);

    VARE:=REF(VARD,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VARF:=REF(VARE,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR10:=REF(VARF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR11:=REF(VAR10,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR12:=REF(VAR11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR13:=REF(VAR12,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR14:=REF(VAR13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR15:=REF(VAR14,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR16:=REF(VAR15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR17:=REF(VAR16,1)ANDCLOSE<=ref(close,1)and=""close="">=REF(CLOSE,2);

    VAR18:=REF(VAR17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

    VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13OR

    VAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;

    VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7OR

    VAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;

    DRAWICON(VAR19ANDC>战狼线,L*0.998,1);

    DRAWICON(VAR1A,H*1.002,2),NODRAW;

    TJ5:=REF("CCI.CCI",1)<-100and="">REF("CCI.CCI",1);

    TJ6:=REF("KDJ.J"(9,3,3),1)<20and="">REF("KDJ.J"(9,3,3),1);

    TJ7:=REF("RSI.RSI1",1)<20and="">REF("RSI.RSI1",1);

    TJ8:=COUNT(TJ5,5)ANDCOUNT(TJ6,5)ANDCOUNT(TJ7,5);

    大底:=CROSS(TJ8,0.5);

    DRAWICON(大底,L*0.991,11);

    T1:EMA(SLOPE(CLOSE,34)*20+CLOSE,75),COLORYELLOW,NODRAW;

    T2:MA(C,120),COLORCYAN,LINETHICK2,NODRAW;

    T3:MA(C,250),COLORGREEN,LINETHICK2,NODRAW;

    乖离线:=((C-REF(T1,1))/20+T1)*1.20;

    TT1:=CROSS(T1,T2)ANDCROSS(T1,T3)ANDV>REF(V,1);

    TT2:=T1>REF(T1,2)ANDV>REF(V,1)ANDCROSS(C,T1);

    DRAWICON((T2>=REF(T2,1)ANDCROSS(C,T1)ANDCROSS(C,T2)ANDV>REF(V,1)),L*0.997,9);

    DRAWICON(TT2,L*0.995,11);

    DRAWICON(CROSS(C,乖离线)ANDL!=H,H*1.005,12);

    N1:=10;

    N2:=3;

    N3:=6;

    PJJ:=DMA((((HIGH+LOW)+(CLOSE*2))/4),0.9);

    JJ:=REF(EMA(PJJ,3),1);

    QJJ:=(vol/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));

    XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSEOPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE<OPEN),(0-(QJJ*(HIGH-LOW))),(0-(VOL/2)))));

    ZLL:=(VOL/CAPITAL);

    HSL1:=IF((ZLL>10),10,ZLL);

    HSL:=((XVL/20)/1.15);

    攻击流量:=(((HSL*0.55)+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));

    STICKLINE(((HSL*0.4)>=0),((HSL/1000)*1.0),0,1,0),COLORRED,NODRAW;

    STICKLINE(((HSL*0.4)<0),((HSL/1000)*1.0),0,1,0),COLORBLUE,NODRAW;

    力度:(HSL/1000),LINETHICK0,NODRAW;

    A1:=SUM(力度,N1);

    A2:=EMA(A1,N2);

    A3:=EMA(A1,N3);

    累积能量:A1,NODRAW;

    BIAS1:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,NODRAW;

    买:DRAWICON(CROSS(A1,A3)ANDC>战狼线,L*0.998,1),NODRAW;

    卖:DRAWICON(CROSS(A3,A1)ANDBIAS1>1,H*1.002,10),NODRAW;

    VAR1Y:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;

    VAR2Y:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;

    VAR3Y:=SMA(VAR2Y,2,1);

    卖出:100+(-ABS(VAR1Y)),NODRAW;

    预防:SMA(VAR3Y,2,1),COLORRED,LINETHICK2,NODRAW;

    DRAWICON(CROSS(预防,卖出),H*1.02,2),NODRAW;

    {分析家公式网整理}

    VV:=(C+L+H)/3;

    DSA:=SMA(EMA(VV,2),2,1)LINETHICK2,COLORRED;

    Y396:=DSA;

    险1:=Y396*1.1,COLORLIRED;

    险2:=Y396*1.125,COLORLIRED;

    险3:=Y396*1.15,COLORLIRED;

    良1:=Y396*0.9,COLORLIBLUE;

    良2:=Y396*0.875,COLORLIBLUE;

    良3:=Y396*0.85,COLORLIBLUE;

    变色:=IF(Y396<REF(Y396,1),Y396,DRAWNULL),LINETHICK2,COLORBLUE;

    {WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;}

    {WSR2:=CROSS(WSR1,5);}

    {WSR3:=CROSS(8,WSR1);}

    {WSR4:=CROSS(WSR1,-5);}

    {WSR5:=CROSS(WSR1,-8);}

    {WSR6:=WSR3;}

    {WSR7:=WSR4ORWSR5;}

    {WSR8:=WSR7ANDFILTER(WSR7,5);}

    {WSR10:DRAWICON(WSR8,L-0.01,1);}

    {WSR9:=WSR6ANDFILTER(WSR6,5);}

    {WSR11:DRAWICON(WSR9,H+0.01,2);}

    WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;

    WSR2:=CROSS(WSR1,5);

    WSR3:=CROSS(8,WSR1);

    WSR4:=CROSS(WSR1,-5);

    WSR5:=CROSS(WSR1,-8);

    WSR6:=WSR3;

    WSR7:=WSR4ORWSR5;

    WSR8:=WSR7ANDFILTER(WSR7,5);

    WSR10:

    DRAWICON(WSR8,L-0.01,1),NODRAW;

    WSR9:=WSR6ANDFILTER(WSR6,5);

    WSR11:DRAWICON(WSR9,H+0.01,10),NODRAW;

    WSR12:=O<良3;

    DRAWICON(WSR12ANDFILTER(WSR12,12),L-0.03,9);

    W1:=C>REF(C,1)ANDmacd0ANDV<REF(V,1);

    W2:=C>REF(C,1)ANDMACD<0ANDMACD<REF(MACD,1)ANDV<REF(V,1);

    XG:=W1ORW2;

    VAR1AA:=AMOUNT/VOL/7;

    VAR2AA:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;

    VAR3AA:=SUM(AMOUNT,10)/VAR1AA/7;

    VAR4AA:=DMA(VAR2AA,VOL/VAR3AA);

    VAR5AA:=(CLOSE-VAR4AA)/VAR4AA*100,COLORLIMAGENTA;

    XG1:=CROSS(VAR5AA,MA(VAR5AA,2))ANDVAR5AA<0ANDC<(hhv(h,5)*0.88)and=""o="">C,1)ANDREF(O>C,2);

    XG3:=XGANDXG1ANDL<良1;

    WSR13:=O>良3ANDL<良1ORXG3;

    DRAWICON(WSR13ANDFILTER(WSR13,10),L-0.03,5);

    WSR14:=H>险3;

    DRAWICON(WSR14ANDFILTER(WSR14,15),H+0.03,10);

    WSR15:=H<险3and=""h="">险2;

    DRAWICON(WSR15ANDFILTER(WSR15,5),H+0.03,4),NODRAW;

    ZLCM:=EMA(WINNER(CLOSE)*70,3),NODRAW;{//主力筹码估算}

    SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;{//散户筹码估算}

    ZSHTL:=SHCM/(ZLCM+SHCM)*100,NODRAW;{//散户套牢筹码比率}

    ZZLKP:=ZLCM/(ZLCM+SHCM)*100,NODRAW;{//主力控盘筹码比率}

    ZZLJJ:=EMA(ZZLKP,89),NODRAW;{//主力警戒}

    ZJLRQD:=INTPART(ZZLKP-ZZLJJ),NODRAW;{//资金流入强度}

    天界:INTPART(ZSHTL),COLORCYAN,LINETHICK2,NODRAW;

    凡间:ZJLRQD,LINETHICK2,COLORRED,NODRAW;

    DRAWICON(CROSS(天界,凡间),H*1.02,12);

(macd,1)>

通达信战狼无敌绝杀主图指标公式源码

通达信战狼无敌绝杀主图指标公式源码

   文章来源:通达信战狼无敌绝杀主图指标公式源码

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。