最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信最好的分时指标 愿赌服输分时

    正文概述    2024-05-04 04:36:30  

    以下是通达信最好的指标源码和使用说明


    通达信最好的分时指标源码:

       tt:=FORMATTIME(1);

       CC:=NEW;

       Vv:=MAX(0,SBUSAMEDAY( VOL));

       zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt);

       zz1:=BETWEEN(C/zz,1.05,0.95);

       :IF(zz1=0,MA(NEW,TT),zz),COLOR00FFFF,LINETHICK2;

       上均:均线+AVEDEV(NEW,tt)*2,COLOR00FF00;

       下均:均线-AVEDEV(NEW,tt)*2,COLORFF6600;

       时长:=IF(tt =120ANDtt 210,1,0);

       涨幅:=(NEW/PRE) =1.03;

       跌幅:=(NEW/PRE) =0.97;

       涨跌幅:=涨幅OR跌幅;

       yy:=SMA(Vv,30,1);

       放量:=(yy-LLV(LLV(yy,1),30))/(HHV(HHV(yy,1),30)-LLV(LLV(yy,1),30))

       横盘:=((HHV(NEW,TT)-LLV(NEW,TT))/NEW) =0.05;

       横涨:=涨跌幅=0AND横盘AND时长AND放量 ANDCROSS(CC,上均)ANDINVOL OUTVOL;

       横跌:=涨跌幅=0AND横盘AND时长AND放量 ANDCROSS(下均,CC);

       PP:=FILTER(横涨,100);

       UU:=FILTER(横跌,50);

       DRAWTEXT(PP,上均,'★上突'),colorff00ff;

       DRAWTEXT(UU,下均,'★下破'),COLOR00FFFF;

       VERLINE(PP,3),colorwhite,LINETHICK2;

       VERLINE(UU,3),COLOR00FF00,LINETHICK2;

       Vv:=MAX(0,SBUSAMEDAY( VOL));

       改成这样可用了:

       B与U调换

       A1:=AMOUNT/VOL/100;

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

       A3:=SUM(AMOUNT,40)/A1/100;

       A4:=SUM(AMOUNT,80)/A1/100;

       B1:=DMA(A2,VOL/A3);

       B2:=DMA(A2,VOL/A4);

       B3:=(CLOSE-B1)/B1*100;

       B4:=(CLOSE-B2)/B2*100;

       控盘:1,COLORYELLOW,LINETHICK1;

       高点:5,,COLORFF6600;

       风险:-1,COLORGREEN,LINETHICK2;

       低点:-4,COLORCCFF33;

       现价:C,NODRAW;

       DRAWTEXT(ISLASTBARANDC,4,'愿赌服输四段分时'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,3,'操作选择正确时段'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,2,'黄线上方谨慎看多'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,-1.5,'绿线下方保持警惕'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,-2.5,'严格遵守操作纪律'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,-3.5,'心态平衡投资顺利'),COLOR0000BB;

       均价:SUM(现价*V,240)/SUM(V,240),COLORYELLOW,NODRAW;

       回调认同:EMA(EXPMA(C,20),13),NODRAW;

       分时压力:MA(REF(HHV(C,30),1),2),NODRAW;

       分时支撑:MA(REF(LLV(C,30),1),2),NODRAW;

       STICKLINE(FILTER(C,60) 0,高点,低点,0.5,0),COLORRED;

       STICKLINE(B4 0,0,B4,1,0),COLORYELLOW;

       STICKLINE(B3 0,0,B3,1,0),COLORRED;

       STICKLINE(B3 =0,0,B3,1,0),COLORGREEN;

       P:=60;Q:=30;

       A1:=AMOUNT/VOL/100;

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

       A3:=SUM(AMOUNT,40)/A1/100;

       A4:=SUM(AMOUNT,80)/A1/100;

       B1:=DMA(A2,VOL/A3);

       B2:=DMA(A2,VOL/A4);

       B3:=(CLOSE-B1)/B1*100;

       B4:=(CLOSE-B2)/B2*100;

       控盘:1,COLORYELLOW,LINETHICK1;

       高点:5,,COLORFF6600;

       风险:-1,COLORGREEN,LINETHICK2;

       低点:-4,COLORCCFF33;

       现价:C,NODRAW;

       DRAWTEXT(ISLASTBARANDC,4,'愿赌服输四段分时'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,3,'操作选择正确时段'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,2,'黄线上方谨慎看多'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,-1.5,'绿线下方保持警惕'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,-2.5,'严格遵守操作纪律'),COLOR0000BB;

       DRAWTEXT(ISLASTBARANDC,-3.5,'心态平衡投资顺利'),COLOR0000BB;

       分时确认:MA(REF(HHV(C,60),1),2),NODRAW;

       均价:SUM(现价*V,240)/SUM(V,240),COLORYELLOW,NODRAW;

       回调认同:EMA(EXPMA(C,20),13),NODRAW;

       分时压力:MA(REF(HHV(C,30),1),2),NODRAW;

       分时支撑:MA(REF(LLV(C,30),1),2),NODRAW;

       STICKLINE(FILTER(C,60) 0,高点,低点,0.5,0),COLORRED;

       STICKLINE(B4 0,0,B4,1,0),COLORYELLOW;

       STICKLINE(B3 0,0,B3,1,0),COLORRED;

       STICKLINE(B3 =0,0,B3,1,0),COLORGREEN;

       RSV:=(CLOSE-LLV(LOW,Q))/(HHV(HIGH,Q)-LLV(LOW,Q))*100;

       K:=SMA(RSV,5,1);

       D:=SMA(K,3,1);

       J:=3*K-2*D;

       VAR2:=EMA(J,6);

       VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

       VAR4:=SMA(VAR3,13,8);

       VAR5:=CEILING(SMA(VAR4,13,8));

       VAR6:="SSRP.MA1";

       VAR7:="SSRP.MA2";

       SIGNAL1:=CROSS(VAR5,VAR2)ANDC

       SIGNAL2:=(CROSS(VAR5,VAR2)ANDB3 0.6ANDC =均价);

       SIGNAL3:=(CROSS(VAR6,VAR7)ANDB3 0.6ANDC =均价);

       DRAWTEXT(SIGNAL1,-1,'虎'),COLOR0000BB;

       DRAWTEXT(SIGNAL2ANDVAR6 VAR7,-2,'出'),COLORFF00FF;

       DRAWTEXT(SIGNAL2ANDVAR6 VAR7,-2.8,'笼'),COLORFF00FF;

       DRAWTEXT(SIGNAL3ANDVAR5 VAR2,-2,'出'),COLORRED;

       DRAWTEXT(SIGNAL3ANDVAR5 VAR2,-2.8,'笼'),COLORRED;

       BGTYU:=IF(DATE =1150530,1,0);

       GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);

       VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));

       底线:1.003,COLORRED,LINETHICK2;

       线:=1.02,COLORRED,LINETHICK1,DOTLINE;

       起动线:=EXPMA((CLOSE/VBNH),20),COLOR8000FF,LINETHICK2;

       绿色线:=EXPMA((CLOSE/VBNH),120),COLORGREEN,LINETHICK2;

       DRAWICON((CROSS(起动线,1.003)),1.003,9);

       DRAWICON(CROSS(起动线,1.02),1.02+0.005,9);

       STICKLINE(CROSS(起动线,1.02),1.02,1.025,4,0),COLORMAGENTA;

       STICKLINE(EXPMA(C,10) EXPMA(C,60),1.03,1.034,1.0,0),COLORRED;

       STICKLINE(EXPMA(C,10) EXPMA(C,60),1.03,1.025,1.0,0),COLORGREEN;

       DRAWTEXT(CROSS(EXPMA(起动线,1.020),1.02),3.50,'要涨停'),COLORRED;

       STICKLINE(EXPMA((CLOSE/VBNH),120) 1.003,1.03,1.039,1.0,0),COLORMAGENTA;

       DRAWTEXT(CROSS(EXPMA((CLOSE/VBNH),120),1.0029),2.5,'★买进')COLOR00FFFF;

       DRAWTEXT(CROSS(EXPMA((CLOSE/VBNH),120),1.0029),1.20,'观察量'),COLORWHITE;




    通达信最好的分时指标截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信最好的分时指标 愿赌服输分时 加入收藏