最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信上边绿点卖出 下边红点买入源码副图

    正文概述    2024-04-13 11:54:37  

    0,COLORRED;
    100,COLORGREEN;
    {}
    B11:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
    B2:=SMA(B11,9,1)+100;
    B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
    B4:=SMA(B3,3,1);
    B5:=SMA(B4,3,1)+100;
    B6:=B5-B2;
    B7:=IF(B6 60,B6-60,0),COLORGREEN;
    持有:=STICKLINE(REF(B7,1) B7,B7,REF(B7,1),5,0),COLORYELLOW;
    DRAWBAND(B7,RGB(231,69,80),REF(B7,1),RGB(0,142,35 ));
    {}
    H1:=MAX(DYNAINFO(3),DYNAINFO(5));
    L1:=MIN(DYNAINFO(3),DYNAINFO(6));
    P1:=H1-L1;
    阻力:=L1+P1*7/8,COLOR00DD00;
    支撑:=L1+P1*0.5/8,COLOR00DD00;
    现价:=CLOSE,COLORWHITE,LINETHICK1;
    STICKLINE(CROSS(支撑,现价),0,10,1,0),COLORYELLOW;
    STICKLINE(LONGCROSS(现价,阻力,2),100,105,1,0),COLORGREEN;

    {}
    A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
    B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
    D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
    长期线:=A+100,COLOR9900FF,LINETHICK2;
    短期线:=B+100,COLOR888888;
    中期线:=D+100,COLORLIGRAY,LINETHICK1;
    见顶:=(REF(中期线,1) 85 AND REF(短期线,1) 85 AND REF(长期线,1) 65) AND CROSS(长期线,短期线) ;
    顶部区域:=(中期线 REF(中期线,1) AND REF(中期线,1) 80) AND (REF(短期线,1) 95 OR REF(短期线,2) 95 ) AND 长期线 60 AND 短期线 83.5
    AND 短期线 中期线 AND 短期线 长期线+4;
    顶部:=FILTER(顶部区域,4);
    底部区域:=(长期线 12 AND 中期线 8 AND (短期线 7.2 OR REF(短期线,1) 5) AND (中期线 REF(中期线,1) OR 短期线 REF(短期线,1)))
    OR (长期线 8 AND 中期线 7 AND 短期线 15 AND 短期线 REF(短期线,1)) OR (长期线 10 AND 中期线 7 AND 短期线
    低位金叉:=长期线 15 AND REF(长期线,1) 15 AND 中期线 18 AND 短期线 REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线 中期线
    AND (REF(短期线,1) 5 OR REF(短期线,2) 5 ) AND (中期线 =长期线 OR REF( 短期线,1)
    低位买入:=长期线 10 AND CROSS(短期线,长期线) AND (短期线-REF(短期线,1)) 12 AND 短期线
    低位抄底:=长期线 9 AND CROSS(中期线,长期线) AND 短期线
    A1:=BARSLAST(REF(CROSS(中期线,长期线),1));
    底背:=REF(CLOSE,A1+1) CLOSE AND 长期线 REF(长期线,A1+1) AND CROSS(中期线,长期线) AND REF(长期线,A1+1)
    A2:=BARSLAST(REF(CROSS(长期线,中期线),1));
    顶背:=REF(CLOSE,A2+1) CLOSE AND REF(长期线,A2+1) 长期线 AND CROSS(长期线,中期线) AND REF(长期线,A2+1)
    STICKLINE( 底部区域,5,0,22,1 ),COLORRED;
    STICKLINE( 低位金叉,10,15,11,1 ),COLORRED;
    STICKLINE(低位买入 ,20,28,2,1 ),COLOR9966FF;
    STICKLINE(低位抄底 ,0,10,2.8,1 ),COLORYELLOW;
    STICKLINE( 底背,0,10,3,1 ),COLORRED;
    STICKLINE( 顶背,105,110,2,1 ),COLORGREEN,LINETHICK2;


    {}
    VAR1111:=EMA(EMA(CLOSE,13),13);
    控盘:=(VAR1111-REF(VAR1111,1))/REF(VAR1111,1)*1000;
    JJ:=DYNAINFO(11);
    P:=55;S:=8;M1:=3;
    财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;
    神:=EMA(财,M1),COLORGREEN,LINETHICK1;
    BTJ11:=(C-JJ)/JJ -0.03;
    BTJ2:=控盘 REF(控盘,1) AND 控盘 -0.2;
    BTJ3:=CROSS(财,神) AND 财 -0.3;
    STJ1:=(C-JJ)/JJ 0.005;
    STJ01:=控盘 REF(控盘,1) AND 控盘
    STJ31:=CROSS(神,财);
    STJ02:=控盘
    STJ32:=CROSS(神,财) AND 财 1.618;
    BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
    STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
    STJ82:=FILTER(STJ02 AND STJ32 ,13);
    STJ83:=STJ81 AND STJ82;
    DRAWICON(BTJ811 AND TIME 10,25,26);
    DRAWICON(STJ83,75,15);
    {}
    VAR111:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
    VAR211:=SMA(VAR111,3,1);
    VAR311:=SMA(VAR211,3,1);
    VAR411:=SMA(VAR311,3,1);
    VAR611:=CROSS(VAR311,VAR411) AND VAR311
    VAR711:=CROSS(VAR411,VAR311) AND VAR311
    {STICKLINE(FILTER(VAR611,10)=1,0,10,10,0),COLORRED ;
    STICKLINE(FILTER(VAR711,5)=1,90,100,10,0),COLORGREEN ; }
    VAR811:=CROSS(VAR211,VAR311) AND VAR311 80 AND VAR311 VAR411;
    STICKLINE(VAR811,90,100,10,0),COLORWHITE ;
    DRAWICON(FILTER(VAR611,10)=1,45,7);
    DRAWICON(FILTER(VAR711,5)=1,80,8);


    {}
    V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
    趋势线:=EMA(V11,3);
    V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
    BB:= (趋势线 =13 AND V12 13) AND FILTER((趋势线 =13 AND V12 13),10) ;
    买入股票: STICKLINE(BB,10,20,3,1),COLOR0099FF;


    {}
    昨收:=DYNAINFO(3);
    HH:=DYNAINFO(5);
    LL:=DYNAINFO(6);
    FK:=MAX(HH-昨收,昨收-LL)*0.1;
    Q2:=昨收-2*FK*3.22;
    Q3:=昨收-3*FK*3.2;
    DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));
    DEA:=(EMA(DIF,6));
    CC:=CLOSE,COLORWHITE,LINETHICK2;
    VAR71:=SMA(CC,6.18,1);
    JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA =0));
    三次金叉:=CROSS(DIF,DEA) AND DEA 0 AND COUNT(JCCOUNT=3,21)=1;
    DRAWICON(三次金叉,30,1);
    {0-5 1.3}
    A2MM:= SMA(MAX(CLOSE-(REF(CLOSE,2)),0),7,1)/SMA(ABS(CLOSE-(REF(CLOSE,2))),7,1)*100, COLOR00FF00;
    VAR3MM:=SMA(MAX(CLOSE-(REF(CLOSE,1)),0),7,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),7,1)*100;
    {STICKLINE(VAR3MM 12 AND A2MM 12,0,5,1.3,1),COLORYELLOW;}
    STICKLINE(A2MM REF(A2MM,1) AND A2MM 79 AND A2MM 80,90,100,3,0),COLORGREEN;
    {10-15 1 90-95 1};
    TEND:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFF00FF;
    VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
    STICKLINE(TEND =10 AND CROSS((EMA(VAR2W,3)),(EMA((EMA(VAR2W,7)),5))) AND (EMA((EMA(VAR2W,7)),5)) 20,15,25,3,0),COLORLIRED;
    {90-95 1.3}
    LC:=REF(CLOSE,1);
    RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
    RTD:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    ATD:=SMA(RTD,3,1);
    BTD:=SMA(ATD,3,1);
    CCC:=(BTD/2+40)*1.1;
    DTD:=SMA(CCC,3,1);
    STICKLINE(CROSS(DTD,RSI5) AND CROSS(80,RSI5),80,90,3,1),COLORGREEN;
    {30-35 1.6}
    RSI:=SMA(MAX(C-(REF(C,1)),0),6,1)/SMA(ABS(C-(REF(C,1))),6,1)*100;
    WR:=-100*(HHV(HIGH,14)-C)/(HHV(HIGH,14)-LLV(LOW,14));
    WR反向:=(0-WR)-100;
    RSI买点:=RSI 20 AND RSI REF(RSI,1);
    WR反向买点:=WR反向 -80 AND WR反向 REF(WR反向,1);
    朋友选股:=RSI买点 AND WR反向买点;
    STICKLINE(朋友选股,20,30,3,1),COLORRED;
    {40-45 1.6}
    DIFF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
    DEA1:=EMA(DIFF1,9),COLORFFFF00;
    A1HMG:=BARSLAST(REF(CROSS(DIFF1,DEA1),1));
    底背离:=REF(CLOSE,A1HMG+1) CLOSE AND DIFF1 REF(DIFF1,A1HMG+1) AND CROSS(DIFF1,DEA1);
    DEA0:=EMA(DIFF1*100,9);
    MACD0:=2*(DIFF1*100-DEA0);
    黑码:=(MACD0 REF(MACD0,1)*2.5 AND MACD0
    DRAWICON(底背离 AND 黑码,40,25);
    {40-45 1.3}
    WRSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
    RSVGS:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
    KGS:=SMA(RSVGS,3,1);
    DGS:=SMA(KGS,3,1);
    JGS:=(3*KGS-2*DGS),LINETHICK2;
    VAR1YG:=4*SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1),3.2,1);
    个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
    VAR01DB:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
    VAR02DB:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
    VAR03DB:=CROSS(VAR02DB,VAR01DB);
    VAR04DB:=REF(VAR02DB,2) REF(VAR02DB,1) AND VAR02DB REF(VAR02DB,1);
    VAR05DB:=COUNT(VAR03DB,7) 0 AND VAR04DB;
    VAR11DB:=EMA(IF(LOW =(LLV(LOW,33)),(EMA(C,5)),0),3)*40;
    VAR12DB:=IF(VAR11DB 100,VAR11DB*0.312,VAR11DB);
    VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
    B1:=SMA(VAR1,7,1);
    VAR2:=SMA(B1,5,1);
    绝路航标:=IF(CROSS(B1,VAR2) AND B1 40,38,0),COLORYELLOW,LINETHICK2;
    BG:=IF(DATE =1150530,1,0);
    GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))),1.05,0.95);
    VB1:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));
    中线:=1,COLORBLUE,LINETHICK2;
    快趋势线:=EXPMA((DCLOSE/VB1),21),COLORYELLOW,,LINETHICK1;
    STICKLINE(CROSS(快趋势线,中线) AND CROSS(WRSI,20) AND VAR05DB AND COUNT(VAR05DB,5)=1,0,10,1,1),COLORMAGENTA;
    STICKLINE(绝路航标 0 AND VAR05DB AND COUNT(VAR05DB,5)=1 AND CROSS(个股,9) AND (CROSS(VAR1YG,8)),0,10,3,0),COLORMAGENTA ;
    STICKLINE(VAR05DB AND COUNT(VAR05DB,5)=1 AND CROSS(个股,9) AND (CROSS(VAR1YG,8)) AND CROSS(JGS,-5),0,10,3,1),COLORRED;
    STICKLINE(CROSS(个股,9) AND (CROSS(VAR1YG,8)) AND CROSS(JGS,-5),0,10,1,1),COLORLIMAGENTA;
    STICKLINE(CROSS(JGS,-5) AND CROSS(WRSI,20),0,10,3,1),COLORLIMAGENTA;
    STICKLINE(CROSS(WRSI,20) AND 绝路航标 0 AND VAR05DB AND COUNT(VAR05DB,5)=1,0,10,1.3,1),COLORMAGENTA;

    {}
    BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    VARB211:=(RSV/2+22)*1;
    量:=EMA(VOL,13);
    资金:=EMA(AMOUNT,13);
    过滤:=((资金 /量) / 100);
    提纯:=(((CLOSE -过滤) / 过滤) * 100);
    黄金:=((提纯 (0)) AND ZXNH),COLORRED;
    低买:=IF(黄金 AND RSV VARB211-2,40,0),COLORCYAN,LINETHICK2;
    VAR121:=REF(CLOSE,1);
    特准:=STICKLINE(FILTER(REF(VAR211,1) 20 AND VAR211 REF(VAR211,1),5),0,25,1,0),LINETHICK2,COLOR00FF00;
    乖离:=MA(MM,3);
    红柱抄底:=STICKLINE(CROSS(BIAS,乖离) AND 乖离 -9.5,25,50,1,0),COLORRED;
    STICKLINE(红柱抄底 AND 特准,5,15,1,0),COLORRED;
    {}
    STICKLINE(CROSS(JGS,3) AND TEND 5,20,30,3,0) ,COLORRED;
    XX:=((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100)* 5);
    B001:=(((((CLOSE - MA(CLOSE,42)) / MA(CLOSE,42)) ) * 100) * 5);
    B002:=(((((CLOSE - MA(CLOSE,67)) / MA(CLOSE,67)) ) * 100) * 5);
    B003:=(((XX + B001) / 2) - (B002 ));
    B004:=(((0 - 100) * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34)));
    B005:=(((0 - 100) * (HHV(HIGH,42) - CLOSE)) / (HHV(HIGH,42) - LLV(LOW,42)));
    B006:=(((0 - 100) * (HHV(HIGH,72) - CLOSE)) / (HHV(HIGH,72) - LLV(LOW,72)));
    B007:=EMA((((B004 + B005) / 2) - B006),6);
    B008:=REF(CLOSE,1);
    B009:=((((SMA(MAX((CLOSE - B008),0),19,1) / SMA(ABS((CLOSE - B008)),19,1)) * 100) - 50) * 1.25);
    B010:=((((SMA(MAX((CLOSE - B008),0),34,1) / SMA(ABS((CLOSE - B008)),34,1)) * 100) - 50) * 1.25);
    B011:=((((SMA(MAX((CLOSE - B008),0),72,1) / SMA(ABS((CLOSE - B008)),72,1)) * 100) - 50) * 1.25);
    B012:=EMA(((((B009 + B010) / 2) - B011) * 5),6);
    B013:=((((0 - 1) * ((B007 + B003) + B012)) / 3) * 1.5);
    B017:=B012;
    DPM1:=EMA(B013,4);
    多头:=B017,COLOR0000FF;
    空均:=DPM1;
    STICKLINE(CROSS(多头,空均),20,40,8,1) ,COLORYELLOW;
    {}
    A1HM:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
    黑码线:=EMA(A1HM,5),LINETHICK2,COLOR6600FF;
    A2HM:=(黑码线-REF(黑码线,1))/REF(黑码线,1)*100;
    A3HM:=EMA(C,5);
    底部:=(A2HM -10 AND A2HM REF(A2HM,1))*25,COLORRED;
    DRAWICON(底部 AND A3HM REF(A3HM,1),25,4);

    {HM}
    VAR6HM:=(2*CLOSE+HIGH+LOW)/4;
    VAR8HM:=LLV(LOW,34);
    VAR11HM:=HHV(HIGH,34);
    VAR12HM:=EMA((VAR6HM-VAR8HM)/(VAR11HM-VAR8HM)*100,13);
    VAR13HM:=EMA(0.667*REF(VAR12HM,1)+0.333*VAR12HM,2);

    DRAWBAND(VAR12HM,RGB(231,69,80),VAR13HM,RGB(0,142,35 ));



    QW1:=(HIGH+LOW+CLOSE*2)/4;
    QW3:=EMA(QW1,10);
    QW4:=STD(QW1,10);
    QW5:=(QW1-QW3)*100/QW4;
    QW6:=EMA(QW5,5);
    涨:=EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;
    跌:=EMA(涨,4),LINETHICK1,COLORFFFF34;
    STICKLINE(涨 REF(涨,1),-10,-20,2,1 ),COLOR00EE00;
    STICKLINE(涨 REF(涨,1),-10,-20,2,1),COLOR0099FF;

    通达信上边绿点卖出 下边红点买入源码副图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信上边绿点卖出 下边红点买入源码副图 加入收藏