最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 筹码平均线指标公式 筹码平均成本线指标公式

    正文概述    2024-05-04 04:20:53  


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


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


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    平指标公式


    A:= IF(CLOSE126.32,AMOUNT/100000,VOL);

    : MA(A,4),colormagenta,LINETHICK1;

    游资: MA(A,8),colorgreen,LINETHICK1;

    大户: MA(A,16),color1100ff,LINETHICK1;

    : MA(A,32),coloree99cc,LINETHICK1;

    主: (主力/(主力+游资+大户+散户)*100),colormagenta,linethick1;

    游: (游资/(主力+游资+大户+散户)*100),colorgreen,linethick1;

    大: (大户/(主力+游资+大户+散户)*100),color1100ff,linethick1;

    散: (散户/(主力+游资+大户+散户)*100),coloree99cc,linethick1;

    STICKLINE(主力0,0,主力,8,0),colormagenta;

    STICKLINE(主力0,0,主力,7.8,0),colormagenta;

    STICKLINE(主力0,0,主力,7.5,0),colormagenta;

    STICKLINE(主力0,0,主力,7.3,0),colormagenta;

    STICKLINE(主力0,0,主力,7,0),colormagenta;

    STICKLINE(主力0,0,主力,6.8,0),colormagenta;

    STICKLINE(主力0,0,主力,6.5,0),colormagenta;

    STICKLINE(主力0,0,主力,6.3,0),colormagenta;

    STICKLINE(主力0,0,主力,6,0),colormagenta;

    STICKLINE(主力0,0,主力,5.7,0),colormagenta;

    STICKLINE(主力0,0,主力,5.5,0),colormagenta;

    STICKLINE(主力0,0,主力,5.3,0),colormagenta;

    STICKLINE(主力0,0,主力,5,0),colormagenta;

    STICKLINE(主力0,0,主力,4.5,0),colormagenta;

    STICKLINE(主力0,0,主力,3.5,0),Color009CFF;

    STICKLINE(主力0,0,主力,3,0),colormagenta;

    STICKLINE(主力0,0,主力,2.5,0),colormagenta;

    STICKLINE(主力0,0,主力,1.5,0),colormagenta;

    STICKLINE(主力0,0,主力,1,0),colormagenta;

    STICKLINE(主力0,0,主力,0.7,0),colormagenta;

    STICKLINE(游资0,0,游资,8,0),Color006800;

    STICKLINE(游资0,0,游资,7.8,0),Color007F00;

    STICKLINE(游资0,0,游资,7,5),Color008B00;

    STICKLINE(游资0,0,游资,7,3),Color008B00;

    STICKLINE(游资0,0,游资,7,0),Color009000;

    STICKLINE(游资0,0,游资,6.8,0),Color009500;

    STICKLINE(游资0,0,游资,6.5,0),Color009C00;

    STICKLINE(游资0,0,游资,6.3,0),Color00A300;

    STICKLINE(游资0,0,游资,6,0),Color00AB00;

    STICKLINE(游资0,0,游资,5.7,0),Color00AF00;

    STICKLINE(游资0,0,游资,5.5,0),Color00B900;

    STICKLINE(游资0,0,游资,5.3,0),Color00C000;

    STICKLINE(游资0,0,游资,5,0),Color00C100;

    STICKLINE(游资0,0,游资,4.5,0),Color00CA00;

    STICKLINE(游资0,0,游资,3.5,0),Color00D300;

    STICKLINE(游资0,0,游资,3,0),Color00DB00;

    STICKLINE(游资0,0,游资,2.5,0),Color00EA00;

    STICKLINE(游资0,0,游资,1.5,0),Color00FF00;

    STICKLINE(大户0,0,大户,8,0),color1100ff;

    STICKLINE(大户0,0,大户,7,0),color1100ff;

    STICKLINE(大户0,0,大户,6,0),color1100ff;

    STICKLINE(大户0,0,大户,5,0),color1100ff;

    STICKLINE(大户0,0,大户,4,0),color1100ff;

    STICKLINE(大户0,0,大户,3,0),color1100ff;

    STICKLINE(大户0,0,大户,2,0),color1100ff;

    STICKLINE(大户0,0,大户,1,0),color1100ff;

    STICKLINE(大户0,0,大户,8,0),color1100ff;

    STICKLINE(大户0,0,大户,7,0),color1100ff;

    STICKLINE(大户0,0,大户,6,0),color1100ff;

    STICKLINE(大户0,0,大户,5,0),color1100ff;

    STICKLINE(大户0,0,大户,4,0),color1100ff;

    STICKLINE(大户0,0,大户,3,0),color1100ff;

    STICKLINE(大户0,0,大户,2,0),color1100ff;

    STICKLINE(大户0,0,大户,1,0),color1100ff;

    STICKLINE(散户0,0,散户,8,0),colorblack;

    STICKLINE(散户0,0,散户,7,0),colorblack;

    STICKLINE(散户0,0,散户,6,0),colorblack;

    STICKLINE(散户0,0,散户,5,0),colorblack;

    STICKLINE(散户0,0,散户,4,0),colorblack;

    STICKLINE(散户0,0,散户,3,0),colorblack;

    STICKLINE(散户0,0,散户,2,0),colorblack;

    STICKLINE(散户0,0,散户,1,0),colorblack;

    STICKLINE(散户0,0,散户,8,0),colorblack;

    STICKLINE(散户0,0,散户,7,0),colorblack;

    STICKLINE(散户0,0,散户,6,0),colorblack;

    STICKLINE(散户0,0,散户,5,0),colorblack;

    STICKLINE(散户0,0,散户,4,0),colorblack;

    STICKLINE(散户0,0,散户,3,0),colorblack;

    STICKLINE(散户0,0,散户,2,0),colorblack;

    STICKLINE(散户0,0,散户,1,0),colorblack;

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

    VUR1:=(CAPITAL * VUR0);

    VUR2:=(SMA(AMOUNT,10,1) / 1000);

    VUR3:=MA((CLOSE * 3),5);

    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);

    VUR8:=(((((2 * VUR5) + VUR6) + VUR7) + (3 * VUR4)) / 7);

    VUR9:=EMA(DMA(EMA(VUR4,2),(SUM(VOL,1) * VUR8)),2);

    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);

    VU3:=SUM(VU1,15);

    VU4:=EMA(VU3,10);

    VU5:=REF(VU4,1);

    VU6:=EMA(CLOSE,13);

    VU7:=(VU6  REF(VU6,1));

    VU8:=(VU7 AND (VU4  VU5));

    VU9:=(SUM(VU2,21) * (0 - 1));

    VUA:=EMA(EMA(VU9,5),8);

    VUB:=REF(VUA,1);

    VUC:=EMA(CLOSE,3);

    VUD:=(VUC  REF(VUC,1));

    VUE:=(VUC  REF(VUC,1));

    VUF:=((VU4  VU5) AND VUD);

    VUG:=((VU4  VU5) AND VUE);

    VUH:=((VU6  REF(VU6,1)) AND (VUA  VUB));

    VUN:=IF(VU8,VUR0,0);

    VUK:=IF(VUH,((VUR0 + HIGH) / 2),0);

    吸筹:VU5,colormagenta;

    STICKLINE(VU8,VU5,(VU4 * 1.3),6,1),colormagenta;

    吐筹:VUB,colorgreen;

    STICKLINE(VUH,VUB,(VUA * 1.2),6,1),colorgreen;

    主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff00ff,linethick2;

    主力筹码集中度:WINNER(C)*100 ,COLORRED,linethick2;

    散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,colorgreen,linethick2;

    15;

    85;


    image.png


    筹码平均线指标公式


    STICKLINE(C0,300,400,100,0),COLOR002300;

    STICKLINE(C0,200,300,100,0),COLOR320000;

    STICKLINE(C0,100,200,100,0),COLOR320000;

    STICKLINE(C0,-5,100,100,0),COLOR002300;

    HL10:WINNER(C/1.1)*100;

    HL20:WINNER(C/1.2)*100;

    HL30:WINNER(C/1.3)*100;

    STICKLINE(HL10,-5,-5+HL10,1,0),COLOR0000FF;

    STICKLINE(HL20,-5,-5+HL20,1,0),COLOR00FFFF;

    STICKLINE(HL30,-5,-5+HL30,1,0),COLORFF00FF;

    TL10:=(1-WINNER(C/0.9))*100;

    TL20:=(1-WINNER(C/0.8))*100;

    TL30:=(1-WINNER(C/0.7))*100;

    STICKLINE(TL10-10,400,400-TL10,1,0),COLORFFFF33;

    STICKLINE(TL20-10,400,400-TL20,1,0),COLORFF6600;

    STICKLINE(TL30-10,400,400-TL30,1,0),COLORCC0000;

    CXH10:=(WINNER(C)-WINNER(C/1.1))*100;

    CXH20:=(WINNER(C)-WINNER(C/1.2))*100;

    CXH30:=(WINNER(C)-WINNER(C/1.3))*100;

    STICKLINE(CXH30-10,200,200-CXH30,1,0),COLOR99FFFF;

    STICKLINE(CXH20-10,200,200-CXH20,1,0),COLOR33CCFF;

    STICKLINE(CXH10-10,200,200-CXH10,1,0),COLOR0066FF;

    CST10:=(WINNER(C/0.9)-WINNER(C))*100;

    CST20:=(WINNER(C/0.8)-WINNER(C))*100;

    CST30:=(WINNER(C/0.7)-WINNER(C))*100;

    STICKLINE(CST30-10,200,200+CST30,1,0),COLOR99FF66;

    STICKLINE(CST20-10,200,200+CST20,1,0),COLOR00FF33;

    STICKLINE(CST10-10,200,200+CST10,1,0),COLOR009900;

    BB:100,POINTDOT,LINETHICK2,COLORRED;

    AA:200,COLORYELLOW;

    CC:300,POINTDOT,LINETHICK2,COLORGREEN;

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

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

    V3:=EMA(V2,5);

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

    庄秘撤: IF(V4=0,V4,0),COLOR00FF00,LINETHICK2;

    庄秘进: IF(V4=0,V4,0),COLORFF00FF,LINETHICK2;

    V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

    V6:=EMA(3*V5-2*SMA(V5,18,1),5);

    V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

    V8:=(INDEXC*2+INDEXH+INDEXL)/4;

    V9:=EMA(V8,13)-EMA(V8,34);

    VA:=EMA(V9,3);

    VB:=(V9-VA)/2;

    大筹金进场: IF(VB=0,VB,0),COLORYELLOW,LINETHICK2;

    大筹金撤走: IF(VB=0,VB,0),COLORBLUE,LINETHICK2;

    aa:=WINNER(CLOSE+CLOSE*15/100)*100;

    bb:=WINNER(CLOSE+CLOSE*0/100)*100;

    cc:=aa-bb;

    dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;

    ee:=cc3 and dd0.5 and OPENLOW;

    a1:=DYNAINFO(6);

    a2:=IF(LOWa1,0,IF(HIGHa1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));

    a3:=VOL/WINNER(LOW);

    a4:=REF(HHV(CLOSE,120),1);

    a5:=REF(LLV(CLOSE,120),1);

    a6:=100*(CLOSE-a5)/(a4-a5);

    a7:=a20 or a2=1;

    a8:=a7 and a3/REF(a3,3)=3 and a680;

    a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);

    a10:=a8 and a9;

    a11:=IF(FILTER(a8,3),5,0);

    a12:=IF(FILTER(a10,3) or ee,10,0);

    筹码进场日:IF(a11,8,0),LINETHICK0;

    STICKLINE(a12,0,15,5,0),colorff00ff;

    筹码加仓日:IF(a12,88,0),LINETHICK0;

    STICKLINE(a12,0,15,5,0),colorff00ff;

    STICKLINE(a11,0,5,5,0),colorff7700;

    STICKLINE(a11,0,5,4.5,0),colorff8800;

    STICKLINE(a11,0,5,4,0),colorff9900;

    STICKLINE(a11,0,5,3.5,0),colorffaa00;

    STICKLINE(a11,0,5,3,0),colorffbb00;

    STICKLINE(a11,0,5,2.5,0),colorffcc00;

    STICKLINE(a11,0,5,2,0),colorffdd00;

    STICKLINE(a11,0,5,1,0),colorffee00;

    STICKLINE(a12,0,15,4.5,0),color102099;

    STICKLINE(a12,0,15,4,0),color1020aa;

    STICKLINE(a12,0,15,3.5,0),color1020bb;

    STICKLINE(a12,0,15,3,0),color1020cc;

    STICKLINE(a12,0,15,2.5,0),color1020dd;

    STICKLINE(a12,0,15,2,0),color1020ee;

    STICKLINE(a12,0,15,1,0),color1020ff;

    DRAWTEXT(a11,8, #39;筹码进场 #39;);

    DRAWTEXT(a12,17, #39;筹码加仓 #39;);

    Var1:=REF(LOW,1);

    Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;

    Var3:=EMA(Var2,13);

    Var4:=LLV(LOW,34);

    Var5:=EMA(IF(LOW=Var4,Var3,0),3);

    主力进场:

    STICKLINE(Var5REF(Var5,1),0,Var5,7,0 ),COLORRED;

    洗盘:IF(VAR5REF(VAR5,1),VAR5,0),COLORGREEN,LINETHICK2;

    STICKLINE(VAR5REF(VAR5,1),0,VAR5,2,1),COLORGREEN;

    Var6:=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);

    Var7:=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);

    Var8:=Var6REF(Var7,1) AND VOLREF(VOL,1) AND CLOSEREF(CLOSE,1);

    DRAWTEXT(Var8 AND COUNT(Var8,30)=1,40, #39;★注意有筹码进场迹象 #39;);


    image.png



       引用:


       


       

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 筹码平均线指标公式 筹码平均成本线指标公式 加入收藏