您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信超短趋势指标

通达信超短趋势指标


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-05-26 09:28:00
公式简介:

通达信超短趋势指标







超短指标源码:

VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
SD: MA(SJ,2);
SK: MA(SJ,1);
VAR3:=CROSS(SK,SD) AND SK<0;
VAR4:=CROSS(SK,0);
VAR5:=CROSS(SK,SD) AND SK>0;
强弱分界: 0;
VAR6:SJ,COLORRED;
VAR7:SD,COLORRED;
关注:IF(VAR6>REF(VAR6,1),VAR6,DRAWNULL),COLORRED;
持股:IF(VAR7>REF(VAR7,1),VAR7,DRAWNULL),COLORRED;
观望:IF(VAR6<REF(VAR6,1),VAR6,DRAWNULL),COLORGREEN;
持币:IF(VAR7<REF(VAR7,1),VAR7,DRAWNULL),COLORGREEN;
MC:=MA(C,5);
VC:=C-MC;{V:=DC}
MVC:=MA(VC,3);
AC:=VC-MVC;{A:=D(V)=D(DC)}
LB:=MA(V,15)/MA(V,150);
KLIFX:=AC*LB;
STICKLINE(KLIFX>=0,0,KLIFX,2,1),COLORCC00CC;
STICKLINE(KLIFX<0,0,KLIFX,2,1),COLORCC6600;


趋势指标源码:

SHORT(1 100 5) LONG(1 100 55) MID(1 100 10)


DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
VAR1:DIF,COLORRED;
VAR2:DEA,COLORRED;
关注:IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),COLORRED;
持股:IF(VAR2>REF(VAR2,1),VAR2,DRAWNULL),COLORRED;
观望:IF(VAR1<REF(VAR1,1),VAR1,DRAWNULL),COLORGREEN;
持币:IF(VAR2<REF(VAR2,1),VAR2,DRAWNULL),COLORGREEN;
条件:="MACD.MACD"*3;
VA3:=HHVBARS(MACD,BARSLAST(MACD<0)+1);
VA4:=CROSS(BACKSET(CROSS(0,MACD),REF(VA3,1)+2),0.5);
前高:=DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1);
STICKLINE(MACD>前高,MACD,前高,0.0001,0),COLORWHITE;


[url=http://www.goodgupiao.com/gupiaogongshi/28742.html][B]通达信超短趋势指标[/B][/url]