通达信超级主图指标公式

通达信跌涨趋势线主图指标公式

DX:=(C+H+L+O)/4;

短线:(MA(DX,1)+MA(DX,3)+MA(DX,5))/3,COLORFFFFFF;

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

ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);

FB:=MA(DX,17)+ABS(MA(DX,17)-REF(MA(DX,17),1));

FS:=MA(DX,17)+MA(DX,17)-REF(MA(DX,17),1);

搏杀线:IF(MA(DX,17)<FS,FS,MA(DX,17)),LINETHICK2,COLOR000FFF;

IF(FB>FS,搏杀线,DRAWNULL),COLOR00FF00;

DRAWBAND(FS,FB>FS,FB,RGB(0,250,0));

UPPER:= 搏杀线 + 2*stD(CLOSE,20);

买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND crOSS(ZLGJ,MA(ZLGJ,2)),1,0);

卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);

STICKLINE(FILTER(买1=1,5),C,O,1,0),COLORFF00FF;

STICKLINE(FILTER(卖1=1,1),C,O,1,0),COLOR00FF00;

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;

BDGD:=HHV(J,2)=HHV(J,8) AND J>80;

注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);

STICKLINE(注意 AND 卖1<1,O,CLOSE,1,0),COLORYELLOW,LINETHICK2;

A:=(3*C+L+O+H)/6;

BB:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)

+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)

+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+

REF(A,20))/210;

生死线:EMA(BB,90),LINETHICK1,COLORYELLOW;

{www.zhibiaow.com 指标网_最新股票指标公式}

价涨量缩:DRAWICON(FILTER(REF(V,3)>REF(V,2)*1.1 AND REF(V,2)>=REF(V,1)*1.1

AND REF(V,1)<=V AND L>REF(L,3) AND REF(C,3)>REF(O,3) AND

REF(L,1)>REF(LOW,3),5),L,1);

STICKLINE(搏杀线>生死线 AND CROSS(短线,搏杀线),L,L*0.99,3,0),COLOR00FF00;

VAR1:=MA((vol-REF(VOL,1))/REF(VOL,1),5);

VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

MY:=VAR2*(1+VAR1);

SHT:= MY;

SHTMA:= MA(SHT,5);

IF(SHTMA>=MY,短线,DRAWNULL),COLOR00FF00;

IF(SHTMA<=MY,短线,DRAWNULL),COLORAA00FF;

通达信主看趋势指标公式