您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:操盘手K线主图 趋势线和K线的应用

操盘手K线主图 趋势线和K线的应用


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

SJTJ:=DATE<1590301;
最新价:IF(SJTJ, C,DRAWNULL),LINETHICK0,COLORYELLOW;
DRAWNUMBER(ISLASTBAR ,C,C),COLORWHITE;
AAA:=CONST(HHV(H,50));PL5:=HHV(H,45);


买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU AND SJTJ,L-0.1,1);
DRAWICON(SEL AND SJTJ,H+0.1,2);
趋势线上升:IF(买线>卖线 AND SJTJ,卖线,DRAWNULL),LINETHICK2,COLORRED;
趋势线下降:IF(卖线>买线 AND SJTJ,卖线,DRAWNULL),LINETHICK2,COLORGREEN;
DK1:=BARSLAST(买线>卖线);
KK1:=BARSLAST(卖线>买线);
DK2:=BARSLAST(CROSS(KK1,DK1));
KK2:=BARSLAST(CROSS(DK1,KK1));
HS:=DK2<KK2 AND SJTJ;
LS:=KK2<DK2 AND SJTJ;
W2:=OPEN-CLOSE;
HT:=IF(OPEN>CLOSE,OPEN,CLOSE);
LT:=IF(OPEN<CLOSE,OPEN,CLOSE);
STICKLINE(W2>0 AND HS,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(W2>0 AND HS,OPEN,H,0.0,0),COLORRED;
STICKLINE(W2>0 AND HS,C,L,0.0,0),COLORRED;
STICKLINE(W2<=0 AND HS,OPEN,CLOSE,2,1),COLORRED;
STICKLINE(W2<=0 AND HS,O,L,0.0,0),COLORRED;
STICKLINE(W2<=0 AND HS,C,H,0.0,0),COLORRED;

STICKLINE(W2>0 AND LS,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(W2>0 AND LS,OPEN,H,0.0,0),COLORGREEN;
STICKLINE(W2>0 AND LS,C,L,0.0,0),COLORGREEN;
STICKLINE(W2<=0 AND LS,OPEN,CLOSE,2,1),COLORGREEN;
STICKLINE(W2<=0 AND LS,C,H,0.0,0),COLORGREEN;
STICKLINE(W2<=0 AND LS,O,L,0.0,0),COLORGREEN;
MA5:MA(CLOSE,5),COLORWHITE,LINETHICK1;
MA10:MA(CLOSE,10),COLORCYAN,LINETHICK1;
MA60:MA(CLOSE,60),COLORMAGENTA,LINETHICK1;
DRAWTEXT(HS=1 AND REF(LS,1),LOW*0.995,48);
DRAWTEXT(LS=1 AND REF(HS,1),H*1.008,49);
DRAWNUMBER(ISLASTBAR ,卖线,卖线),COLORYELLOW;
 


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/22058.html][B]操盘手K线主图 趋势线和K线的应用[/B][/url]