最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 龙虎团队 荆州量学金融终端主图十六 通达信指标 九毛八公式指标网 可以当参考

    正文概述    2024-04-07 11:00:10  

    龙虎团队 荆州量学金融终端主图十六 通达信指标 源码 贴图

    龙虎团队 荆州量学金融终端主图十六 通达信指标 源码 贴图

    {涨跌停价格显示};

    AA:=(C-REF(C,1))/REF(C,1)*100;
    ZS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND AA =4.945;
    DS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND AA =-4.945;
    涨停价:IF(ZS,REF(C,1)*1.05,REF(C,1)*1.1),NODRAW,COLORRED;
    跌停价:IF(DS,REF(C,1)*0.95,REF(C,1)*0.9),NODRAW,COLORGREEN;

    {涨跌停K线标识};
    ST:=NAMELIKE('ST')=1 OR NAMELIKE('*ST')=1 OR NAMELIKE('SST')=1
    OR NAMELIKE('S*ST')=1 OR NAMELIKE('S ST')=1;
    涨停:=C=ZTPRICE(REF(CLOSE,1),0.1) OR (C/REF(C,1) 1.0495 AND ST);
    跌停:=REF(C,1)/C 1.0995 OR (REF(C,1)/C 1.0495 AND ST);
    STICKLINE(涨停,C,O,3,0),COLORMAGENTA;
    STICKLINE(跌停,C,O,3,0),COLORGREEN;
    DRAWICON(H=ZTPRICE(REF(CLOSE,1),0.1) AND C!=H,L*0.965,15);
    LDM4:=CONST(HHV(REF(HIGH,1),240));
    LDM5:=CONST(LLV(REF(LOW,1),240));
    LDM6:=LDM4-LDM5;
    LDM7:=LOW-LDM6*0.03;
    LDM8:=HIGH+LDM6*0.03;
    LDM9:=CLOSE
    LDM10:=MAX(CLOSE,OPEN);
    LDM11:=MIN(CLOSE,OPEN);
    LDM12:=0;
    LDM13:=1;
    LDM14:=IF(LDM9,HIGH,LDM10);
    LDM15:=IF(LDM9,LOW,LDM11);
    LDM16:=IF(CLOSE OPEN,IF(LDM13=0,LOW,LDM15),IF(LDM13=0,HIGH,LDM14));
    LDM17:=2/1000;
    LDM18:=CURRBARSCOUNT;
    LDM19:=400;
    LDM20:=LDM18 =LDM19;
    LDM21:=LOW;
    LDM22:=IF(LDM12=0,LDM21,REF(LDM12,LDM12));
    基准价:IF(LDM20,CONST(LDM22),DRAWNULL),DOTLINE,COLORRED;
    LDM23:=基准价;
    LDM24:=LDM23*LDM17;
    LDM25:=ABS(LOW-LDM23) =LDM24;
    LDM26:=ABS(OPEN-LDM23) =LDM24;
    LDM27:=ABS(CLOSE-LDM23) =LDM24;
    LDM28:=ABS(HIGH-LDM23) =LDM24;
    LDM29:=LDM25 OR LDM26 OR LDM27 OR LDM28 AND LDM20 AND LDM18!=1;
    LDM30:=COUNT(LDM29,LDM19);
    精准点个数:IF(LDM30 0,LDM30+1,0),NODRAW,COLORRED;

    {假阳真阴}
    均价:=AMOUNT/VOL/100;
    假阳:=C O AND REF(C,1) 均价 AND C 均价 AND C 300 ;
    STICKLINE(假阳,O,C,1,0)COLORLICYAN;
    标志阴:=REF(C,1)/C 1.04;
    STICKLINE(标志阴,O,C,1,0)COLORWHITE;

    {假阴真阳}
    假阴:=O C AND 均价 REF(C,1) AND C MA(C,5);
    STICKLINE(假阴,O,C,1,0),COLORRED;

    第一组:=REF(H-REF(L,1),1);
    第二组:=REF(REF(H,1)-REF(L,2),1);
    第三组:=REF(REF(H,2)-REF(L,3),1);
    平均值:=(第一组+第二组+第三组)/3;
    上线:=平均值+REF(L,1);
    平均波动:=REF(((H-L)+(REF(H,1)-REF(L,1))+(REF(H,2)-REF(L,2)))/3,1);
    下线:=上线-平均波动;
    中线:=(上线+下线)/2;

    D_2R3_ZQ1:=CURRBARSCOUNT
    D_2R3_ZQ2:=CURRBARSCOUNT
    D_2R3X1:=IF(D_2R3_ZQ1, 上线, DRAWNULL);
    D_2R3X2:=IF(D_2R3_ZQ1, 中线, DRAWNULL);
    D_2R3X3:=IF(D_2R3_ZQ1, 下线, DRAWNULL);
    D_2R3X11:IF(D_2R3_ZQ2,D_2R3X1,DRAWNULL);
    D_2R3X12:IF(D_2R3_ZQ2,D_2R3X2,DRAWNULL);
    D_2R3X13:IF(D_2R3_ZQ2,D_2R3X3,DRAWNULL);
    STICKLINE(D_2R3_ZQ2 ,D_2R3X11,D_2R3X11,20,-1),COLORLIBLUE;
    STICKLINE(D_2R3_ZQ2 ,D_2R3X12,D_2R3X12,20,-1),COLORYELLOW;
    STICKLINE(D_2R3_ZQ2 ,D_2R3X13,D_2R3X13,20,-1),COLORWHITE;
    DRAWTEXT(D_2R3_ZQ1,D_2R3X11,' 上线'),COLORLIBLUE;
    DRAWTEXT(D_2R3_ZQ1,D_2R3X12,' 中线'),COLORMAGENTA;
    DRAWTEXT(D_2R3_ZQ1,D_2R3X13,' 下线'),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR AND C 上线 AND C 中线 AND C =O,0.85,0.95,0,'【高不过,必回落】'),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR AND C 中线 AND C 下线 AND C =O,0.85,0.95,0,'【中线破,快逃脱】'),COLORWHITE;
    DRAWTEXT_FIX( ISLASTBAR AND C 下线 , 0.85,0.95,0,'【下线破,把路夺】'),COLORWHITE;
    DRAWTEXT_FIX( ISLASTBAR AND C 上线 AND C O , 0.85,0.95,0,'【上线过,可做多】'),COLORWHITE;
    DRAWTEXT_FIX( ISLASTBAR AND C 中线 AND C 上线 AND C O, 0.85,0.95,0,'【中线过,分强弱】'),COLORWHITE;
    DRAWTEXT_FIX( ISLASTBAR AND C 下线 AND C 中线 AND C O, 0.85,0.95,0,'【中线下,走势弱】'),COLORWHITE;



    上榜:=SIGNALS_USER(300, 0), NODRAW; {上榜金额 1,则表示上榜了,这个是上榜总金额}
    净买入:=SIGNALS_USER(299, 0), NODRAW;

    大宗 :=SIGNALS_USER(298, 0), NODRAW; {大宗交易, 大宗交易的价格超过收盘价,叫溢价,低于收盘价叫折价}
    NAME_298 := '↖ 大宗:';
    OUTTEXT_298:=VARCAT(VARCAT(NAME_298, ' '), VAR2STR(大宗, 0)), NODRAW;
    DRAWTEXT((大宗 =0),O,OUTTEXT_298),COLORD2D2D2;
    DRAWTEXT((大宗 =0),O,OUTTEXT_298),COLORD2D2D2;

    NAME_515 := '↖东兴福州系: ';
    BUY_515 := SIGNALS_USER(515, 0);
    XSW_515 := ROUND( (ABS(FRACPART(BUY_515))) * 100.0 );
    B1_515:= IF((XSW_515 =8) && (XSW_515 18), '买1,', '');
    B2_515:= IF((XSW_515 =18) && (XSW_515 28), '买2,', '');
    B3_515:= IF((XSW_515 =28) && (XSW_515 38), '买3,', '');
    B4_515:= IF((XSW_515 =38) && (XSW_515 48), '买4,', '');
    B5_515:= IF((XSW_515 =48) && (XSW_515 58), '买5,', '');
    XSW2_515 := IF(XSW_515 10.0, ROUND(FRACPART(XSW_515/10) * 10), XSW_515);
    S1_515:= IF((XSW2_515 =0.8 ) && (XSW2_515 1.7 ) || (XSW2_515=1.0), '卖1,', '');
    S2_515:= IF((XSW2_515 =2.1 ) && (XSW2_515 2.7 ) || (XSW2_515=2.0), '卖2,', '');
    S3_515:= IF((XSW2_515 =3.1 ) && (XSW2_515 3.7 ) || (XSW2_515=3.0), '卖3,', '');
    S4_515:= IF((XSW2_515 =4.1 ) && (XSW2_515 4.7 ) || (XSW2_515=4.0), '卖4,', '');
    S5_515:= IF((XSW2_515 5.1 ) && (XSW2_515 5.7 ) || (XSW2_515=5.0), '卖5,', '');
    TEXT2_515:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_515, B1_515), B2_515), B3_515), B4_515), B5_515);
    TEXT3_515:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_515, S1_515), S2_515), S3_515), S4_515), S5_515);
    OUTTEXT_515:= VARCAT(VARCAT(TEXT3_515, ' '), VAR2STR(BUY_515 , 0)), NODRAW;
    WZ1_515 := IF((XSW_515 =8) && (XSW_515 56), 104-XSW_515, 1);
    WZ6_515 := IF( (XSW2_515 =1.0) && (XSW2_515 = 6), 50-XSW2_515*8, 0);
    TWZ_515 := IF(XSW_515 =8.0, 1*WZ1_515, 1*WZ6_515 );
    DRAWTEXT( (ABS(BUY_515) = 10) AND (TWZ_515 =1),L, OUTTEXT_515), COLORCCFFC9;

    NAME_514 := '↖朝阳门系: ';
    BUY_514 := SIGNALS_USER(514, 0);
    XSW_514 := ROUND( (ABS(FRACPART(BUY_514))) * 100.0 );
    B1_514:= IF((XSW_514 =8) && (XSW_514 18), '买1,', '');
    B2_514:= IF((XSW_514 =18) && (XSW_514 28), '买2,', '');
    B3_514:= IF((XSW_514 =28) && (XSW_514 38), '买3,', '');
    B4_514:= IF((XSW_514 =38) && (XSW_514 48), '买4,', '');
    B5_514:= IF((XSW_514 =48) && (XSW_514 58), '买5,', '');
    XSW2_514 := IF(XSW_514 10.0, ROUND(FRACPART(XSW_514/10) * 10), XSW_514);
    S1_514:= IF((XSW2_514 =0.8 ) && (XSW2_514 1.7 ) || (XSW2_514=1.0), '卖1,', '');
    S2_514:= IF((XSW2_514 =2.1 ) && (XSW2_514 2.7 ) || (XSW2_514=2.0), '卖2,', '');
    S3_514:= IF((XSW2_514 =3.1 ) && (XSW2_514 3.7 ) || (XSW2_514=3.0), '卖3,', '');
    S4_514:= IF((XSW2_514 =4.1 ) && (XSW2_514 4.7 ) || (XSW2_514=4.0), '卖4,', '');
    S5_514:= IF((XSW2_514 5.1 ) && (XSW2_514 5.7 ) || (XSW2_514=5.0), '卖5,', '');
    TEXT2_514:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_514, B1_514), B2_514), B3_514), B4_514), B5_514);
    TEXT3_514:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_514, S1_514), S2_514), S3_514), S4_514), S5_514);
    OUTTEXT_514:= VARCAT(VARCAT(TEXT3_514, ' '), VAR2STR(BUY_514 , 0)), NODRAW;
    WZ1_514 := IF((XSW_514 =8) && (XSW_514 56), 104-XSW_514, 1);
    WZ6_514 := IF( (XSW2_514 =1.0) && (XSW2_514 = 6), 50-XSW2_514*8, 0);
    TWZ_514 := IF(XSW_514 =8.0, 1*WZ1_514, 1*WZ6_514 );
    DRAWTEXT( (ABS(BUY_514) = 10) AND (TWZ_514 =1), L, OUTTEXT_514), COLORCCFFCE;

    NAME_513 := '↖绍兴系: ';
    BUY_513 := SIGNALS_USER(513, 0);
    XSW_513 := ROUND( (ABS(FRACPART(BUY_513))) * 100.0 );
    B1_513:= IF((XSW_513 =8) && (XSW_513 18), '买1,', '');
    B2_513:= IF((XSW_513 =18) && (XSW_513 28), '买2,', '');
    B3_513:= IF((XSW_513 =28) && (XSW_513 38), '买3,', '');
    B4_513:= IF((XSW_513 =38) && (XSW_513 48), '买4,', '');
    B5_513:= IF((XSW_513 =48) && (XSW_513 58), '买5,', '');
    XSW2_513 := IF(XSW_513 10.0, ROUND(FRACPART(XSW_513/10) * 10), XSW_513);
    S1_513:= IF((XSW2_513 =0.8 ) && (XSW2_513 1.7 ) || (XSW2_513=1.0), '卖1,', '');
    S2_513:= IF((XSW2_513 =2.1 ) && (XSW2_513 2.7 ) || (XSW2_513=2.0), '卖2,', '');
    S3_513:= IF((XSW2_513 =3.1 ) && (XSW2_513 3.7 ) || (XSW2_513=3.0), '卖3,', '');
    S4_513:= IF((XSW2_513 =4.1 ) && (XSW2_513 4.7 ) || (XSW2_513=4.0), '卖4,', '');
    S5_513:= IF((XSW2_513 5.1 ) && (XSW2_513 5.7 ) || (XSW2_513=5.0), '卖5,', '');
    TEXT2_513:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_513, B1_513), B2_513), B3_513), B4_513), B5_513);
    TEXT3_513:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_513, S1_513), S2_513), S3_513), S4_513), S5_513);
    OUTTEXT_513:= VARCAT(VARCAT(TEXT3_513, ' '), VAR2STR(BUY_513 , 0)), NODRAW;
    WZ1_513 := IF((XSW_513 =8) && (XSW_513 56), 104-XSW_513, 1);
    WZ6_513 := IF( (XSW2_513 =1.0) && (XSW2_513 = 6), 50-XSW2_513*8, 0);
    TWZ_513 := IF(XSW_513 =8.0, 1*WZ1_513, 1*WZ6_513 );
    DRAWTEXT( (ABS(BUY_513) = 10) AND (TWZ_513 =1),L, OUTTEXT_513), COLOR8000FF;

    NAME_512 := '↖华鑫系: ';
    BUY_512 := SIGNALS_USER(512, 0);
    XSW_512 := ROUND( (ABS(FRACPART(BUY_512))) * 100.0 );
    B1_512:= IF((XSW_512 =8) && (XSW_512 18), '买1,', '');
    B2_512:= IF((XSW_512 =18) && (XSW_512 28), '买2,', '');
    B3_512:= IF((XSW_512 =28) && (XSW_512 38), '买3,', '');
    B4_512:= IF((XSW_512 =38) && (XSW_512 48), '买4,', '');
    B5_512:= IF((XSW_512 =48) && (XSW_512 58), '买5,', '');
    XSW2_512 := IF(XSW_512 10.0, ROUND(FRACPART(XSW_512/10) * 10), XSW_512);
    S1_512:= IF((XSW2_512 =0.8 ) && (XSW2_512 1.7 ) || (XSW2_512=1.0), '卖1,', '');
    S2_512:= IF((XSW2_512 =2.1 ) && (XSW2_512 2.7 ) || (XSW2_512=2.0), '卖2,', '');
    S3_512:= IF((XSW2_512 =3.1 ) && (XSW2_512 3.7 ) || (XSW2_512=3.0), '卖3,', '');
    S4_512:= IF((XSW2_512 =4.1 ) && (XSW2_512 4.7 ) || (XSW2_512=4.0), '卖4,', '');
    S5_512:= IF((XSW2_512 5.1 ) && (XSW2_512 5.7 ) || (XSW2_512=5.0), '卖5,', '');
    TEXT2_512:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_512, B1_512), B2_512), B3_512), B4_512), B5_512);
    TEXT3_512:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_512, S1_512), S2_512), S3_512), S4_512), S5_512);
    OUTTEXT_512:= VARCAT(VARCAT(TEXT3_512, ' '), VAR2STR(BUY_512 , 0)), NODRAW;
    WZ1_512 := IF((XSW_512 =8) && (XSW_512 56), 104-XSW_512, 1);
    WZ6_512 := IF( (XSW2_512 =1.0) && (XSW2_512 = 6), 50-XSW2_512*8, 0);
    TWZ_512 := IF(XSW_512 =8.0, 1*WZ1_512, 1*WZ6_512 );
    DRAWTEXT( (ABS(BUY_512) = 10) AND (TWZ_512 =1),L, OUTTEXT_512), COLOR9900CC;

    NAME_511 := '↖武定系: ';
    BUY_511 := SIGNALS_USER(511, 0);
    XSW_511 := ROUND( (ABS(FRACPART(BUY_511))) * 100.0 );
    B1_511:= IF((XSW_511 =8) && (XSW_511 18), '买1,', '');
    B2_511:= IF((XSW_511 =18) && (XSW_511 28), '买2,', '');
    B3_511:= IF((XSW_511 =28) && (XSW_511 38), '买3,', '');
    B4_511:= IF((XSW_511 =38) && (XSW_511 48), '买4,', '');
    B5_511:= IF((XSW_511 =48) && (XSW_511 58), '买5,', '');
    XSW2_511 := IF(XSW_511 10.0, ROUND(FRACPART(XSW_511/10) * 10), XSW_511);
    S1_511:= IF((XSW2_511 =0.8 ) && (XSW2_511 1.7 ) || (XSW2_511=1.0), '卖1,', '');
    S2_511:= IF((XSW2_511 =2.1 ) && (XSW2_511 2.7 ) || (XSW2_511=2.0), '卖2,', '');
    S3_511:= IF((XSW2_511 =3.1 ) && (XSW2_511 3.7 ) || (XSW2_511=3.0), '卖3,', '');
    S4_511:= IF((XSW2_511 =4.1 ) && (XSW2_511 4.7 ) || (XSW2_511=4.0), '卖4,', '');
    S5_511:= IF((XSW2_511 5.1 ) && (XSW2_511 5.7 ) || (XSW2_511=5.0), '卖5,', '');
    TEXT2_511:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_511, B1_511), B2_511), B3_511), B4_511), B5_511);
    TEXT3_511:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_511, S1_511), S2_511), S3_511), S4_511), S5_511);
    OUTTEXT_511:= VARCAT(VARCAT(TEXT3_511, ' '), VAR2STR(BUY_511 , 0)), NODRAW;
    WZ1_511 := IF((XSW_511 =8) && (XSW_511 56), 104-XSW_511, 1);
    WZ6_511 := IF( (XSW2_511 =1.0) && (XSW2_511 = 6), 50-XSW2_511*8, 0);
    TWZ_511 := IF(XSW_511 =8.0, 1*WZ1_511, 1*WZ6_511 );
    DRAWTEXT( (ABS(BUY_511) = 10) AND (TWZ_511 =1), L, OUTTEXT_511), COLORFF33FF;

    NAME_510 := '↖南通系: ';
    BUY_510 := SIGNALS_USER(510, 0);
    XSW_510 := ROUND( (ABS(FRACPART(BUY_510))) * 100.0 );
    B1_510:= IF((XSW_510 =8) && (XSW_510 18), '买1,', '');
    B2_510:= IF((XSW_510 =18) && (XSW_510 28), '买2,', '');
    B3_510:= IF((XSW_510 =28) && (XSW_510 38), '买3,', '');
    B4_510:= IF((XSW_510 =38) && (XSW_510 48), '买4,', '');
    B5_510:= IF((XSW_510 =48) && (XSW_510 58), '买5,', '');
    XSW2_510 := IF(XSW_510 10.0, ROUND(FRACPART(XSW_510/10) * 10), XSW_510);
    S1_510:= IF((XSW2_510 =0.8 ) && (XSW2_510 1.7 ) || (XSW2_510=1.0), '卖1,', '');
    S2_510:= IF((XSW2_510 =2.1 ) && (XSW2_510 2.7 ) || (XSW2_510=2.0), '卖2,', '');
    S3_510:= IF((XSW2_510 =3.1 ) && (XSW2_510 3.7 ) || (XSW2_510=3.0), '卖3,', '');
    S4_510:= IF((XSW2_510 =4.1 ) && (XSW2_510 4.7 ) || (XSW2_510=4.0), '卖4,', '');
    S5_510:= IF((XSW2_510 5.1 ) && (XSW2_510 5.7 ) || (XSW2_510=5.0), '卖5,', '');
    TEXT2_510:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_510, B1_510), B2_510), B3_510), B4_510), B5_510);
    TEXT3_510:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_510, S1_510), S2_510), S3_510), S4_510), S5_510);
    OUTTEXT_510:= VARCAT(VARCAT(TEXT3_510, ' '), VAR2STR(BUY_510 , 0)), NODRAW;
    WZ1_510 := IF((XSW_510 =8) && (XSW_510 56), 104-XSW_510, 1);
    WZ6_510 := IF( (XSW2_510 =1.0) && (XSW2_510 = 6), 50-XSW2_510*8, 0);
    TWZ_510 := IF(XSW_510 =8.0, 1*WZ1_510, 1*WZ6_510 );
    DRAWTEXT( (ABS(BUY_510) = 10) AND (TWZ_510 =1),L, OUTTEXT_510), COLOR333399;

    NAME_509 := '↖国金系: ';
    BUY_509 := SIGNALS_USER(509, 0);
    XSW_509 := ROUND( (ABS(FRACPART(BUY_509))) * 100.0 );
    B1_509:= IF((XSW_509 =8) && (XSW_509 18), '买1,', '');
    B2_509:= IF((XSW_509 =18) && (XSW_509 28), '买2,', '');
    B3_509:= IF((XSW_509 =28) && (XSW_509 38), '买3,', '');
    B4_509:= IF((XSW_509 =38) && (XSW_509 48), '买4,', '');
    B5_509:= IF((XSW_509 =48) && (XSW_509 58), '买5,', '');
    XSW2_509 := IF(XSW_509 10.0, ROUND(FRACPART(XSW_509/10) * 10), XSW_509);
    S1_509:= IF((XSW2_509 =0.8 ) && (XSW2_509 1.7 ) || (XSW2_509=1.0), '卖1,', '');
    S2_509:= IF((XSW2_509 =2.1 ) && (XSW2_509 2.7 ) || (XSW2_509=2.0), '卖2,', '');
    S3_509:= IF((XSW2_509 =3.1 ) && (XSW2_509 3.7 ) || (XSW2_509=3.0), '卖3,', '');
    S4_509:= IF((XSW2_509 =4.1 ) && (XSW2_509 4.7 ) || (XSW2_509=4.0), '卖4,', '');
    S5_509:= IF((XSW2_509 5.1 ) && (XSW2_509 5.7 ) || (XSW2_509=5.0), '卖5,', '');
    TEXT2_509:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_509, B1_509), B2_509), B3_509), B4_509), B5_509);
    TEXT3_509:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_509, S1_509), S2_509), S3_509), S4_509), S5_509);
    OUTTEXT_509:= VARCAT(VARCAT(TEXT3_509, ' '), VAR2STR(BUY_509 , 0)), NODRAW;
    WZ1_509 := IF((XSW_509 =8) && (XSW_509 56), 104-XSW_509, 1);
    WZ6_509 := IF( (XSW2_509 =1.0) && (XSW2_509 = 6), 50-XSW2_509*8, 0);
    TWZ_509 := IF(XSW_509 =8.0, 1*WZ1_509, 1*WZ6_509 );
    DRAWTEXT( (ABS(BUY_509) = 10) AND (TWZ_509 =1),L, OUTTEXT_509), COLOR333399;

    NAME_508 := '↖佛山系: ';
    BUY_508 := SIGNALS_USER(508, 0);
    XSW_508 := ROUND( (ABS(FRACPART(BUY_508))) * 100.0 );
    B1_508:= IF((XSW_508 =8) && (XSW_508 18), '买1,', '');
    B2_508:= IF((XSW_508 =18) && (XSW_508 28), '买2,', '');
    B3_508:= IF((XSW_508 =28) && (XSW_508 38), '买3,', '');
    B4_508:= IF((XSW_508 =38) && (XSW_508 48), '买4,', '');
    B5_508:= IF((XSW_508 =48) && (XSW_508 58), '买5,', '');
    XSW2_508 := IF(XSW_508 10.0, ROUND(FRACPART(XSW_508/10) * 10), XSW_508);
    S1_508:= IF((XSW2_508 =0.8 ) && (XSW2_508 1.7 ) || (XSW2_508=1.0), '卖1,', '');
    S2_508:= IF((XSW2_508 =2.1 ) && (XSW2_508 2.7 ) || (XSW2_508=2.0), '卖2,', '');
    S3_508:= IF((XSW2_508 =3.1 ) && (XSW2_508 3.7 ) || (XSW2_508=3.0), '卖3,', '');
    S4_508:= IF((XSW2_508 =4.1 ) && (XSW2_508 4.7 ) || (XSW2_508=4.0), '卖4,', '');
    S5_508:= IF((XSW2_508 5.1 ) && (XSW2_508 5.7 ) || (XSW2_508=5.0), '卖5,', '');
    TEXT2_508:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_508, B1_508), B2_508), B3_508), B4_508), B5_508);
    TEXT3_508:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_508, S1_508), S2_508), S3_508), S4_508), S5_508);
    OUTTEXT_508:= VARCAT(VARCAT(TEXT3_508, ' '), VAR2STR(BUY_508 , 0)), NODRAW;
    WZ1_508 := IF((XSW_508 =8) && (XSW_508 56), 104-XSW_508, 1);
    WZ6_508 := IF( (XSW2_508 =1.0) && (XSW2_508 = 6), 50-XSW2_508*8, 0);
    TWZ_508 := IF(XSW_508 =8.0, 1*WZ1_508, 1*WZ6_508 );
    DRAWTEXT( (ABS(BUY_508) = 10) AND (TWZ_508 =1), L, OUTTEXT_508), COLOR66FFFF;

    NAME_507 := '↖金田系: ';
    BUY_507 := SIGNALS_USER(507, 0);
    XSW_507 := ROUND( (ABS(FRACPART(BUY_507))) * 100.0 );
    B1_507:= IF((XSW_507 =8) && (XSW_507 18), '买1,', '');
    B2_507:= IF((XSW_507 =18) && (XSW_507 28), '买2,', '');
    B3_507:= IF((XSW_507 =28) && (XSW_507 38), '买3,', '');
    B4_507:= IF((XSW_507 =38) && (XSW_507 48), '买4,', '');
    B5_507:= IF((XSW_507 =48) && (XSW_507 58), '买5,', '');
    XSW2_507 := IF(XSW_507 10.0, ROUND(FRACPART(XSW_507/10) * 10), XSW_507);
    S1_507:= IF((XSW2_507 =0.8 ) && (XSW2_507 1.7 ) || (XSW2_507=1.0), '卖1,', '');
    S2_507:= IF((XSW2_507 =2.1 ) && (XSW2_507 2.7 ) || (XSW2_507=2.0), '卖2,', '');
    S3_507:= IF((XSW2_507 =3.1 ) && (XSW2_507 3.7 ) || (XSW2_507=3.0), '卖3,', '');
    S4_507:= IF((XSW2_507 =4.1 ) && (XSW2_507 4.7 ) || (XSW2_507=4.0), '卖4,', '');
    S5_507:= IF((XSW2_507 5.1 ) && (XSW2_507 5.7 ) || (XSW2_507=5.0), '卖5,', '');
    TEXT2_507:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_507, B1_507), B2_507), B3_507), B4_507), B5_507);
    TEXT3_507:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_507, S1_507), S2_507), S3_507), S4_507), S5_507);
    OUTTEXT_507:= VARCAT(VARCAT(TEXT3_507, ' '), VAR2STR(BUY_507 , 0)), NODRAW;
    WZ1_507 := IF((XSW_507 =8) && (XSW_507 56), 104-XSW_507, 1);
    WZ6_507 := IF( (XSW2_507 =1.0) && (XSW2_507 = 6), 50-XSW2_507*8, 0);
    TWZ_507 := IF(XSW_507 =8.0, 1*WZ1_507, 1*WZ6_507 );
    DRAWTEXT( (ABS(BUY_507) = 10) AND (TWZ_507 =1), L , OUTTEXT_507), COLOR66FFCC;
    NAME_506 := '↖宁波系: ';
    BUY_506 := SIGNALS_USER(506, 0);
    XSW_506 := ROUND( (ABS(FRACPART(BUY_506))) * 100.0 );
    B1_506:= IF((XSW_506 =8) && (XSW_506 18), '买1,', '');
    B2_506:= IF((XSW_506 =18) && (XSW_506 28), '买2,', '');
    B3_506:= IF((XSW_506 =28) && (XSW_506 38), '买3,', '');
    B4_506:= IF((XSW_506 =38) && (XSW_506 48), '买4,', '');
    B5_506:= IF((XSW_506 =48) && (XSW_506 58), '买5,', '');
    XSW2_506 := IF(XSW_506 10.0, ROUND(FRACPART(XSW_506/10) * 10), XSW_506);
    S1_506:= IF((XSW2_506 =0.8 ) && (XSW2_506 1.7 ) || (XSW2_506=1.0), '卖1,', '');
    S2_506:= IF((XSW2_506 =2.1 ) && (XSW2_506 2.7 ) || (XSW2_506=2.0), '卖2,', '');
    S3_506:= IF((XSW2_506 =3.1 ) && (XSW2_506 3.7 ) || (XSW2_506=3.0), '卖3,', '');
    S4_506:= IF((XSW2_506 =4.1 ) && (XSW2_506 4.7 ) || (XSW2_506=4.0), '卖4,', '');
    S5_506:= IF((XSW2_506 5.1 ) && (XSW2_506 5.7 ) || (XSW2_506=5.0), '卖5,', '');
    TEXT2_506:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_506, B1_506), B2_506), B3_506), B4_506), B5_506);
    TEXT3_506:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_506, S1_506), S2_506), S3_506), S4_506), S5_506);
    OUTTEXT_506:= VARCAT(VARCAT(TEXT3_506, ' '), VAR2STR(BUY_506 , 0)), NODRAW;
    WZ1_506 := IF((XSW_506 =8) && (XSW_506 56), 104-XSW_506, 1);
    WZ6_506 := IF( (XSW2_506 =1.0) && (XSW2_506 = 6), 50-XSW2_506*8, 0);
    TWZ_506 := IF(XSW_506 =8.0, 1*WZ1_506, 1*WZ6_506 );
    DRAWTEXT( (ABS(BUY_506) = 10) AND (TWZ_506 =1),L, OUTTEXT_506), COLOR3300CC;

    NAME_505 := '↖南京系: ';
    BUY_505 := SIGNALS_USER(505, 0);
    XSW_505 := ROUND( (ABS(FRACPART(BUY_505))) * 100.0 );
    B1_505:= IF((XSW_505 =8) && (XSW_505 18), '买1,', '');
    B2_505:= IF((XSW_505 =18) && (XSW_505 28), '买2,', '');
    B3_505:= IF((XSW_505 =28) && (XSW_505 38), '买3,', '');
    B4_505:= IF((XSW_505 =38) && (XSW_505 48), '买4,', '');
    B5_505:= IF((XSW_505 =48) && (XSW_505 58), '买5,', '');
    XSW2_505 := IF(XSW_505 10.0, ROUND(FRACPART(XSW_505/10) * 10), XSW_505);
    S1_505:= IF((XSW2_505 =0.8 ) && (XSW2_505 1.7 ) || (XSW2_505=1.0), '卖1,', '');
    S2_505:= IF((XSW2_505 =2.1 ) && (XSW2_505 2.7 ) || (XSW2_505=2.0), '卖2,', '');
    S3_505:= IF((XSW2_505 =3.1 ) && (XSW2_505 3.7 ) || (XSW2_505=3.0), '卖3,', '');
    S4_505:= IF((XSW2_505 =4.1 ) && (XSW2_505 4.7 ) || (XSW2_505=4.0), '卖4,', '');
    S5_505:= IF((XSW2_505 5.1 ) && (XSW2_505 5.7 ) || (XSW2_505=5.0), '卖5,', '');
    TEXT2_505:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_505, B1_505), B2_505), B3_505), B4_505), B5_505);
    TEXT3_505:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_505, S1_505), S2_505), S3_505), S4_505), S5_505);
    OUTTEXT_505:= VARCAT(VARCAT(TEXT3_505, ' '), VAR2STR(BUY_505 , 0)), NODRAW;
    WZ1_505 := IF((XSW_505 =8) && (XSW_505 56), 104-XSW_505, 1);
    WZ6_505 := IF( (XSW2_505 =1.0) && (XSW2_505 = 6), 50-XSW2_505*8, 0);
    TWZ_505 := IF(XSW_505 =8.0, 1*WZ1_505, 1*WZ6_505 );
    DRAWTEXT( (ABS(BUY_505) = 10) AND (TWZ_505 =1),L, OUTTEXT_505), COLORCCFF01;

    NAME_504 := '↖温州系: ';
    BUY_504 := SIGNALS_USER(504, 0);
    XSW_504 := ROUND( (ABS(FRACPART(BUY_504))) * 100.0 );
    B1_504:= IF((XSW_504 =8) && (XSW_504 18), '买1,', '');
    B2_504:= IF((XSW_504 =18) && (XSW_504 28), '买2,', '');
    B3_504:= IF((XSW_504 =28) && (XSW_504 38), '买3,', '');
    B4_504:= IF((XSW_504 =38) && (XSW_504 48), '买4,', '');
    B5_504:= IF((XSW_504 =48) && (XSW_504 58), '买5,', '');
    XSW2_504 := IF(XSW_504 10.0, ROUND(FRACPART(XSW_504/10) * 10), XSW_504);
    S1_504:= IF((XSW2_504 =0.8 ) && (XSW2_504 1.7 ) || (XSW2_504=1.0), '卖1,', '');
    S2_504:= IF((XSW2_504 =2.1 ) && (XSW2_504 2.7 ) || (XSW2_504=2.0), '卖2,', '');
    S3_504:= IF((XSW2_504 =3.1 ) && (XSW2_504 3.7 ) || (XSW2_504=3.0), '卖3,', '');
    S4_504:= IF((XSW2_504 =4.1 ) && (XSW2_504 4.7 ) || (XSW2_504=4.0), '卖4,', '');
    S5_504:= IF((XSW2_504 5.1 ) && (XSW2_504 5.7 ) || (XSW2_504=5.0), '卖5,', '');
    TEXT2_504:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_504, B1_504), B2_504), B3_504), B4_504), B5_504);
    TEXT3_504:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_504, S1_504), S2_504), S3_504), S4_504), S5_504);
    OUTTEXT_504:= VARCAT(VARCAT(TEXT3_504, ' '), VAR2STR(BUY_504 , 0)), NODRAW;
    WZ1_504 := IF((XSW_504 =8) && (XSW_504 56), 104-XSW_504, 1);
    WZ6_504 := IF( (XSW2_504 =1.0) && (XSW2_504 = 6), 50-XSW2_504*8, 0);
    TWZ_504 := IF(XSW_504 =8.0, 1*WZ1_504, 1*WZ6_504 );
    DRAWTEXT( (ABS(BUY_504) = 10) AND (TWZ_504 =1), L*1.02, OUTTEXT_504), COLOR33FF00;

    NAME_503 := '↖泉州系: ';
    BUY_503 := SIGNALS_USER(503, 0);
    XSW_503 := ROUND( (ABS(FRACPART(BUY_503))) * 100.0 );
    B1_503:= IF((XSW_503 =8) && (XSW_503 18), '买1,', '');
    B2_503:= IF((XSW_503 =18) && (XSW_503 28), '买2,', '');
    B3_503:= IF((XSW_503 =28) && (XSW_503 38), '买3,', '');
    B4_503:= IF((XSW_503 =38) && (XSW_503 48), '买4,', '');
    B5_503:= IF((XSW_503 =48) && (XSW_503 58), '买5,', '');
    XSW2_503 := IF(XSW_503 10.0, ROUND(FRACPART(XSW_503/10) * 10), XSW_503);
    S1_503:= IF((XSW2_503 =0.8 ) && (XSW2_503 1.7 ) || (XSW2_503=1.0), '卖1,', '');
    S2_503:= IF((XSW2_503 =2.1 ) && (XSW2_503 2.7 ) || (XSW2_503=2.0), '卖2,', '');
    S3_503:= IF((XSW2_503 =3.1 ) && (XSW2_503 3.7 ) || (XSW2_503=3.0), '卖3,', '');
    S4_503:= IF((XSW2_503 =4.1 ) && (XSW2_503 4.7 ) || (XSW2_503=4.0), '卖4,', '');
    S5_503:= IF((XSW2_503 5.1 ) && (XSW2_503 5.7 ) || (XSW2_503=5.0), '卖5,', '');
    TEXT2_503:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_503, B1_503), B2_503), B3_503), B4_503), B5_503);
    TEXT3_503:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_503, S1_503), S2_503), S3_503), S4_503), S5_503);
    OUTTEXT_503:= VARCAT(VARCAT(TEXT3_503, ' '), VAR2STR(BUY_503 , 0)), NODRAW;
    WZ1_503 := IF((XSW_503 =8) && (XSW_503 56), 104-XSW_503, 1);
    WZ6_503 := IF( (XSW2_503 =1.0) && (XSW2_503 = 6), 50-XSW2_503*8, 0);
    TWZ_503 := IF(XSW_503 =8.0, 1*WZ1_503, 1*WZ6_503 );
    DRAWTEXT( (ABS(BUY_503) = 10) AND (TWZ_503 =1),L, OUTTEXT_503), COLORFFFF00;

    NAME_502 := '↖苏州系: ';
    BUY_502 := SIGNALS_USER(502, 0);
    XSW_502 := ROUND( (ABS(FRACPART(BUY_502))) * 100.0 );
    B1_502:= IF((XSW_502 =8) && (XSW_502 18), '买1,', '');
    B2_502:= IF((XSW_502 =18) && (XSW_502 28), '买2,', '');
    B3_502:= IF((XSW_502 =28) && (XSW_502 38), '买3,', '');
    B4_502:= IF((XSW_502 =38) && (XSW_502 48), '买4,', '');
    B5_502:= IF((XSW_502 =48) && (XSW_502 58), '买5,', '');
    XSW2_502 := IF(XSW_502 10.0, ROUND(FRACPART(XSW_502/10) * 10), XSW_502);
    S1_502:= IF((XSW2_502 =0.8 ) && (XSW2_502 1.7 ) || (XSW2_502=1.0), '卖1,', '');
    S2_502:= IF((XSW2_502 =2.1 ) && (XSW2_502 2.7 ) || (XSW2_502=2.0), '卖2,', '');
    S3_502:= IF((XSW2_502 =3.1 ) && (XSW2_502 3.7 ) || (XSW2_502=3.0), '卖3,', '');
    S4_502:= IF((XSW2_502 =4.1 ) && (XSW2_502 4.7 ) || (XSW2_502=4.0), '卖4,', '');
    S5_502:= IF((XSW2_502 5.1 ) && (XSW2_502 5.7 ) || (XSW2_502=5.0), '卖5,', '');
    TEXT2_502:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_502, B1_502), B2_502), B3_502), B4_502), B5_502);
    TEXT3_502:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_502, S1_502), S2_502), S3_502), S4_502), S5_502);
    OUTTEXT_502:= VARCAT(VARCAT(TEXT3_502, ' '), VAR2STR(BUY_502 , 0)), NODRAW;
    WZ1_502 := IF((XSW_502 =8) && (XSW_502 56), 104-XSW_502, 1);
    WZ6_502 := IF( (XSW2_502 =1.0) && (XSW2_502 = 6), 50-XSW2_502*8, 0);
    TWZ_502 := IF(XSW_502 =8.0, 1*WZ1_502, 1*WZ6_502 );
    DRAWTEXT( (ABS(BUY_502) = 10) AND (TWZ_502 =1), L, OUTTEXT_502), COLOR99FFFF;

    NAME_501 := '↖成都系: ';
    BUY_501 := SIGNALS_USER(501, 0);
    XSW_501 := ROUND( (ABS(FRACPART(BUY_501))) * 100.0 );
    B1_501:= IF((XSW_501 =8) && (XSW_501 18), '买1,', '');
    B2_501:= IF((XSW_501 =18) && (XSW_501 28), '买2,', '');
    B3_501:= IF((XSW_501 =28) && (XSW_501 38), '买3,', '');
    B4_501:= IF((XSW_501 =38) && (XSW_501 48), '买4,', '');
    B5_501:= IF((XSW_501 =48) && (XSW_501 58), '买5,', '');
    XSW2_501 := IF(XSW_501 10.0, ROUND(FRACPART(XSW_501/10) * 10), XSW_501);
    S1_501:= IF((XSW2_501 =0.8 ) && (XSW2_501 1.7 ) || (XSW2_501=1.0), '卖1,', '');
    S2_501:= IF((XSW2_501 =2.1 ) && (XSW2_501 2.7 ) || (XSW2_501=2.0), '卖2,', '');
    S3_501:= IF((XSW2_501 =3.1 ) && (XSW2_501 3.7 ) || (XSW2_501=3.0), '卖3,', '');
    S4_501:= IF((XSW2_501 =4.1 ) && (XSW2_501 4.7 ) || (XSW2_501=4.0), '卖4,', '');
    S5_501:= IF((XSW2_501 5.1 ) && (XSW2_501 5.7 ) || (XSW2_501=5.0), '卖5,', '');
    TEXT2_501:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_501, B1_501), B2_501), B3_501), B4_501), B5_501);
    TEXT3_501:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_501, S1_501), S2_501), S3_501), S4_501), S5_501);
    OUTTEXT_501:= VARCAT(VARCAT(TEXT3_501, ' '), VAR2STR(BUY_501 , 0)), NODRAW;
    WZ1_501 := IF((XSW_501 =8) && (XSW_501 56), 104-XSW_501, 1);
    WZ6_501 := IF( (XSW2_501 =1.0) && (XSW2_501 = 6), 50-XSW2_501*8, 0);
    TWZ_501 := IF(XSW_501 =8.0, 1*WZ1_501, 1*WZ6_501 );
    DRAWTEXT( (ABS(BUY_501) = 10) AND (TWZ_501 =1),L, OUTTEXT_501), COLOR00B400;

    NAME_500 := '↖山东系: ';
    BUY_500 := SIGNALS_USER(500, 0);
    XSW_500 := ROUND( (ABS(FRACPART(BUY_500))) * 100.0 );
    B1_500:= IF((XSW_500 =8) && (XSW_500 18), '买1,', '');
    B2_500:= IF((XSW_500 =18) && (XSW_500 28), '买2,', '');
    B3_500:= IF((XSW_500 =28) && (XSW_500 38), '买3,', '');
    B4_500:= IF((XSW_500 =38) && (XSW_500 48), '买4,', '');
    B5_500:= IF((XSW_500 =48) && (XSW_500 58), '买5,', '');
    XSW2_500 := IF(XSW_500 10.0, ROUND(FRACPART(XSW_500/10) * 10), XSW_500);
    S1_500:= IF((XSW2_500 =0.8 ) && (XSW2_500 1.7 ) || (XSW2_500=1.0), '卖1,', '');
    S2_500:= IF((XSW2_500 =2.1 ) && (XSW2_500 2.7 ) || (XSW2_500=2.0), '卖2,', '');
    S3_500:= IF((XSW2_500 =3.1 ) && (XSW2_500 3.7 ) || (XSW2_500=3.0), '卖3,', '');
    S4_500:= IF((XSW2_500 =4.1 ) && (XSW2_500 4.7 ) || (XSW2_500=4.0), '卖4,', '');
    S5_500:= IF((XSW2_500 5.1 ) && (XSW2_500 5.7 ) || (XSW2_500=5.0), '卖5,', '');
    TEXT2_500:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(NAME_500, B1_500), B2_500), B3_500), B4_500), B5_500);
    TEXT3_500:= VARCAT(VARCAT(VARCAT(VARCAT(VARCAT(TEXT2_500, S1_500), S2_500), S3_500), S4_500), S5_500);
    OUTTEXT_500:= VARCAT(VARCAT(TEXT3_500, ' '), VAR2STR(BUY_500 , 0)), NODRAW;
    WZ1_500 := IF((XSW_500 =8) && (XSW_500 56), 104-XSW_500, 1);
    WZ6_500 := IF( (XSW2_500 =1.0) && (XSW2_500 = 6), 50-XSW2_500*8, 0);
    TWZ_500 := IF(XSW_500 =8.0, 1*WZ1_500, 1*WZ6_500 );
    DRAWTEXT( (ABS(BUY_500) = 10) AND (TWZ_500 =1),L, OUTTEXT_500), COLORFF6601;
    STICKLINE(C/REF(C,1) =1.04 OR C/REF(C,1) =0.96,(C+O)/2,(C+O)/2,2,1),COLORLIBLUE;{中分线};
    STICKLINE(C/REF(C,1) =1.04 OR C/REF(C,1) =0.96,(MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),(MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),2,1),COLORLIBLUE;{上三一线};
    STICKLINE(C/REF(C,1) =1.04 OR C/REF(C,1) =0.96,(MAX(O,C)-MIN(O,C))/3+MIN(O,C),(MAX(O,C)-MIN(O,C))/3+MIN(O,C),2,1),COLORLIBLUE;{下三一线};


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 龙虎团队 荆州量学金融终端主图十六 通达信指标 九毛八公式指标网 可以当参考 加入收藏