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

    正文概述    2024-04-14 15:36:33  

    说明:
    0.筹码峰指标任何周期可用,量能平台现在的参数是一分钟线的,日线和其他周期可以自行调整它的参数,就一句话.
    1)筹码峰就是把成交量按照一定的算法在主图的价位上横向的表现出来,判断压力支撑很形象,也是量价分析的得力辅助.
    2)量能平台是取一定周期的最大成交量价位划一条横线,这种画法也有很好的效果
    3)具体的判断方法可以搜索相关内容..

    源码

    //量能平台
    DRAWSL(V/CAPITAL*100>0.3 AND V>=HHV(V,100),C,0,200,0),coloryellow;
    //筹码分布 作者:南客
    oa:=0.98;
    a0:=BARSCOUNT(c);a3:=SYSPARAM(3);a2:=SYSPARAM(2);a4:=SYSPARAM(4);
    a5:=SYSPARAM(5);a6:=SYSPARAM(1);n0:=a3-a2;nn:=a0-a2;h1:=(a4-a5)/8;
    h2:=h1/4;l1:=llv(l,n0);ll2:=l1[a3];
    y0:=a0>=a2;vv:=if(y0=1 and a6>=a0,v,0);
    c1:=if(BETWEEN(c,a4-0*h1,a4-1*h1),vv,0);
    c2:=if(BETWEEN(c,a4-1*h1,a4-2*h1),vv,0);
    c3:=if(BETWEEN(c,a4-2*h1,a4-3*h1),vv,0);
    c4:=if(BETWEEN(c,a4-3*h1,a4-4*h1),vv,0);
    c5:=if(BETWEEN(c,a4-4*h1,a4-5*h1),vv,0);
    c6:=if(BETWEEN(c,a4-5*h1,a4-6*h1),vv,0);
    c7:=if(BETWEEN(c,a4-6*h1,a4-7*h1),vv,0);
    c8:=if(BETWEEN(c,a4-7*h1,a4-8*h1),vv,0);
    c9:=if(BETWEEN(c,a4-8*h1,a4-9*h1),vv,0);
    c10:=if(BETWEEN(c,a4-9*h1,a4-10*h1),vv,0);
    v1:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c1,n0),0),2));
    v2:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c2,n0),0),2));
    v3:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c3,n0),0),2));
    v4:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c4,n0),0),2));
    v5:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c5,n0),0),2));
    v6:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c6,n0),0),2));
    v7:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c7,n0),0),2));
    v8:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c8,n0),0),2));
    v9:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c9,n0),0),2));
    v10:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c10,n0),0),2));
    av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,v10)))))))));
    x1:=v1/av0>=nn/n0 and nn>=0;x2:=v2/av0>=nn/n0 and nn>=0;
    x3:=v3/av0>=nn/n0 and nn>=0;x4:=v4/av0>=nn/n0 and nn>=0;
    x5:=v5/av0>=nn/n0 and nn>=0;x6:=v6/av0>=nn/n0 and nn>=0;
    x7:=v7/av0>=nn/n0 and nn>=0;x8:=v8/av0>=nn/n0 and nn>=0;
    FILLRGN(v1/av0>=nn/n0 and nn>=0,a4-0*h1,a4-1*h1+h1*oa),Colorgray;
    FILLRGN(v2/av0>=nn/n0 and nn>=0,a4-1*h1,a4-2*h1+h1*oa),Colorgray;
    FILLRGN(v3/av0>=nn/n0 and nn>=0,a4-2*h1,a4-3*h1+h1*oa),Colorgray;
    FILLRGN(v4/av0>=nn/n0 and nn>=0,a4-3*h1,a4-4*h1+h1*oa),Colorgray;
    FILLRGN(v5/av0>=nn/n0 and nn>=0,a4-4*h1,a4-5*h1+h1*oa),Colorgray;
    FILLRGN(v6/av0>=nn/n0 and nn>=0,a4-5*h1,a4-6*h1+h1*oa),Colorgray;
    FILLRGN(v7/av0>=nn/n0 and nn>=0,a4-6*h1,a4-7*h1+h1*oa),Colorgray;
    FILLRGN(v8/av0>=nn/n0 and nn>=0,a4-7*h1,a4-8*h1+h1*oa),Colorgray;
    DRAWNUMBER(FILTER(refx(x10,10),a4,a4-0*h1,2),COLOR00FF00;
    DRAWNUMBER(FILTER(refx(x20,10),(a4-1*h1),a4-1*h1,2),COLOR00FF00;
    DRAWNUMBER(FILTER(refx(x30,10),(a4-2.7*3*h2),a4-2*h1,2),COLOR00FF00;
    DRAWNUMBER(FILTER(refx(x40,10),(a4-12*h2),a4-3*h1,2),COLOR00FF00;
    DRAWNUMBER(FILTER(refx(x50,10),(a4-16*h2),a4-4*h1,2),COLOR00FF00;
    DRAWNUMBER(FILTER(refx(x60,10),(a4-20*h2),a4-5*h1,2),COLOR00FF00;
    DRAWNUMBER(FILTER(refx(x70,10),(a4-24*h2),a4-6*h1,2),COLOR00FF00;
    DRAWNUMBER(FILTER(refx(x80,5),10),ll2+1*4*h2,a4-7*h1,2),COLOR00FF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 量能平台和筹码峰 源码 说明 加入收藏