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

    正文概述    2024-05-04 04:02:52  
    {低位抄底} 安全线:EMA(CLOSE,55),COLORLIGREEN,LINETHICK2; VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; A1:=(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4; A2:=EMA(A1,2); A3:=EMA(A2,2); A4:=EMA(A3,2); A5:=EMA(A4,2); A6:=EMA(A5,2); A7:=EMA(A6,2); A8:EMA(VAR1,2.78)*1.028,COLORMAGENTA; A9:MA(OPEN,3.2)*1.028,COLORYELLOW,DOTLINE; A:=(3*C+H+L+O)/6; XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382,COLORMAGENTA; MAA:=MA(XJ,3),COLORYELLOW,DOTLINE; PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+ 2*REF(A,8)+REF(A,9))/55; A2I:=SUM(IF(C REF(C,1),V*C,0),0); A3I:=SUM(IF(C REF(C,1),V*C,0),0); A4I:=SUM(IF(C=REF(C,1),V*C,0),0); B1万元:=DVOL*DCLOSE/100; B1差:=B1万元-REF(B1万元,1); 净流入万元:=(A2I-A3I-0.5*A4I),COLOR0088FF,NODRAW; PM:=MA(净流入万元,1); PMA:=PM/REF(PM,1) PMB:=REF(PMA,1) 1ANDPMA; 密码:=(EMA(MA(B1万元,2),2))/100000; 二日比:=密码/REF(密码,1); :PMBAND密码 REF(密码,1)AND二日比 1,COLORWHITE,NODRAW; 均价:=AMOUNT/V/100; 均价2:=MA(均价,3); 均价5:=MA(均价,5); 均价10:=MA(均价,10); 均价30:=MA(均价,30); :C 均价2AND均价2 REF(均价2,1)ANDREF(均价2,1) REF(均价2,2)AND REF(均价2,2) REF(均价2,3)AND选股,COLORYELLOW,NODRAW; 选票:REF(MA(C,5) MA(C,10),1)ANDCROSS(C,MA(C,5))ANDCROSS(二日比,1.01),COLORMAGENTA,NODRAW; 高:=REF(HHV(XJ,80),3); 顶点:REFDATE(高,DATE),COLORBROWN,NODRAW; 低:=REF(LLV(XJ,80),3); 低点:REFDATE(低,DATE),COLORGRAY,DOTLINE; 中:(顶点+低点)/2,COLORGRAY,DOTLINE; 流入:=BARSLAST(PM/REF(PM,1) 入:=EMA(EMA(流入,2),2); 入MA:=MA(入,3); 流入强度:(入-入MA),NODRAW; STICKLINE(流入强度 0,中,中+流入强度/4,0,0),COLORRED; STICKLINE(流入强度 0,中,中+流入强度/4,0,0),COLORCYAN; STICKLINE(流入强度 0AND流入强度 REF(流入强度,1),中,中+流入强度/4,0,0),COLORLIRED; A05:=EMA(PJ,11),COLORWHITE; XJ金叉:REF(XJ A05,1)ANDCROSS(XJ,MAA),COLORRED,NODRAW; {资金低位金叉} OA:=VOL*C; OB:=SUM(OA,1)/SUM(VOL,1); B1:=EMA(OB,17); 资金:=(OB-B1)/OB*100; FA:=EMA(资金,5)-EMA(资金,34); AA:=EMA(FA,9); 资低金叉:(CROSS(FA,AA)ANDFA -0.1),COLORWHITE,NODRAW; DI:=EMA(C,6)-EMA(C,13),; DE:=EMA(DI,5),; :=2*(DI-DE),; OA1:=BARSLAST(REF(CROSS(DI,DE),1)); 底:=REF(C,OA1+1) CANDDI REF(DI,OA1+1)ANDCROSS(DI,DE); STICKLINE(底背离,中,中+流入强度/4,0.1,0),COLORLIRED; DRAWTEXT(底背离,中+流入强度/4,'底背离'),COLORLIRED; OA2:=BARSLAST(REF(CROSS(DE,DI),1)); 顶背离:=REF(C,OA2+1) CANDREF(DI,OA2+1) DIANDCROSS(DE,DI); STICKLINE(顶背离,中,中+流入强度/4,0.1,0),COLORLIBLUE; DRAWTEXT(顶背离,中+流入强度/4,'顶背离'),COLORCYAN; DRAWTEXT(CROSS(85,RSI),XJ,'落袋'),COLORCYAN; {DRAWTEXT(CROSS(DE,DI)ANDDI 0,中+流入强度/3,'死叉'),COLORCYAN;} STICKLINE(资低金叉,低点,中,0,0),COLORWHITE; DRAWTEXT(资低金叉,低点+0.02,'资金叉'),COLORWHITE; STICKLINE(突破=1,C,O,2,0),COLORYELLOW; STICKLINE(选票=1,C,O,2,0),COLORMAGENTA; STICKLINE(选股=1,C,O,2,0),COLORWHITE; LX:=REF(XJ,1); ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100; KX1:=C =OANDZD KX2:=C OANDZD KX3:=C =OANDZD KX4:=C OANDZD STICKLINE(KX1,A8,A9,1,0),COLOR0000CC; STICKLINE(KX2,A8,A9,1,0),COLOR008888; STICKLINE(KX3,A8,A9,1,0),COLORLIRED; STICKLINE(KX4,A8,A9,1,0),COLORLICYAN,; R1:IF(A1 REF(A1,1),A1,A1),COLOR008200,LINETHICK1; Q1:IF(A1 REF(A1,1),A1,DRAWNULL),COLORRED,LINETHICK1; R2:IF(A2 REF(A2,1),A2,DRAWNULL),COLOR008C00,LINETHICK1; Q2:IF(A2 REF(A2,1),A2,DRAWNULL),COLOR000085,LINETHICK1; R3:IF(A3 REF(A3,1),A3,DRAWNULL),COLOR009B00,LINETHICK1; Q3:IF(A3 REF(A3,1),A3,DRAWNULL),COLOR00006C,LINETHICK1; R4:IF(A4 REF(A4,1),A4,DRAWNULL),COLOR00BB00,LINETHICK1; Q4:IF(A4 REF(A4,1),A4,DRAWNULL),COLOR00007D,LINETHICK1; R5:IF(A5 REF(A5,1),A5,DRAWNULL),COLOR00CC00,LINETHICK1; Q5:IF(A5 REF(A5,1),A5,DRAWNULL),COLOR00009F,LINETHICK1; R6:IF(A6 REF(A6,1),A6,DRAWNULL),COLOR00CC00,LINETHICK1; Q6:IF(A6 REF(A6,1),A6,DRAWNULL),COLOR00009F,LINETHICK1; R7:IF(A7 REF(A7,1),A7,DRAWNULL),COLOR00CC00,LINETHICK1; Q7:IF(A7 REF(A7,1),A7,DRAWNULL),COLOR00009F,LINETHICK1; DRAWTEXT(突破=1,L,'突破'),COLORYELLOW; DRAWTEXT(选票=1,C,'选票'),COLORMAGENTA; DRAWTEXT(选股=1,A8,'选股'),COLORWHITE; DRAWICON(XJ金叉=1,L-0.02,1); {牛市抄底} VAR1G:=(((CLOSE/MA(CLOSE,40))*100) VAR2G:=(((CLOSE/MA(CLOSE,60))*100) VAR3G:=(HIGH (LOW*1.051));VAR4G:=(VAR3GAND(COUNT(VAR3G,5) AA:=IF((VAR4GAND(VAR1GORVAR2G)),2,0);BB:=C/REF(C,25) =1.1;CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100) V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;操盘线:=SMA(V3,2,1);V5:=SMA(操盘线,2,1);抄底:IF(操盘线 REF(操盘线,1)ANDREF(操盘线,1) REF(操盘线,2)AND操盘线 23,1.5,0)ANDC MA(C,70); {CCI主升浪抄底} DRAWBAND(350,RGB(100,120,180),-300,RGB(100,120,180)); CC1:CCI(25),COLORSTICK,COLOR40FF00; DRAWICON(CROSS(200,CCI),250,2); DRAWICON(CROSS(CCI,-200),-250,1); 转强:CCI 0,COLOR0000D5,NODRAW; STICKLINE(CCI 0,0,CCI,2,0),COLOR0000D5; 弱转强:CROSS(CCI,-200)ANDCCI REF(CCI,1),COLOR00DFDF,NODRAW; STICKLINE(CROSS(CCI,-200)ANDCCI REF(CCI,1),CCI,0,2,0),COLOR00DFDF; 强转弱:CROSS(200,CCI)ANDCCI REF(CCI,1),COLOR00CA00,NODRAW; STICKLINE(CROSS(200,CCI)ANDCCI REF(CCI,1),0,CCI,2,0),COLOR00CA00; 生命CCI线:CCI(84),COLORWHITE; 底部线:-100.00,COLORYELLOW,LINETHICK2; 警戒线:300.00,COLORWHITE,LINETHICK2; 生命线:100.00,COLORRED,LINETHICK2; DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'★主升浪')COLORRED; DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'★警惕')COLORRED; DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'★强')COLORMAGENTA; 200; -200; {高精抄底} VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(VAR2+2*VAR3+3*VAR4)/6;VAR6:=MA(VAR5,3);D2:=VAR6 =-10;DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;VAR7:=macd 0ANDREF(MACD,1) REF(MACD,2)ANDREF(MACD,2) REF(MACD,3)ANDREF(MACD,3) REF(MACD,4);VAR8:=MACD 0ANDREF(MACD,1) REF(MACD,2)ANDREF(MACD,2) REF(MACD,3);VAR9:=MACD 0ANDREF(MACD,1) REF(MACD,2);VAR10:=VAR7ORVAR8ORVAR9;D3:=VAR10;VAR11:=CLOSE/MA(CLOSE,20)*100 VAR12:=CLOSE/MA(CLOSE,40)*100 VAR13:=CLOSE/MA(CLOSE,60)*100 VAR14:=HIGH LOW*1.051;VAR15:=VAR14ANDCOUNT(VAR14,5) VAR16:=(VAR11ANDVAR12)OR(VAR12ANDVAR13)OR(VAR11ANDVAR13);D4:=VAR15ANDVAR16;线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;AA:=((REF(趋势线,1) REF(趋势线,2)AND趋势线 -30)AND趋势线 =REF(趋势线,1))OR(REF(CROSS(-30,趋势线),1)ANDCROSS(趋势线,-30))OR趋势线=-30;BB:=((REF(趋势线,1) REF(趋势线,2)AND趋势线 -20AND趋势线 -25)AND 趋势线 =REF(趋势线,1))OR(REF(CROSS(-20,趋势线),1)ANDCROSS(趋势线,-20));D5:=BB;XG:D2ANDD3ANDCOUNT(D4,3) =1ANDCOUNT(D5,5) {RSI+WR抄底} LC:=REF(CLOSE,1); RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); WR反向:(0-WR)-100,COLORRED; A11:100; A2:-5; A3:10; A4:80; 相对强弱RSI买入:CROSS(RSI1,20),STICK,LINETHICK2,COLORYELLOW; RSI买入:STICKLINE(CROSS(RSI1,8),0,70,0,0),LINETHICK2,COLORYELLOW; {短底抄底} BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离:=MA(BIAS,3);抄底:IF(乖离 -12AND乖离 =-18,-4,0);

    公式解读:



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信抄底大全指标公式源码分享 加入收藏