最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 飞狐宝宝鹰贝贝眼副图指标

    正文概述    2024-04-14 15:06:52  

    源码

    DRAWGBK(CLOSE>1,COLORRGB(50,80,40),COLORRGB(20,70,110),1);
    A0:=BARSCOUNT(CLOSE);
    A3:=SYSPARAM(3);
    A2:=SYSPARAM(2);
    A4:=SYSPARAM(4);
    A5:=SYSPARAM(5);
    NN0:=A3-A2;
    NN:=A0-A2;
    HH1:=(A4-A5)/8;
    Y0:=A0>=A2;
    VV0:=IF(Y0=1 AND SYSPARAM(1)>=A0,VOL,0);
    C1:=IF(BETWEEN(CLOSE,A4-0*HH1,A4-1*HH1),VV0,0);
    C2:=IF(BETWEEN(CLOSE,A4-1*HH1,A4-2*HH1),VV0,0);
    C3:=IF(BETWEEN(CLOSE,A4-2*HH1,A4-3*HH1),VV0,0);
    C4:=IF(BETWEEN(CLOSE,A4-3*HH1,A4-4*HH1),VV0,0);
    C5:=IF(BETWEEN(CLOSE,A4-4*HH1,A4-5*HH1),VV0,0);
    C6:=IF(BETWEEN(CLOSE,A4-5*HH1,A4-6*HH1),VV0,0);
    C7:=IF(BETWEEN(CLOSE,A4-6*HH1,A4-7*HH1),VV0,0);
    C8:=IF(BETWEEN(CLOSE,A4-7*HH1,A4-8*HH1),VV0,0);
    C9:=IF(BETWEEN(CLOSE,A4-8*HH1,A4-9*HH1),VV0,0);
    C10:=IF(BETWEEN(CLOSE,A4-9*HH1,A4-10*HH1),VV0,0);
    V1:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C1,NN0),0),2));
    V2:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C2,NN0),0),2));
    V3:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C3,NN0),0),2));
    V4:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C4,NN0),0),2));
    V5:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C5,NN0),0),2));
    V6:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C6,NN0),0),2));
    V7:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C7,NN0),0),2));
    V8:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C8,NN0),0),2));
    V9:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C9,NN0),0),2));
    V10:=STRTONUM(NUMTOSTR(IF(ISLASTBAR,SUM(C10,NN0),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/NN0 AND NN>=0;
    FILLRGN(V1/AV0>=NN/NN0 AND NN>=0,A4-0*HH1,A4-1*HH1+HH1*0.9),colorFF0000;
    FILLRGN(V2/AV0>=NN/NN0 AND NN>=0,A4-1*HH1,A4-2*HH1+HH1*0.9),color555555;
    FILLRGN(V3/AV0>=NN/NN0 AND NN>=0,A4-2*HH1,A4-3*HH1+HH1*0.9),color666666;
    FILLRGN(V4/AV0>=NN/NN0 AND NN>=0,A4-3*HH1,A4-4*HH1+HH1*0.9),color777777;
    FILLRGN(V5/AV0>=NN/NN0 AND NN>=0,A4-4*HH1,A4-5*HH1+HH1*0.9),color888888;
    FILLRGN(V6/AV0>=NN/NN0 AND NN>=0,A4-5*HH1,A4-6*HH1+HH1*0.9),color999999;
    FILLRGN(V7/AV0>=NN/NN0 AND NN>=0,A4-6*HH1,A4-7*HH1+HH1*0.9),colorAAAAAA;
    FILLRGN(V8/AV0>=NN/NN0 AND NN>=0,A4-7*HH1,A4-8*HH1+HH1*0.9),colorBBBBBB;
    DRAWNUMBER(REFX(X10,A4*1.03,A4-0*HH1,2);
    RSV:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55));
    K:=SMA(RSV,21,1);
    D:=SMA(K,5,1);
    J:=3*K-2*D;
    三线开花:=(K+D+J)/3-13;
    三线开花2:=(HIGH+LOW+CLOSE*2)/4;
    三线开花3:=EMA(三线开花2,10);
    三线开花4:=STD(三线开花2,10);
    实战素质:=(三线开花2-三线开花3)/三线开花4;
    三线开花6:=EMA(三线开花2,3.5);
    KLK:=EMA(三线开花6,21);
    KS:=(三线开花+KLK)/2-13;
    M:=REF(LOW,5)/LOW;
    M1:=EMA(M,21)/M*CLOSE;
    CD:=EMA(M1,55);
    平均成本:=IF(KS>KLK,CD,CD);
    STICKLINE(三线开花2<平均成本,平均成本,三线开花2,1,0),POINTDOT,color999900;
    STICKLINE(三线开花2>平均成本,平均成本,三线开花2,1,0),POINTDOT,color330099;
    STICKLINE(三线开花3<平均成本,平均成本,三线开花3,1,0),POINTDOT,color6633;
    宝一线:EMA(CLOSE,55),LINETHICK0;
    宝二线:EMA(EMA(HIGH,55),3.5),LINETHICK0,colorFF00;
    STICKLINE(宝二线>宝一线,宝二线,宝一线,1,0),colorBBBBBB;
    STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,8,0),colorFF00FF;
    STICKLINE(CLOSE>MA(CLOSE,10),HIGH,LOW,1,0),colorDDFF;
    STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,8,0),colorAAFF;
    STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,6.6,0),colorBBFF;
    STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,4.4,0),colorCCFF;
    STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,3.3,0),colorDDFF;
    STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,2.2,0),colorEEFF;
    STICKLINE(CLOSE>MA(CLOSE,10),CLOSE,OPEN,1,0),colorFFFF;
    STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,8,0),colorFF0000;
    STICKLINE(CLOSE<=MA(CLOSE,10),HIGH,LOW,1,0),colorFF0000;
    STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,8,0),colorFF5D10;
    STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,6,0),colorFF8810;
    STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,4,0),colorFF7710;
    STICKLINE(CLOSE<=MA(CLOSE,10),CLOSE,OPEN,2,0),colorFF9910;
    STICKLINE(CLOSE<=MA(CLOSE,10),HIGH,LOW,1,0),colorFF6610;
    STICKLINE(MA(CLOSE,5)<=MA(CLOSE,10),CLOSE,OPEN,8,0),colorFFAA00;
    STICKLINE(MA(CLOSE,5)<=MA(CLOSE,10),CLOSE,OPEN,6,0),colorFFBB11;
    STICKLINE(MA(CLOSE,5)<=MA(CLOSE,10),CLOSE,OPEN,4,0),colorFFCC22;
    STICKLINE(MA(CLOSE,5)<=MA(CLOSE,10),CLOSE,OPEN,2,0),colorFFDD33;
    STICKLINE(MA(CLOSE,5)<=MA(CLOSE,10),CLOSE,OPEN,2,0),colorFFEE44;
    STICKLINE(MA(CLOSE,5)<=MA(CLOSE,10),LOW,HIGH,1,0),colorFFFF55;
    STICKLINE(CLOSE=MA(CLOSE,3),LOW,HIGH,1,1),colorFF00FF;
    STICKLINE(CLOSE=MA(CLOSE,3),CLOSE,OPEN,8,0),LINETHICK0,colorFF00FF;
    STICKLINE(CLOSE=MA(CLOSE,3),CLOSE,OPEN,6,0),LINETHICK0,colorFF43FF;
    STICKLINE(CLOSE=MA(CLOSE,3),CLOSE,OPEN,4,0),LINETHICK0,colorFF63FF;
    STICKLINE(CLOSE=MA(CLOSE,3),CLOSE,OPEN,2,0),LINETHICK0,colorFF83FF;
    STICKLINE(CLOSE=MA(CLOSE,3),CLOSE,OPEN,1,0),colorFF93FF;
    STICKLINE(CLOSE=MA(CLOSE,5),CLOSE,OPEN,8,0),color10A210;
    STICKLINE(CLOSE=MA(CLOSE,5),CLOSE,OPEN,6,0),color10B210;
    STICKLINE(CLOSE=MA(CLOSE,5),CLOSE,OPEN,4,0),color10C210;
    STICKLINE(CLOSE=MA(CLOSE,5),LOW,HIGH,1.1,0),color10D210;
    STICKLINE(MA(CLOSE,5)=MA(CLOSE,10),CLOSE,OPEN,8,0),colorBB;
    STICKLINE(MA(CLOSE,5)=MA(CLOSE,10),CLOSE,OPEN,6,0),color11BB;
    STICKLINE(MA(CLOSE,5)=MA(CLOSE,10),CLOSE,OPEN,4,0),color22CC;
    STICKLINE(MA(CLOSE,5)=MA(CLOSE,10),CLOSE,OPEN,3,0),color33DD;
    STICKLINE(MA(CLOSE,5)=MA(CLOSE,10),CLOSE,OPEN,2,0),color44EE;
    STICKLINE(MA(CLOSE,5)=MA(CLOSE,10),LOW,HIGH,1,0),color55FF;
    贝贝线:EMA(EMA(CLOSE,20),3.5),LINETHICK0,colorFF;
    宝宝贝贝:EMA(CLOSE,89),LINETHICK0,colorFF00FF;
    初理念:=((CLOSE-REF(宝二线,1))/20+宝二线)*1.13;
    TT1:=CROSS(宝二线,宝一线) AND CROSS(宝二线,宝宝贝贝) AND VOL>REF(VOL,1);
    TT2:=宝二线>REF(宝二线,2) AND VOL>REF(VOL,1) AND CROSS(CLOSE,宝二线);
    STICKLINE(TT1,LOW,LOW-0.09,4,0),colorFFFF;
    STICKLINE(CROSS(CLOSE,宝一线) AND CROSS(CLOSE,宝宝贝贝) AND CROSS(CLOSE,宝二线),LOW,LOW,8,1),colorFFFF;
    STICKLINE(TT2,LOW,CLOSE,8,0),color99FF;
    STICKLINE(TT2,LOW,CLOSE,6,0),color66FF;
    STICKLINE(TT2,LOW,CLOSE,4,0),color33FF;
    STICKLINE(TT2,LOW,CLOSE,2,0),color11FF;
    STICKLINE(TT2,LOW,HIGH,1,0),color11FF;
    STICKLINE(TT2,HIGH,LOW,1,0),color11FF;
    STICKLINE(CROSS(CLOSE,初理念),HIGH,CLOSE,8,0),colorFF00;
    STICKLINE(宝宝贝贝>=REF(宝宝贝贝,1) AND 宝二线>=REF(宝二线,1) AND CROSS(CLOSE,宝宝贝贝),LOW,CLOSE,8,0),colorA1;
    STICKLINE(宝宝贝贝>=REF(宝宝贝贝,1) AND 宝二线>=REF(宝二线,1) AND CROSS(CLOSE,宝宝贝贝),LOW,CLOSE,6,0),colorB5;
    STICKLINE(宝宝贝贝>=REF(宝宝贝贝,1) AND 宝二线>=REF(宝二线,1) AND CROSS(CLOSE,宝宝贝贝),LOW,CLOSE,4,0),colorC5;
    STICKLINE(宝宝贝贝>=REF(宝宝贝贝,1) AND 宝二线>=REF(宝二线,1) AND CROSS(CLOSE,宝宝贝贝),LOW,CLOSE,2,0),colorD4;
    STICKLINE(宝宝贝贝>=REF(宝宝贝贝,1) AND 宝二线>=REF(宝二线,1) AND CROSS(CLOSE,宝宝贝贝),LOW,CLOSE,1,0),colorEC;
    STICKLINE(宝宝贝贝>=REF(宝宝贝贝,1) AND 宝二线>=REF(宝二线,1) AND CROSS(CLOSE,宝宝贝贝),LOW,LOW,1,0),colorEC;
    STICKLINE(宝宝贝贝>=REF(宝宝贝贝,1) AND 宝二线>=REF(宝二线,1) AND CROSS(CLOSE,宝宝贝贝),LOW,HIGH,1,0),colorEC;
    STICKLINE(宝一线>=REF(宝一线,1) AND CROSS(CLOSE,宝二线) AND CROSS(CLOSE,宝一线) AND VOL>REF(VOL,1),LOW,LOW,6,1),colorFF00FF;
    M:=60;
    X:=5;
    P:=SYSPARAM(3);
    WS:=BARPOS;
    WS1:=IF(WS WSP:=P-WS1+1;
    WSP1:=WS1-1;
    H1:=HHV(HIGH,WS1);
    L1:=LLV(LOW,WS1);
    HP:=H1[P];
    LP:=L1[P];
    HLPX:=(HP-LP)/X;
    IF WS1[P]>1 THEN BEGIN
    END;
    N:=SYSPARAM(3)-SYSPARAM(1)+1;
    A:=BACKSET(ISLASTBAR,HHVBARS(HIGH,N)+1);
    B:=COUNT(A,N)=1;
    前高:=REF(HIGH,BARSLAST(B));
    A2:=BACKSET(ISLASTBAR,LLVBARS(LOW,N)+1);
    B2:=A2>REF(A2,1);
    前低:=REF(LOW,BARSLAST(B2));
    DRAWSL(BARPOS=SYSPARAM(3),LP+HLPX,0,N-1,1),POINTDOT,colorCC0099;
    DRAWNUMBER(BARPOS=SYSPARAM(3),LP+HLPX,LP+HLPX,2),SHIFT2,color6688CC;
    DRAWSL(BARPOS=SYSPARAM(3),LP+HLPX*2,0,N-1,1),POINTDOT,colorCC0088;
    DRAWNUMBER(BARPOS=SYSPARAM(3),LP+HLPX*2,LP+HLPX*2,2),SHIFT2,color6677CC;
    DRAWSL(BARPOS=SYSPARAM(3),LP+HLPX*3,0,N-1,1),POINTDOT,colorCC0077;
    DRAWNUMBER(BARPOS=SYSPARAM(3),LP+HLPX*3,LP+HLPX*3,2),SHIFT2,color6655CC;
    DRAWSL(BARPOS=SYSPARAM(3),LP+HLPX*4,0,N-1,1),POINTDOT,colorCC0066;
    DRAWNUMBER(BARPOS=SYSPARAM(3),LP+HLPX*4,LP+HLPX*4,2),SHIFT2,color6611CC;
    DRAWSL(BARPOS=SYSPARAM(3),HP,0,N-1,1),POINTDOT,colorCC0055;
    DRAWNUMBER(BARPOS=SYSPARAM(3),HP,HP,2),SHIFT2,color6622CC;
    DRAWSL(BARPOS=SYSPARAM(3),LP,0,N-1,1),POINTDOT,colorCC0044;
    DRAWNUMBER(BARPOS=SYSPARAM(3),LP,LP,2),SHIFT2,color6633CC;
    NJN:=SYSPARAM(3)-SYSPARAM(2);
    A:=BACKSET(ISLASTBAR,HHVBARS(HIGH,NJN)+1);
    B:=COUNT(A,NJN)=1;
    REF(HIGH,BARSLAST(B)),color336600;
    DRAWNUMBER(ISLASTBAR,前高,前高,2),POINTDOT,PXUP4,color336600;
    A2:=BACKSET(ISLASTBAR,LLVBARS(LOW,NJN)+1);
    B2:=A2>REF(A2,1);
    REF(LOW,BARSLAST(B2)),color6633CC;
    DRAWNUMBER(ISLASTBAR,前低,前低,2),POINTDOT,PXUP4,color336600;
    DRAWTEXT(SYSPARAM(2)=BARSCOUNT(CLOSE),三线开花2,'指标:宝宝鹰贝贝眼系列'),ALIGN4,colorFF;
    DRAWTEXT(SYSPARAM(2)=BARSCOUNT(CLOSE),三线开花2,'                         感谢:博庭南客成本筹码   原理:筹码对应操盘利润空间   概念:三线开花  拐点火车轨   解盘:五彩K棒知悟趋势   功能:计算前高前低空间    使用:短线快刀手  天天5%'),ALIGN4,colorBBBBBB;
    DRAWTEXT(SYSPARAM(2)=BARSCOUNT(CLOSE),三线开花2,'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            【宝宝鹰和贝贝眼经常对话精华】:业绩好的股票  啵一个    趋势强资金多的股票  咬一口   对市场要心里充满爱'),ALIGN4,colorFFFF;
    A:=BARSCOUNT(CLOSE)-1;
    上市年:=REF(YEAR,A);
    月:=REF(MONTH,A);
    日:=REF(DAY,A);
    历史最高价:=HHV(HIGH,0);
    历史最低价:=LLV(LOW,0);
    总股本:=FINANCE(1);
    流通股【亿】:=CAPITAL/1000000;
    每股公积金:=FINANCE(18);
    净利润:=FINANCE(30);
    未分配利润:=FINANCE(32);
    每股净资产:=FINANCE(34);
    每股收益:=FINANCE(33);
    调整每股净资产:=FINANCE(35);
    经营现金流入:=FINANCE(38);
    经营现金流出:=FINANCE(39);
    经营现金流量:=FINANCE(40);
    发行价:=FINANCE(51);
    发行量【亿】:=FINANCE(52)/10000;
    市盈率:=DYNAINFO(39);
    流通市值:=DYNAINFO(42);
    EXPLAIN(1,'       '+STKNAME+'     '+STKLABEL),colorFF;
    EXPLAINEX(1=1,'上市年',上市年,0,0),colorFFB97A;
    EXPLAINEX(1=1,'月',月,0,0),colorFFB97A;
    EXPLAINEX(1=1,'日',日,0,0),colorFFB97A;
    EXPLAINEX(总股本=总股本,'总股本=',总股本,2,0),colorFF99;
    EXPLAINEX(流通股【亿】=流通股【亿】,'流通股【亿】=',流通股【亿】,2,0),colorFF99;
    EXPLAINEX(流通市值=流通市值,'流通市值=',流通市值,2,1),colorFF99;
    EXPLAINEX(发行价=发行价,'发行价=',发行价,2,0),colorFF00CC;
    EXPLAINEX(发行量【亿】=发行量【亿】,'发行量【亿】=',发行量【亿】,2,0),colorFF00CC;
    EXPLAINEX(市盈率=市盈率,'市盈率=',市盈率,2,1),colorFF00CC;
    EXPLAINEX(历史最高价=历史最高价,'历史最高价=',历史最高价,2,0),colorFFFF;
    EXPLAINEX(历史最低价=历史最低价,'历史最低价=',历史最低价,2,1),colorFFFF;
    EXPLAINEX(每股收益=每股收益,'每股收益额=',每股收益,2,0),colorFF00FF;
    EXPLAINEX(每股公积金=每股公积金,'每股公积金=',每股公积金,2,1),colorFF00FF;
    EXPLAINEX(净利润=净利润,'每股净利润=',净利润,2,0),colorFFFF00;
    EXPLAINEX(未分配利润=未分配利润,'未分配利润=',未分配利润,2,1),colorFFFF00;
    EXPLAINEX(每股净资产=每股净资产,'每股净资产=',每股净资产,2,0),colorFFFF00;
    EXPLAINEX(调整每股净资产=调整每股净资产,'调整每股净资产=',调整每股净资产,2,1),colorFFFF00;
    EXPLAINEX(经营现金流量=经营现金流量,'经营现金流量=',经营现金流量,2,0),color99CC;
    EXPLAINEX(经营现金流入=经营现金流入,'经营现金流入=',经营现金流入,2,0),color99CC;
    EXPLAINEX(经营现金流出=经营现金流出,'经营现金流出=',经营现金流出,2,1),color99CC;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐宝宝鹰贝贝眼副图指标 加入收藏