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

    正文概述    2024-05-04 04:33:12  

     

     通达信指标公式源码概况:


    指标类别: 通达信指标公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图

     





    跟庄指标公式 


    A1:=(DVOL/C)/2,NODRAW;   

    A2:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);   

    A3:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);   

    A4:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);   

    A5:=SUM(IF(A1 100ANDCLOSE REF(CLOSE,1),A1,0),0);   

    A6:=A2+A3+A4+A5;   

    机买:(A2/A6)*100,LINETHICK2,COLORRED;   

    机卖:(A3/A6)*100,LINETHICK2,COLORGREEN;   

    散买:(A4/A6)*100,LINETHICK0;   

    散卖:(A5/A6)*100,LINETHICK0;   

    主力差:机买-机卖,LINETHICK2,NODRAW;   

    小股民差:散买-散卖,LINETHICK0,NODRAW;   

    DRAWTEXT(主力差 0ANDREF(主力差,1) =0,C*1.155, ● ),COLORRED;   

    DRAWTEXT(主力差 0ANDREF(主力差,1) =0,-C*1.155, ○机构 ),COLORWHITE;   

    DRAWTEXT(小股民差 0ANDREF(小股民差,1) =0,C*0.15, 小股民 ),COLORCYAN;   

    DRAWTEXT(小股民差 0ANDREF(小股民差,1) =0,-C*0.15, 小股民 ),COLORWHITE; 

    N:=8;   

    :4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-     

    3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORBLACK,LINETHICK1;     

    取值:6,COLORBLACK,LINETHICK0;     

    买入:IF(CROSS(趋势,取值),80,0);     

    底盘:IF(趋势 =8,25,0),STICK,COLORWHITE,LINETHICK2;   

    :=EMA(EMA(CLOSE,10),10);   

    现价:=(庄家-REF(庄家,1))/REF(庄家,1)*1000;   

    STICKLINE(现价 REF(现价,1)AND现价 0,现价,0,2,0),COLORBLUE;   

    吸筹:IF(现价 REF(现价,1)AND现价 0,现价,0)COLORBLUE,NODRAW;     

    主力:=100*0.95;   

    STICKLINE(主力 50ANDCOST(85) CLOSEAND现价 0,现价,0,2,0),COLORRED;   

    拉升:IF(主力 50ANDCOST(85) CLOSEAND现价 0,现价,0),COLORRED,NODRAW;   

    STICKLINE(现价 REF(现价,1)AND现价 0,现价,0,2,0),COLOR00FF00;   

    上升:=SMA(((HHV(CLOSE,13)-CLOSE)/(HHV(CLOSE,13)-LLV(CLOSE,13))),5,1);   

    冲顶:((10/上升)-10)/5,COLORSTICK,COLORYELLOW;   

    STICKLINE((冲顶 24),0,冲顶,1,1)COLORYELLOW,LINETHICK1;   

    出货:IF(现价 REF(现价,1)AND现价 0,现价,0),COLOR00FF00,NODRAW;     

    上价:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;   

    下价:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;   

    中价:=MAX(EMA(上价,1)-EMA(下价,5),0)*200;   

    吃庄价:=EMA(中价,5);   

    净吃:吃庄价,STICK,COLORFF00FF;   

    STICKLINE(吃庄价 REF(吃庄价,1),0,吃庄价,1,0),COLOR00FF00;   

    价位:=(HIGH+LOW+CLOSE)/3;   

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

    讲价:=EMA(均价,8);     

    讨价:=STD(均价,8);     

    卖价:=(均价-讲价)/讨价*100;   

    买价:=EMA(卖价,7);   

    CCI:(价位-MA(价位,8))/(0.015*AVEDEV(价位,8)),LINETHICK1,COLORWHITE;   

    上穿买:-100,LINETHICK2,COLORBROWN;   

    下穿卖:100,LINETHICK1,COLORFF9900;   

    顶线!:150,COLORRED,LINETHICK2;   

    底线:-150,COLORMAGENTA,LINETHICK2; 


    image.png


     

    跟庄到顶指标公式 


    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); 

    VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); 

    VAR3:=EMA(VAR2,10); 

    VAR4:=LLV(LOW,33); 

    VAR5:=EMA(IF(LOW =VAR4,VAR3,0),3); 

    主力进场:=IF(VAR5 REF(VAR5,1),VAR5,0),COLORRED,NODRAW; 

    庄家:=EMA(EMA(CLOSE,10),10); 

    现价:=(庄家-REF(庄家,1))/REF(庄家,1)*1000; 

    主力:=100*0.95; 

    平均价:=SMA(现价,5,1)-SMA(现价,13,1); 

    上价:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5; 

    下价:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5; 

    中价:=MAX(EMA(上价,1)-EMA(下价,5),0)*200; 

    吃庄价:=EMA(中价,5); 

    净吃庄血:=吃庄价; 

    A1:=30; 

    实体比例:=(CLOSE-OPEN)/REF(CLOSE,1); 

    冲击系数:=MA(实体比例,A1); 

    冲击系数1:=MA(冲击系数,3); 

    STICKLINE(冲击系数1 0,((冲击系数1*10000)+净吃庄血)/2,0,2,0),COLORRED; 

    X:=WINNER(C-0.168*C)*1000; 

    存货:MA(X,13); 

    N:=3; 

    VAR1:=1.13; 

    VAR3:=LLV(HIGH,318); 

    VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1; 

    VAR5:=REF(LLV(CLOSE,610),1)*VAR1; 

    VAR6:=REF(HHV(CLOSE,610),1)*VAR1; 

    VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1; 

    VAR8:=(CLOSE-LLV(CLOSE,880))/(HHV(CLOSE,880)-LLV(CLOSE,880))*100*VAR1; 

    VAR9:=(CLOSE-LLV(CLOSE,318))/(HHV(CLOSE,318)-LLV(CLOSE,318))*100*VAR1; 

    VARA:=(CLOSE-LLV(LOW,880))/(HHV(HIGH,880)-LLV(LOW,880))*100*VAR1; 

    VARB:=(CLOSE-LLV(LOW,318))/(HHV(HIGH,318)-LLV(LOW,318))*100*VAR1; 

    VARC:=EMA(100*(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144)),5)/4*VAR1; 

    VARD:=IF(VARC 13.16,VARC,0)*VAR1; 

    VARE:=VARC 1*VAR1; 

    VARF:=VARD*VAR1; 

    VAR10:=VAR4 0ANDVAR7  

    VAR11:=1; 

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

    VAR13:=EMA(VAR12,34); 

    VAR14:=STD(VAR12,34); 

    VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11; 

    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; 

    VAR1A:=IF(CROSS(VAR19,VAR17)ANDCROSS(VAR19,VAR18)ANDCROSS(VAR17,VAR18),1,0); 

    VAR1B:=IF(CROSS(VAR17,VAR19)ANDCROSS(VAR18,VAR19)ANDCROSS(VAR18,VAR17),1,0); 

    买点:=IF(FILTER(VAR8=0ANDVAREANDVAR10ANDVAR1A,5)=1,10,0); 

    卖点:=IF(FILTER(VAR8=100ANDVARFANDVAR1B,5)=1,10,0); 

    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,21)*VAR1; 

    VAR1F:=2*(VAR1D-VAR1E)*10*VAR1; 

    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(VAR1F 0.013,VAR20,0)/34*VAR1; 

    拉升:VAR25*5,COLORRED,LINETHICK2; 

    VAR26:=EMA(CLOSE,3)-EMA(CLOSE,144); 

    VAR27:=EMA(VAR26,55); 

    VAR28:=2*(VAR26-VAR27); 

    VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1); 

    VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE)); 

    VAR2B:=EMA(VAR2A*0.97,3); 

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

    VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14)); 

    主力资金:IF(VAR28 0.01,VAR29*200,-100),LINETHICK2,COLORYELLOW; 

    STICKLINE(VAR25 0,0,拉升资金,2,1),COLORRED; 

    N1:=13; 

    N2:=5; 

    MTM:=C-REF(C,1); 

    ZLGJ:=MA(100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),2),COLORWHITE; 

    MAZL:=MA(MA(ZLGJ,N2),3),COLORYELLOW; 

    DRAWICON(CROSS(ZLGJ,MAZL)ANDMA(C,5) =REF(MA(C,5),1)ANDMA(C,2) =REF(MA(C,2),1),MA(拉升资金,5),9); 

    DRAWICON(CROSS(MAZL,ZLGJ)ANDMA(C,5) REF(MA(C,5),1),MA(拉升资金,5),2); 

    A1:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100; 

    BL:=VOL/CAPITAL*100; 

    STICKLINE(A1 =0,0,A1*50,1,1),COLORYELLOW; 

    A1Q:=34; 

    实体比例:=(CLOSE-OPEN)/REF(CLOSE,1); 

    冲击系数:=MA(实体比例,A1Q),COLORRED; 

    回头线:=MA(MA(冲击系数,2),2),COLORYELLOW; 

    DRAWICON(CROSS(冲击系数,回头线)ANDMA(C,5) =REF(MA(C,5),1),MA(拉升资金,5),1);


    image.png


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 主力跟庄指标公式 跟庄到顶指标公式 加入收藏