通達(dá)信公式經(jīng)過實(shí)戰(zhàn)驗(yàn)證后的14個(gè)精品指標(biāo)!!!(含源碼):歡迎使用:通達(dá)信公式源碼。通達(dá)信公式源碼 1、通達(dá)信公式源碼操盤手 VAR1:=HHV(HIGH,25); VAR2:=LLV(LOW,25); 阻力線:EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20),COLORF0F000,LINETHICK2; 突破線:= EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5); 操作線:突破線,COLORRED, LINETHICK2; 2、通達(dá)信公式源碼籌碼空間 籌碼空間:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK; TX80:80,POINTDOT COLORYELLOW; DX20:20,POINTDOT COLORGREEN; VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,8),COLORYELLOW ; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE; VAR3:=LLV(LOW,55); VAR4:=HHV(HIGH,34); VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3); VAR6:=(K+VAR5)/2; VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2); VAR8:=EMA(VAR6,5); VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2); 用法:看到黃線K和白線D了嗎? 1 當(dāng)在相對(duì)低位時(shí)黃線K向上拐突破白線D時(shí),就是介入的時(shí)機(jī) 2 當(dāng)在相對(duì)高位時(shí)黃線K向下拐突破白線D時(shí),就是賣出的時(shí)機(jī) 3 紫線代表該股的趨勢(shì) 4 如果你不需要看成交量的話,可以將該指標(biāo)的第一行"籌碼空間:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;"刪除,這樣可能你看的會(huì)更清楚一些.。 3、通達(dá)信公式源碼頂?shù)讟O品 實(shí)價(jià)線C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,COLORWHITE; A1:=(2*C+H+L)/4; A2:=LLV(L,34); A3:=HHV(H,34); A4:=SMA((HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100-70,9,1)+100; A5:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100; A6:=SMA(SMA(A5,3,1),3,1)+100; A7:=A6-A4; 底部區(qū)域:IF(A7>60,A7-60,0),COLORYELLOW; 持有:STICKLINE(REF(底部區(qū)域,1)<底部區(qū)域,底部區(qū)域,REF(底部區(qū)域,1),5,0),COLORF00FF0; 出貨:STICKLINE(REF(底部區(qū)域,1)>底部區(qū)域,底部區(qū)域,REF(底部區(qū)域,1),5,0),COLOR00FF00; 中線持有:EMA((A1-A2)/(A3-A2)*100,13),COLORBLUE; 中線出貨:EMA(0.667*REF(中線持有,1)+0.333*中線持有,2),COLORRED; STICKLINE(中線持有-中線出貨>0,中線持有,中線出貨,8,0),COLORBLUE; STICKLINE(中線持有-中線出貨<0,中線持有,中線出貨,8,0),COLORRED; 4、“波段確定”源碼 q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100; q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; q3:=SMA(q2, 9, 1); q4:=SMA(q3, 3, 1); aa:3*q3-2*q4, ,color1010FF; q5:=aa>1*REF(aa, 1); q6:=LLVBARS(LOW, 50); q7:=SUM(VOL, q6); q8:=HHVBARS(HIGH, 50); q9:=SUM(VOL, q8); q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100; q11:=HHV(aa,5); A1:EMA(q3, 3) , COLORFFDDCC; A2:EMA(a1, 3) , COLORFFBBCC; A3:EMA(a2, 3) , COLORFF99CC; A4:EMA(a3, 3) , COLORFF55CC; A5:EMA(a4, 3) , COLORFF33CC; A6:EMA(a5, 3) , COLORFF11CC; a:EMA(a4, 3), , COLORFF00CC; DRAWTEXT(CROSS(aa, 20) AND q10<-13,10,'*大底'), color00ff00; DRAWTEXT(CROSS(aa, a5) AND ref(aa,1)<34,ref(aa,1),'小'), color00ff00; DRAWTEXT(CROSS(A1, aa) AND ref(aa,1)>80, ref(aa,3), '*頂'), COLOR00ff00; DRAWTEXT(CROSS(aa, A1) AND q5 AND a1<20 AND q1>9 OR a1>1*REF(a1, 1) AND q1>4 AND a1<60, 30, '拉'), COLOR158牛股論壇www.g158.com 祝你股市成功!FCC; 5、波段高手 V11:=MA(C,3)=LLV(MA(C,3),7); V12:=MA(C,3)<MA(C,5); V13:=MA(V,5)<MA(V,10)*0.99; V14:=COUNT(MA(C,1)<REF(C,1),2)=2; 黃:IF(V11 AND V12 AND V13 AND V14,100,50),LINETHICK2; V1:=MA(C,3)=HHV(MA(C,3),7); V2:=MA(C,3)>MA(C,5); V3:=MA(V,5)>MA(V,10)*1.01; V4:=COUNT(MA(C,1)>REF(C,1),2)=2; 賣:IF(V1 AND V2 AND V3 AND V4,50,0),LINETHICK2; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:SMA(RSV,3,1),; D:SMA(K,3,1); 6、趨勢(shì)指標(biāo) 趨勢(shì)線: 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); 見底信號(hào): 10; 買點(diǎn)準(zhǔn)備: IF(趨勢(shì)線<=10,50,0); 7、四線金叉 EMA30:EMA(C,30),COLORWHITE,LINETHICK2; EMA60:EMA(C,60),COLORFF00FF; EMA90:EMA(C,90),COLORYELLOW; EMA120:EMA(C,120),COLORFFCC66; EMA250:EMA(C,250),COLORBLUE; SS:=CROSS(EMA30,EMA60) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA30,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA30,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)}; DRAWICON(SS,L-0.04,1); DD:=CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA60,EMA250) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA90,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(EMA60,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA30,EMA250); {DD:=CROSS(EMA30,EMA250);} DRAWICON(DD,L-0.04,3); 8、多空能量 VAR0:=(2*CLOSE+HIGH+LOW)/4; VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100; VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16); 短線:SMA(SMA(VAR2,2,1)+3,2,1),COLORYELLOW; 浮籌:EMA(B,4),LINETHICK2,COLORGREEN; 空方:SMA(VAR1,3,1); DRAWICON(短線>浮籌,0,10); DRAWICON(短線<浮籌,0,11); 浮籌1:浮籌+0.5,LINETHICK0; 浮籌2:浮籌+1,LINETHICK0; 浮籌3:浮籌+1.5,LINETHICK0; 浮籌4:浮籌+2,LINETHICK0; 9、機(jī)構(gòu)散戶 VAR1:=IF((CLOSE > OPEN),((CLOSE - OPEN) * VOL),IF((CLOSE < OPEN),((CLOSE - OPEN) * VOL),0)); VAR2:=IF((CLOSE > REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),IF((CLOSE < REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),0)); VAR3:=IF((OPEN > REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),IF((OPEN < REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),0)); VAR4:=IF((CLOSE < OPEN),((OPEN - CLOSE) * VOL),IF((CLOSE > OPEN),((OPEN - CLOSE) * VOL),0)); VAR5:=IF((CLOSE < REF(CLOSE,1)),((REF(CLOSE,1) - CLOSE) * VOL),IF((CLOSE > REF(CLOSE,1)),((REF(CLOSE,1) - CLOSE) * VOL),0)); VAR6:=IF((OPEN < REF(CLOSE,1)),((REF(CLOSE,1)-OPEN) * VOL),IF((OPEN > REF(CLOSE,1)),((REF(CLOSE,1) - OPEN) * VOL),0)); VAR7:=(CLOSE > OPEN); VAR8:=(CLOSE > REF(CLOSE,1)); VAR9:=(OPEN > REF(CLOSE,1)); VARA:=((VAR7 OR VAR8) OR VAR9); 機(jī)構(gòu)SUM(((((VAR1 + VAR2) + VAR3) / 3) / CAPITAL),5) * 1000); 散戶SUM(((((VAR4 + VAR5) + VAR6) / 3) / CAPITAL),10) * 1000); 系數(shù):EMA((((((((COUNT(VAR8,12) / 12) + (COUNT(VAR7,12) / 12)) + (COUNT(VAR9,12) / 12)) / 3) * MA(機(jī)構(gòu),5)) * 2) * 1.1),2),COLORRED; 平衡:0,POINTDOT,COLORGREEN; 10、出手就贏 VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);STICKLINE(VAR9>-150,0,VAR9,3,0), , COLORFF00FF;底部吸籌指標(biāo): (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;STICKLINE(CROSS(底部吸籌指標(biāo),-24),100,0,6,0), , COLOR158牛股論壇www.g158.com 祝你股市成功!158牛股論壇www.g158.com 祝你股市成功!;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升: IF(CROSS(底部吸籌指標(biāo),-24),1,0), , COLOR158牛股論壇www.g158.com 祝你股市成功!158牛股論壇www.g158.com 祝你股市成功!;短線獲利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,0,2,0),COLOR0000FF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趨勢(shì)線: 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), ,COLORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK;出手就贏:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORYELLOW;DRAWICON(出手就贏>0,50 ,1);買點(diǎn)準(zhǔn)備:IF(趨勢(shì)線<=10,0,10), COLORFF9933,LINETHICK3;STICKLINE( CROSS(趨勢(shì)線,10),0,73,6,0), COLOR3366FF,;DRAWTEXT(IF(CROSS(趨勢(shì)線,10),100,0),68,'抄底'),COLORWHITE ;DRAWTEXT(IF(CROSS(10,趨勢(shì)線),1,0), 10,'$備錢'),COLOR33FFCC,;DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'短買'),,,,COLORRED ,;DRAWTEXT(CROSS(底部吸籌指標(biāo),-24),80,'抄底'),COLORWHITE ,; 11、多空搏弈 VAR1:=1; VAR2:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100*VAR1; VAR3:=SMA(VAR2,3,1)*VAR1; VAR4:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100*VAR1; VAR5:=SMA(SMA(VAR4,2,1)+3*VAR1,2,1); WINNER(MA(CLOSE,5))*100, COLORSTICK; VAR6:=WINNER(MA(CLOSE,5))*100; VAR7:=HHV(HIGH,9)-LLV(LOW,9); VAR8:=HHV(HIGH,9)-CLOSE; VAR9:=CLOSE-LLV(LOW,9); VARA:=VAR8/VAR7*100-70; VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VARC:=(2*CLOSE+HIGH+LOW)/4; VARD:=SMA(VAR9/VAR7*100,3,1); VARE:=LLV(LOW,26); VARF:=SMA(VARD,3,1)-SMA(VARA,9,1); VAR10:=IF(VARF>100,VARF-100,0); VAR11:=HHV(HIGH,34); VAR12:=EMA((VARC-VARE)/(VAR11-VARE)*100,16); VAR13:=EMA(VAR12,4); VAR14:=LLVBARS(MA(CLOSE,5),30); 壓力線: IF(35+EMA(VAR13,80)<100,35+EMA(VAR13,80),100),COLORGREEN; 主力生命: WINNER(MA(CLOSE,5))*100,COLORRED; 多方: SMA(SMA(VAR4,2,1)+3*VAR1,2,1),COLORYELLOW; 浮籌: EMA(VAR12,4),COLORBLUE; 空方: SMA(VAR2,3,1)*VAR1,COLORWHITE; 12、主力蓄勢(shì) VAR1:=HHV(HIGH,3); VAR2:=(IF(WINNER(1.1*CLOSE)<0,0,WINNER(1.1*CLOSE))-IF(WINNER(0.9*CLOSE)<0,0,WINNER(0.9*CLOSE)))*100; VAR3:=IF(VAR1<0,0,VAR1); VAR4:=IF(VAR2<0,0,VAR2); 主力動(dòng)向: PWINNER(10,VAR3),COLORFF00FF; 主力震倉: PWINNER(10,VAR4),COLORWHITE; VAR5:=COST(10); VAR6:=(CLOSE-VAR5)/VAR5*100; VAR7:=COUNT(VAR6<-2.05,3); 主力蓄勢(shì)大本營(yíng): IF(VAR7>=3,0.20,0),COLORFFCC66; 風(fēng)險(xiǎn)區(qū)域: 1,COLORRED,POINTDOT; 0.9,COLOR0099FF,POINTDOT; VAR8:=(CLOSE-MA(CLOSE,10))/STD(CLOSE,35)*0.3; 強(qiáng)弱動(dòng)向: EMA(VAR8,18),COLOR00FF00; VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100); VAR10:=SMA(VAR9,3,1); VAR11:=SMA(VAR10,3,1),COLOR0000FF; VAR12:=SMA(VAR11,3,1),COLOR00158牛股論壇www.g158.com 祝你股市成功!F; 金叉:IF(CROSS(VAR11,VAR12) AND (VAR11<40),0.9,0),COLOR0000FF,LINETHICK2; STICKLINE(金叉,0,0.5,8,0),COLORRED; STICKLINE(金叉,0.45,0.6,2,0),COLORRED; |
聯(lián)系客服