最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信超级主力进指标公式

    正文概述    2024-05-04 04:40:46  

    以下是通达信超级进指标公式源码和使用说明


    通达信超级主力进指标公式源码:

       Var1:=(CLOSE+LOW+HIGH)/3;

       a=HIGH-LOW;

       IF(HIGH==LOW)a=0.01;

       Var2:=SUM(((Var1-REF(LOW,1))-(HIGH-Var1))*/10000000/a,0);

       Var3:=EMA(Var2,1);

       J1:Var3;

       J2:MA(Var3,12);

       J3:MA(Var3,26);

       a:var2;

       VAR1:=HHV(HIGH,9)-LLV(LOW,9);

       VAR2:=HHV(HIGH,9)-CLOSE;

       VAR3:=CLOSE-LLV(LOW,9);

       VAR4:=((VAR2)/(VAR1))*(100)-70;

       VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);

       VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);

       VAR8:=LLV(LOW,34);

       VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);

       VAR10:=IF((VAR9 100),VAR9-100,0);

       VAR11:=HHV(HIGH,34);

       B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);

       :=EMA(B1,13);

       STICKLINE(B1-机构趋势 0,B1,机构趋势,3,1),COLOR0000FF;

       STICKLINE(B1-机构趋势 0,B1,机构趋势,3,0),COLOR00FF00;

       V1:=(C*2+H+L)/4*10;

       V2:=EMA(V1,13)-EMA(V1,34);

       V3:=EMA(V2,5);

       V4:=2*(V2-V3)*5.5;

       V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

       V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;

       STICKLINE(EMA(V11,3) =13ANDV12 13,0,50,3,0),COLORRED;

       BBO:=(EMA(V11,3) =13ANDV12 13)ANDFILTER((EMA(V11,3) =13ANDV12 13),10);

       DRAWTEXT(BBO,60,'主力进'),COLORWHITE;

       STICKLINE(EMA(V11,3) 60ANDEMA(V11,3) REF(EMA(V11,3),1),100,95,15,1),COLORGREEN;

       CCO:=(EMA(V11,3) =90ANDV12)ANDFILTER((EMA(V11,3) =90ANDV12),10);

       AA:=(O+H+L+C)/4;

       BB:=MA(AA,3);

       CC:=SUM(IF(AA REF(AA,1),AA*vol,0),4)/SUM(IF(AA REF(AA,1),AA*VOL,0),4);

       DD:=REF(100-(100/(1+CC)),1);

       A1N:=HHV(AA,10);

       A2N:=LLV(AA,30);

       A3N:=A1N-A2N;

       A4N:=EMA((AA-A2N)/A3N,1)*100;

       B1N:=HHV(AA,16);

       B2N:=LLV(AA,90);

       B3N:=B1N-B2N;

       B4N:=EMA((AA-B2N)/B3N,1)*100;

       STICKLINE(A4N 90ANDB4N 70,86,94,3,0),COLORYELLOW;

       DRAWICON(A4N 90ANDB4N 70,90,1);

       VARE:=REF(LOW,1)*0.9;

       VARF:=LOW*0.9;

       VAR12:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;

       VAR13:=EMA(VAR12,30);

       VAR14:=CLOSE-REF(CLOSE,1);

       VAR15:=MAX(VAR14,0);

       VAR16:=Abs(VAR14);

       VAR17:=SMA(VAR15,7,1)/SMA(VAR16,7,1)*100;

       VAR18:=SMA(VAR15,13,1)/SMA(VAR16,13,1)*100;

       VAR19:=BARSCOUNT(CLOSE);

       VAR20:=SMA(MAX(VAR14,0),6,1)/SMA(ABS(VAR14),6,1)*100;

       VAR21:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

       VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

       VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);

       VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

       VAR1D:=SMA(VAR1C,4,1);

       VAR1E:=SMA(VAR1D,3,1);

       VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

       VAR22:=VAR20 =25ANDVAR21 -95ANDVAR1F 20ANDVAR1B -30ANDVAR1E 30ANDVAR11-CLOSE =-0.25ANDVAR17 22ANDVAR18 28ANDVAR19

       STICKLINE(VAR22,0,70,3,0),COLORMAGENTA;

       DRAWTEXT(crOSS(VAR22,0.5)ANDCOUNT(VAR22=1,10)=1,80,'超级主力建仓!'),COLORMAGENTA;

       VAREX:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

       VARFX:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

       ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

       VAR10X:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

       ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

       VAR11X:=VARF REF(VAR10X,1)ANDVOL REF(VOL,1)ANDCLOSE REF(CLOSE,1);

       DRAWTEXT(VAR11XANDCOUNT(VAR11X,30)=1,70,'大进场'),LINETHICK1,COLORYELLOW;

       STICKLINE(VAR11XANDCOUNT(VAR11X,30)=1,1,60,3,0),COLORYELLOW;

       DRAWTEXT(CCO,95,'←分批减仓'),COLORFFFFFF;

       DRAWTEXT(EMA(V11,3) =13ANDV12 13 REF(EMA(V11,3) =13ANDV12 13,1)ANDREF(EMA(V11,3) =13ANDV12 13,1) REF(EMA(V11,3) =13ANDV12 13,2),45,'↖买入股票'),COLORFFFFFF;

       DRAWTEXT(EMA(V11,3) 60ANDEMA(V11,3) REF(EMA(V11,3),1) REF(EMA(V11,3) 60ANDEMA(V11,3) REF(EMA(V11,3),1),1)ANDREF(EMA(V11,3) 60ANDEMA(V11,3) REF(EMA(V11,3),1),1) REF(EMA(V11,3) 60ANDEMA(V11,3) REF(EMA(V11,3),1),2),96,'←卖临界'),COLORFFFFFF;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,10,8,0),colorred;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,10,8,0),colorred;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,5,10,0),colorwhite;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,5,10,0),colorwhite;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,5,10,0),colorwhite;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,5,10,0),colorwhite;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,3,10,0),colorgreen;

       STICKLINE(J1 0ANDJ1 J2ANDJ1 J3,0,3,10,0),colorgreen;

       JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);

       买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);

       买2:=QJ0*(JJ-MIN(CLOSE,OPEN));

       卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);

       卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));

       DT:=((买1+买2)-(卖1+卖2))/10000,NODRAW;

       主力增:DT,NODRAW;

       主力持仓线:SUM(DT,66),COLORRED,LINETHICK1;

       TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);DD1:=QJ0*(JJ-MIN(CLOSE,OPEN));

       DD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);

       TD:=TD1-TD2;DA:=DD1-DD2;XD1:=1-(TD1+DD1);XD2:=1-(TD2+DD2);

       TZ:=V/SUM(V,60)*100;DDT:=((XD1-XD2)/10000)/TZ;

       增:DDT,NODRAW;

       散户持仓线:SUM(DDT,22),COLORGREEN,LINETHICK1;

       主力比散户:DT/ABS(DDT),NODRAW,COLORMAGENTA;

       主力比散户线:MA(DT/ABS(DDT)*1000,3),COLORBLUE,LINETHICK1;




    通达信超级主力进指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信超级主力进指标公式 加入收藏