买好股公式网 > 股票公式 > 通达信公式 > 通达信发指标啦又一大堆指标公式

通达信发指标啦又一大堆指标公式

2012年08月21日 【字体: 人气:
主图指标:A.{支撑压力}  Var1:=IF(DATE>=10201201,0,1);Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);Var3:=EMA(CLOSE,3);Var4:=(2*CLOSE+LOW+HIGH)/4*Var1;Var5:=Var2-Var3;风险线:EMA(Var4,45)*1.15;必卖线:EMA(Var4,55)*1.3;底线:EMA(Var4,40)*0.85;铁底线:EMA(Var4,88)*0.7,colorred;成本线:EMA(Var4,55),colorgreen;持仓:STICKLINE(Var5>=0,Var3,Var2,0.5,0),linethick2;减仓:STICKLINE(Var5<0,Var3,Var2,0.5,0),linethick2,coloryellow;价值中枢: (成本线+底线)/2,colorffff00;B.回吐支撑 飞狐主图源码清仓:1.66*MA(FORCAST(CLOSE,2),40),colorgreen;出货:1.36*MA(FORCAST(CLOSE,2),40),COLOR08ffff;高抛:1.16*MA(FORCAST(CLOSE,2),40),COLORff82ff;低吸:0.82*MA(FORCAST(CLOSE,2),40),COLORf7e300;满仓:0.72*MA(FORCAST(CLOSE,2),40),COLOR0000ff; 副图指标1、操盘手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、筹码空间筹码空间: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 当在相对低位时黄线K向上拐突破白线D时,就是介入的时机2 当在相对高位时黄线K向下拐突破白线D时,就是卖出的时机3 紫线代表该股的趋势4 如果你不需要看成交量的话,可以将该指标的第一行"筹码空间:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;"删除,这样可能你看的会更清楚一些.。3、顶底极品实价线:(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;底部区域:IF(A7>60,A7-60,0),COLORYELLOW;持有:STICKLINE(REF(底部区域,1)<底部区域,底部区域,REF(底部区域,1),5,0),COLORF00FF0;出货:STICKLINE(REF(底部区域,1)>底部区域,底部区域,REF(底部区域,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, '拉'), COLORFFFFCC;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、趋势指标趋势线:    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);  见底信号:    10;  买点准备:    IF(趋势线<=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.018OR CROSS(EMA30,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR 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.018OR CROSS(EMA60,EMA250) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR CROSS(EMA90,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018OR 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、机构散户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);机构:(SUM(((((VAR1 + VAR2) + VAR3) / 3) / CAPITAL),5) * 1000);散户:(SUM(((((VAR4 + VAR5) + VAR6) / 3) / CAPITAL),10) * 1000);系数:EMA((((((((COUNT(VAR8,12) / 12) + (COUNT(VAR7,12) / 12)) + (COUNT(VAR9,12) / 12)) / 3) * MA(机构,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;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , COLORFFFFFF;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;短线获利: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;趋势线: 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);买点准备:IF(趋势线<=10,0,10), COLORFF9933,LINETHICK3;STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366FF,;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ;DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$备钱'),COLOR33FFCC,;DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'短买'),,,,COLORRED ,;DRAWTEXT(CROSS(底部吸筹指标,-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、主力蓄势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);主力动向:    PWINNER(10,VAR3),COLORFF00FF;主力震仓:    PWINNER(10,VAR4),COLORWHITE;VAR5:=COST(10);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=COUNT(VAR6<-2.05,3);主力蓄势大本营: IF(VAR7>=3,0.20,0),COLORFFCC66;风险区域: 1,COLORRED,POINTDOT;0.9,COLOR0099FF,POINTDOT;VAR8:=(CLOSE-MA(CLOSE,10))/STD(CLOSE,35)*0.3;强弱动向: 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),COLOR00FFFF;金叉: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;再补一个:我根据自己阅读及理解及实际运用,发现五日摆动指标最实用.现在我把公式公布(大多数股期软件都能用),具体用法一看便知.     下面两公式为同一指标的2 个不同显示方法,可根据自己的喜好来选择,都是副图.============================== A:=HHV(HIGH,5);B:=REF(OPEN,4);f:=LLV(LOW,5);D:=2*(A-f);W:   (A-B+CLOSE-f)/D*100;MW:MA(W,3);X:30,COLORGREEN;S:70,COLORGREEN;   ao:=MA((((HHV(H,5)-REF(O,4))+(C-LLV(L,5)))*100)/((HHV(H,5)-LLV(L,5))*2),3);30;50;70 ;STICKLINE( ao>=REF( ao,1),0, ao,1,1),COLORRED;STICKLINE( ao<=REF( ao,1),0, ao,1,1),COLORGREEN;==============================如果5日摆荡指标大于70%,表示后势看涨,如果小于30%,则表示后势看跌,若在30%至70%之间,则表示看法中立。

 

0% (0)
0% (10)

关于通达信发指标啦又一大堆指标公式的评论:

 以下是对 [通达信发指标啦又一大堆指标公式] 的评论,总共:0条评论
加入收藏 | 关于我们 | 服务条款 | 广告服务 | 免责声明 | 站内地图 | 联系我们