最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信最强主图指标公式 通达信最牛主图指标

    正文概述    2024-05-04 04:23:19  
     

    通达信指标公式源码概况:


    指标类别: 通达信指标公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    通达信最强主图指标公式


    MA5:MA(C,5),colorblue; 

    MA10:MA(C,10),colormagenta; 

    MA20:MA(C,20),colorred; 

    MA60:MA(C,60),colorgreen; 

    MA120:MA(C,120),coloryellow; 

    XL1:=((LLV(LOW,3)=LLV(LOW,60))AND((CLOSE/REF(CLOSE,1))=1.04)); 

    DRAWTEXT(FILTER(((XL10)ANDLOW),5),L*0.975, 洼底 ),colorliblue; 

    DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,27); 

    DEA1:=EMA(DIFF1,9); 

    A1:=BARSLAST(REF(CROSS(DIFF1,DEA1),1)); 

    底:=REF(CLOSE,A1+1)CLOSEANDDIFF1REF(DIFF1,A1+1)ANDCROSS(DIFF1,DEA1); 

    DRAWTEXT(底背离,L*0.99, 底背离 ),colormagenta; 

    A2:=BARSLAST(REF(CROSS(DEA1,DIFF1),1)); 

    顶背离:=REF(CLOSE,A2+1)CLOSEANDREF(DIFF1,A2+1)DIFF1ANDCROSS(DEA1,DIFF1); 

    DRAWTEXT(顶背离,H*1.01, 顶背离 ),,coloryellow; 

    MACD:=2*(DIFF1-DEA1); 

    多转空:=((((LLV(MACD,4)0)AND(MACDREF(MACD,1)))AND(REF(MACD,1)REF(MACD,2)))AND(REF(MACD,2)REF(MACD,3))); 

    空转多:=((((HHV(MACD,4)0)AND(MACDREF(MACD,1)))AND(REF(MACD,1)REF(MACD,2)))AND(REF(MACD,2)REF(MACD,3))); 

    DRAWICON(多转空,H*1.01,8); 

    DRAWICON(空转多,L*0.99,7); 

    MTM:=C-REF(C,1); 

    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 

    BBUY:=IF(LLV(DX,2)=LLV(DX,7)ANDCOUNT(DX0,2)ANDCROSS(DX,MA(DX,2)),1,0); 

    BBSY:=IF(HHV(DX,2)=HHV(DX,7)ANDCOUNT(DX50,2)ANDCROSS(MA(DX,2),DX),1,0); 

    BBBUY:=FILTER(BBUY=1,5);

    DRAWTEXT(FILTER(BBSY=1,1),HIGH*1.015, 亢  

    FFQ2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; 

    FFQ3:=SMA(FFQ2,9,1); 

    FFQ4:=SMA(FFQ3,3,1); 

    FFAAB:=3*FFQ3-2*FFQ4; 

    FFQ81:=BARSLAST(LLV(LOW,50)=LOW); 

    FFQ8:=BARSLAST(HHV(HIGH,FFQ81)=HIGH); 

    FFQ10:=(CLOSE-REF(OPEN,FFQ8))/REF(OPEN,FFQ8)*100; 

    FFA1:=EMA(FFQ3,3); 

    FFA2:=EMA(FFA1,3); 

    FFA3:=EMA(FFA2,3); 

    FFA4:=EMA(FFA3,3); 

    FFA:=EMA(FFA4,3); 

    FFQTTMM:=CROSS(FFA1,FFAAB)ANDREF(FFAAB,1)80; 

    DRAWTEXT(FFQTTMM,HIGH*1.016, 悔 ),colorgreen; 

    GLL5:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)=-0.10; 

    DRAWTEXT(GLL5,LOW*0.98, 0510 ),colorblue; 

    GLL10:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)=-0.15; 

    DRAWTEXT(GLL10,LOW*0.97, 1015 ),colormagenta; 

    GLL20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)=-0.20; 

    DRAWTEXT(GLL20,LOW*0.96, 2020 ),colorred; 

    GLLZ5:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)=0.10; 

    DRAWTEXT(GLLZ5,HIGH*1.02, 0510 ),colorblue; 

    GLLZ10:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)=0.15; 

    DRAWTEXT(GLLZ10,HIGH*1.03, 1015 ),colormagenta; 

    GLLZ20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)=0.20; 

    DRAWTEXT(GLLZ20,HIGH*1.04, 2020 ),colorred; 

    DRAWTEXT_FIX(ISLASTBAR,0.37,0.90,0, ①长平短升,黄金交叉,价②长升短平,回测不破,价突破③长升短跌,小跌破,价突破  

    DRAWTEXT_FIX(ISLASTBAR,0.37,0.95,0, ①长平短跌,死亡交叉,价跌破②长跌短平,弹不过,价跌破③长跌短升,小突破,价跌破  

    饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW; 

    AA10:MA(CLOSE,8),COLOR0000FF; 

    AA12:MA(CLOSE,12),COLOR0000FF; 

    BB10:=((ATAN((AA10-REF(AA10,1)))*3.1416)*10); 

    BB12:=((ATAN((AA12-REF(AA12,1)))*3.1416)*10); 

    MA13:=MA(CLOSE,13); 

    DRAWBAND(AA10,RGB(150,50,50),AA12,RGB(0,100,50)); 

    X1:=(C+L+H)/3; 

    BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; 

    EMA8:=EMA(C,8); 

    DRAWTEXT(FILTER(BB131ANDEMA(X1,13)REF(EMA(X1,8),1),10), 

    EMA8, 45上升 ),colorwhite; 

    压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF; 

    支撑:MA(REF(LLV(C,30),1),2),COLORABFF46; 

    AA1:=AMOUNT/V; 

    ;BB1:=LCC1:=(C-REF(C,1))/REF(C,1)*1001.2; 

    DD1:=LEE1:=VFF1:=BB1ANDCC1ANDDD1ANDEE1; 

    DRAWTEXT(FF1,(LOW*0.99), 老鼠仓 ),COLOR4080FF; 

    A51:=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(A51,5); 

    A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 

    线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2)); 

    DRAWTEXT(CROSS(趋势线,0)AND黑马线40,(HIGH*0.97), ▲ ),coloryellow; 

    LC:=REF(CLOSE,1); 

    RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100); 

    FF:=EMA(CLOSE,3); 

    MA15:=EMA(CLOSE,21); 

    DRAWTEXT(CROSS(FF,MA15),(LOW*0.99), 底背离 ),COLORA6E500; 

    DRAWTEXT(CROSS(88,RSI),(HIGH*1.02), 顶背离 ),COLOR1880FF; 

    VAR2:=LLV(LOW,27); 

    VAR3:=HHV(HIGH,34); 

    VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25; 

    注意买:=IF((VAR410),80,100); 

    RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; 

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

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

    J:=3*K-2*D; 

    超跌:=IF(J0,10,0); 

    BDDD:=LLV(J,2)=LLV(J,8); 

    买入:=IF(CROSS(J,REF(J+0.01,1))ANDBDDDANDJ20,30,0); 

    DRAWTEXT(买入AND注意买=100AND超跌=0,LOW, 短买 ),COLOR8000FF; 

    MTM:=C-REF(C,1); 

    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 

    买:=IF(LLV(DX,2)=LLV(DX,7)ANDCOUNT(DX0,2)ANDCROSS(DX,MA(DX,2)),1,0); 

    DRAWTEXT(FILTER(买=1,5),LOW-0.03, 拉升 ),COLORFFDE00; 

    STICKLINE(CLOSEOPEN,OPEN,LOW,0,0),COLOR0000FF; 

    STICKLINE(CLOSEOPEN,CLOSE,HIGH,0,0),COLOR0000FF; 

    STICKLINE(OPEN=CLOSE,CLOSE,LOW,0,0),COLOR00FF00; 

    STICKLINE(OPEN=CLOSE,OPEN,HIGH,0,0),COLOR00FF00; 

    STICKLINE(OPEN=CLOSE,CLOSE,OPEN,3,0),COLORFF8800; 

    STICKLINE(OPEN=CLOSE,CLOSE,OPEN,2,0),COLORFFAA00; 

    STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1,0),COLORFFCC00; 

    STICKLINE(OPEN=CLOSE,CLOSE,OPEN,0,0),COLORFFEE00; 

    STICKLINE(CLOSEOPEN,CLOSE,OPEN,3,0),COLOR000066; 

    STICKLINE(CLOSEOPEN,CLOSE,OPEN,2,0),COLOR000088; 

    STICKLINE(CLOSEOPEN,CLOSE,OPEN,1,0),COLOR0000AA; 

    STICKLINE(CLOSEOPEN,CLOSE,OPEN,0,0),COLOR0000CC; 

    VAR9Q:=C=HHV(C,4)AND(REF(C,1)=REF(C,2)ORREF(C,1)=REF(C,3))ORREF(C,1)=HHV(C,4)ANDCLOSE=REF(C,2)ORREF(C,2)=HHV(C,4)ANDREF(C,3)=LLV(C,4)ANDC=REF(C,1)ORREF(C,3)=HHV(C,4)ANDC=REF(C,1)ANDC=REF(C,2); 

    STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR000066; 

    STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR000088; 

    STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000AA; 

    STICKLINE(VAR9Q,C,(O+C)/2,0,0),COLOR0000CC; 

    VARAQ:=C=HHV(C,4)ANDREF(C,1)=LLV(C,4); 

    STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF22FF; 

    STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFF44FF; 

    STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFF66FF; 

    STICKLINE(VARAQ,C,(O+C)/2,0,0),COLORFF88FF; 

    VARBQ:=C=LLV(C,4)AND(REF(C,1)HHV(C,4)ORREF(C,1)STICKLINE(VARBQ,C,(O+C)/2,2,0),COLOR666666; 

    STICKLINE(VARBQ,C,(O+C)/2,1,0),COLOR888888; 

    STICKLINE(VARBQ,C,(O+C)/2,0,0),COLORAAAAAA; 

    VARCQ:=REF(C,1)=LLV(C,4)ANDC=REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)=REF(C,3)ANDREF(C,2)=REF(C,1); 

    STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR004400; 

    STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR006600; 

    STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR008800; 

    STICKLINE(VARCQ,O,(O+C)/2,0,0),COLOR00AA00; 

    VARDQ:=REF(C,1)=HHV(C,4)ANDCREF(C,3)ORREF(C,3)=HHV(C,4)ANDREF(C,1)REF(C,2))ANDREF(C,2)=REF(C,4)ANDCSTICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFF4400; 

    STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFF6600; 

    STICKLINE(VARDQ,O,(O+C)/2,0,0),COLORFF8800; 

    公式解读:

    通达信最牛主图指标

     

    AA:=EMA(EMA(CLOSE,8)-EMA(CLOSE,13),3);BB:=(AA-REF(AA,1))*10;CC:=IF(BBREF(BB,1),BB,REF(BB,1)); 

    STICKLINE(BB0,0,BB,2,0),colorred;STICKLINE(BB0,0,BB,2,0),colorgreen; 

    STICKLINE(CC=BBANDREF(CC,1)REF(BB,1)ANDBB0,0,BB,1,0),colormagenta; 

    STICKLINE(CROSS(BB,0),0,BB,1,0),coloryellow;DRAWTEXT(CROSS(BB,0),BB*1.3, 买入 ),colorgreen; 

    DRAWTEXT(CROSS(0,BB),BB, 撤离 ),coloryellow; 

    DRAWTEXT(CC=BBANDREF(CC,1)REF(BB,1)ANDBB0,BB*1.3, 准备 ),colormagenta; 

    DRAWTEXT(CC=BBANDREF(CC,1)REF(BB,1)ANDBB0,BB*1.4, 加仓 ),colormagenta; 

    DRAWTEXT(BB,BB*1.3, 卖出 ),colorred; 

    BL1:=POW((C-MA(C,20)),2); 

    BL2:=MA(BL1,20); 

    BL3:=SQRT(BL2); 

    上轨:MA(C,20)+2*BL3,POINTDOT,Color00FFFF; 

    中轨:MA(C,21),POINTDOT,ColorFFFFFF; 

    下轨:MA(C,20)-2*BL3,POINTDOT,ColorFFFF00; 

    var1:=BARSCOUNT(C); 

    var2:=(HHV(H,200)-LLV(L,200))/40; 

    var3:=REF(C,1); 

    var4:=REF(C,2); 

    var5:=REF(C,3); 

    var6:=REF(C,4); 

    var7:=HHV(C,4); 

    var8:=LLV(C,4); 

    var9:=C=var7AND(var3=var4ORvar3=var5)ORvar3=var7ANDCLOSE=var4ORvar4=var7ANDvar5=var8ANDC=var3ORvar5=var7ANDC=var3ANDC=var4; 

    STICKLINE(var9,var3,C,5,0),colorred; 

    vara:=C=var7ANDvar3=var8; 

    STICKLINE(vara,var4,C,5,0),colorff00ff; 

    varb:=C=var8AND(var3var4ORvar3var5)ORvar3=var8ANDCvar4ORvar4=var8ANDvar3var7ANDCvar3ORvar5=var8ANDCvar3ANDCvar4; 

    STICKLINE(varb,var3,C,5,0),colorc0c0c0; 

    varc:=var3=var8ANDC=var4ORvar4=var8ANDvar3=var5ANDvar4var6ANDC=var3; 

    STICKLINE(varc,var3,var4,5,0),color00FF00; 

    vard:=var3=var7ANDCvar4OR(var4=var7ANDvar3var5ORvar5=var7ANDvar3var4)ANDvar4=var6ANDCvar3; 

    STICKLINE(vard,var3,var4*1.01,8,1),colorFF0000; 

    趋势:FORCAST(C,13),Color579829; 

    SQ1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; 

    SQ2:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100; 

    CM1:=IF(SQ112,30,0); 

    CM2:=IF(SQ212,30,0); 

    STICKLINE(CM1,L-0.2,L-0.4,4,1),Color0089FF; 

    STICKLINE(CM2,L-0.4,L-0.6,4,0),Color00FF00;//{超卖二:绿} 

    二分位:(H+L)/2,LINETHICK3,coloryellow,POINTDOT; 

    MID1:MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite; 

    UPPER1:MID1+2*STD(CLOSE,14),linethick2,coloryellow; 

    LOWER1:MID1-2*STD(CLOSE,14),linethick2,coloryellow; 

    VAR1:=UPPER1; 

    FF:=VAR1REF(VAR1,1); 

    PARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4; 

    VAR2:=LOWER1; 

    FF:=VAR2REF(VAR2,1);PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4; 

    VAR3:=MA(CLOSE,18); 

    FF:=VAR3REF(VAR3,1);PARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4; 

    VAR4:=MA(CLOSE,4); 

    FF:=VAR4REF(VAR4,1);PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3; 

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

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

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

    J:=3*K-2*D; 

    X:=REF(J,1)10ANDHREF(H,1)ANDCREF(C,1)ANDCREF(O,1)ANDLREF(L,1); 

    STICKLINE(X,L,L,20,0),COLOR008888; 

    STICKLINE(X,L,H,0,0),COLORFF00FF; 

    STICKLINE(X,C,O,5,0),COLORFF00FF; 

    WR:=WR(14); 

    DRAWICON(FILTER(CROSS(WR,(0-81)),10),L,4);//威廉买点 

    DRAWICON(FILTER(CROSS((0-19),WR),10),H,5);//威廉卖点 

    DRAWTEXT(FILTER(CROSS(WR,(0-81)),21),L, 威廉买 ),ALIGN0,colorred;//威廉买点 

    DRAWTEXT(FILTER(CROSS(0-19,WR),21),H, 威廉卖 ),ALIGN2,colorgreen;//威廉卖点 

    aa:=CLOSEREF(CLOSE,1)ANDREF(CLOSE,1)REF(CLOSE,2)ANDREF(CLOSE,1)REF(CLOSE,3)ANDIF(REF(CLOSE,3)REF(CLOSE,4),1,IF(REF(CLOSE,4)REF(CLOSE,5),REF(CLOSE,1)REF(CLOSE,4)OR(REF(CLOSE,2)REF(CLOSE,4)ANDREF(CLOSE,3)=REF(CLOSE,5)),IF(REF(CLOSE,5)REF(CLOSE,6),1,REF(CLOSE,6)REF(CLOSE,7)))); 

    bb:=CLOSEREF(CLOSE,1)ANDREF(CLOSE,1)REF(CLOSE,2)ANDREF(CLOSE,1)REF(CLOSE,3)ANDIF(REF(CLOSE,3)REF(CLOSE,4),1,IF(REF(CLOSE,4)REF(CLOSE,5),REF(CLOSE,1)REF(CLOSE,4)OR(REF(CLOSE,2)REF(CLOSE,4)ANDREF(CLOSE,3)=REF(CLOSE,5)),IF(REF(CLOSE,5)REF(CLOSE,6),1,REF(CLOSE,6)REF(CLOSE,7)))); 

    DRAWTEXT(aaANDCLOSEREF(OPEN,2),LOW, 三平底 ),color,COLORFF00FF; 

    DRAWTEXT(bbANDCLOSEREF(CLOSE,2),HIGH, 三平顶 ),colorred;


    image.png


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信最强主图指标公式 通达信最牛主图指标 加入收藏