顶底趋势指标(通达信)

大智慧增加单均差线的单均差指标公式

此指标是我精心收藏的指标,

准确出击指标(通达信)

不知道是哪个作者了,无未来函数,真正的好指标。

趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN;

stICKLINE(趋势>50,趋势,50,4,0),COLOR32329B;

STICKLINE(50>趋势,趋势,50,4,0),COLOR326400;

IF(趋势>50, 趋势,DRAWNULL), COLORRED;

RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;

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

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

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

cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);

DEA:=EMA(DIFF,6);

macd:=2*(DIFF-DEA);

转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MacD>0,1,0);

STICKLINE(转点=1,50,50,6,0),COLORYELLOW;

STICKLINE(转点=0,50,50,6,0),COLORCYAN;

顶部:90,COLORYELLOW;

底部:10,COLORCYAN;

判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;

IF( 趋势>判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;

IF( 趋势<判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;

DRAWICON(crOSS(趋势,判断),判断,1);

DRAWICON(CROSS(趋势,顶部),顶部,2);

LC:= REF(CLOSE,1);

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

VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;

VAR2:=SMA(VAR1,9,1)+100;

VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR4:=SMA(VAR3,3,1);

VAR5:=SMA(VAR4,3,1)+100;

VAR6:=VAR5-VAR2;

短线1: IF(VAR6>45,VAR6-45,0),COLORA6B8C1;

VAR2Q:=REF(LOW,1);

VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;

VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);

VAR5Q:=LLV(LOW,30);

VAR6Q:=HHV(VAR4Q,30);

VAR7Q:=IF(MA(CLOSE,58),1,0);

VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;

VR2:=REF(LOW,1);

VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;

VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);

VR5:=LLV(LOW,30);

VR6:=HHV(VR4,30);

VR7:=IF(MA(CLOSE,58),1,0);

VR8:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;

VR9:=IF(VR8>100,100,VR8);

主力进场:STICKLINE(VR9>-150,0,VR9,3,0), , COLORFF00FF;

洗盘:IF(VR9<REF(VR9,1),VR9,0),COLORGREEN,NODRAW;

STICKLINE(VR9<REF(VR9,1),0,VR9,3,0),COLORGREEN;

短线获利:STICKLINE(REF("kdj.J",1)<0 AND "kdJ.J">0,60,25,2,0),COLORYELLOW;

VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

VARK2:=REVERSE(VARK1);

VARK3:=SMA(VARK1,3,1);

大智慧KDJ+资金流入指标公式