通达信趋势无敌指标公式

通达信网庄影指标公式

N:=9;M:=14;N1:=6;

TYP := (HIGH + LOW + CLOSE)/3;

CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF;

C1:=SMA(CC1,3,1);

C2:=SMA(C1,3,1);

C3:=3*C1-2*C2;

CB1:=EMA(C3,5);

CB2:=REF(CB1,1);

DRAWBAND(CC1,RGB(220,50,100),100,RGB(100,150,72));

DRAWBAND(CC1,RGB(220,50,100),100,RGB(100,80,220));

stICKLINE(C>1,100,-100,5,0),COLORGRAY;

cci:CC1,COLORFF00FF;

LC := REF(CLOSE,1);

rsi1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;

RSI:(RSI1-50)*5,LINETHICK2,COLORYELLOW;

R1:=SMA(RSI,3,1);

D1:=SMA(R1,3,1);

J1:=3*R1-2*D1;

RR1:=EMA(J1,5);

RR2:=REF(RR1,1);

RR:=RR1>RR2;

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

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

K1:(K-50)*5,COLORFFFF00;

K2:=SMA(K1,3,1);

D2:=SMA(K2,3,1);

J2:=3*K2-2*D2;

BB1:=EMA(J2,5);

BB2:=REF(BB1,1);

买入:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100;

DRAWICON(买入,-200,1);

卖出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100;

DRAWICON(卖出,200,2);

LC1:=REF(CLOSE,1);

RSI5:=((SMA(MAX((CLOSE - LC1),0),5,1) / SMA(ABS((CLOSE - LC1)),5,0)) * 100);

TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);

HD:=(HIGH - REF(HIGH,1));

LD:=(REF(LOW,1) - LOW);

DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);

DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);

pdi:=((DMP * 100) / TR);

mdi:=((DMM * 100) / TR);

ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);

AV:=(RSI5 + ADX);

DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);

0,COLORFF00FF;

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

NEWvol:=(RSI5 - WR10);

阶段底部:=(AV + NEWVOL);

STICKLINE((阶段底部 >= 0),0,阶段底部,0.3,1),LINETHICK2,COLORCC6600;

STICKLINE((阶段底部 < 0),0,阶段底部,0.8,1),LINETHICK6,COLORRED;

趋势线:LLV(阶段底部,1),COLORFFFFFF;

STICKLINE((趋势线 >230 ),250,趋势线,0.8,1),LINETHICK6,COLORGREEN;

230,COLORFFFFFF;

VAR1:=(HIGH+LOW+CLOSE)/3;

VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));

150,COLORBLUE;

100;

0;

-100;

-150;

BB: EMA(VAR2,2),LINETHICK2,COLORWHITE;

VAR3:=MA(VOL,5);

VAR4:=MA(VOL,10);

VAR5:=MA(VOL,60);

VAR6:=MA(CLOSE,5);

VAR7:=MA(CLOSE,8);

VAR8:=MA(CLOSE,25);

VAR9:=MA(CLOSE,60);

VARA:=crOSS(VAR2,BB) AND VAR2>80 AND VOL>VAR3 AND VOL>VAR4 AND VOL>VAR5 AND VAR6>VAR9 AND VAR7>VAR9 AND VAR8>VAR9 AND OPEN<VAR6 AND CLOSE>VAR6;

{指标网-股票公式网站 www.zhibiaow.com}

DRAWTEXT(VARA,5,' 拉升!'),COLORYELLOW;

STICKLINE(VARA,5,-100,3,0),COLORRED;

底部:=CROSS(BB,-100);

DRAWICON(底部,-100,1);

顶部:=CROSS(150,BB);

DRAWICON(顶部,150,2);

VAR11:=3;

VAR21:=(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));

股价准备启动:IF(CROSS(VAR21,VAR11),100,0),COLORRED,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),LINETHICK1,POINTDOT;

超短线:2*(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK2,COLORMAGENTA;

STICKLINE(主力线>REF(主力线,1) ,主力线 ,REF(主力线,1),3 ,0),COLORFF00FF;

STICKLINE(主力线<=REF(主力线,1) ,主力线 ,REF(主力线,1),3 ,0),COLORGREEN;

V1:=(C*2+H+L)/4*1;

V2:=EMA(V1,13)-EMA(V1,34);

V3:=EMA(V2,5);

V4:=2*(V2-V3)*5.5;

庄家秘密撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;

庄家秘密进: IF(V4>=0,V4,0),COLORRED,LINETHICK2;bias1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*2,COLORWHITE;

BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*2,COLORFF00FF,LINETHICK2;

见底:IF(BIAS3<-15,10,0),LINETHICK2,COLORRED;短线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*500,LINETHICK0,COLORYELLOW;

中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*500,LINETHICK0,COLORWHITE;

红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;

蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00;

{红柱}

STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,1,1),COLORCYAN;

STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,1,1),COLORRED;

STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,1,0),COLOR00FFFF;

{蓝柱}

STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,1,0),COLORLIRED;

STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,1,1),COLORGREEN;

STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,1,0),COLORRED;

通达信本日新高指标公式