您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信超短macd背离副图指标 贴图

通达信超短macd背离副图指标 贴图


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

WY1001:=(2*CLOSE+HIGH+LOW)/4;{非常准}
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
STICKLINE(XYS0>=0,XYS0,0,2,0),COLOR0000FF;
STICKLINE(XYS0<0,XYS0,0,2,0),COLORFFFF00;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);

STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;
XYS1:MA(XYS0,2),COLOR00FF00;
XYS2:MA(XYS0,1),COLOR00FFFF;
STICKLINE(CROSS(XYS2,XYS1) , 0.2 ,0 ,2,0 ),COLOR00FFFF;
STICKLINE(XYS2>XYS1 AND 0>XYS2 ,XYS2 ,0 ,2 ,0),COLORFF00FF;
STICKLINE(XYS2<XYS1 AND 0<XYS2 ,XYS2 ,0 ,2,1),COLOR00FF00;
STICKLINE(CROSS(XYS1,XYS2) AND XYS2>0 ,XYS2 ,0 ,2 ,0),COLOR00FF00;

A1:=BARSLAST(REF(CROSS(XYS2,XYS1),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND XYS2>REF(XYS2,A1+1) AND CROSS(XYS2,XYS1);
DRAWTEXT(底背离,XYS2*1,' 底背离'),COLORWHITE;
DRAWICON(底背离,XYS2*1,38);
DA1:=BARSLAST(REF(CROSS(XYS2,XYS1),1));
D底背离:=REF(CLOSE,DA1+1)>CLOSE AND XYS2>REF(XYS2,DA1+1) AND CROSS(XYS2,XYS1);
底背画线:DRAWLINE(DA1=0,XYS1,D底背离,XYS1,0),COLORWHITE,DOTLINE,LINETHICK3;

A2:=BARSLAST(REF(CROSS(XYS1,XYS2),1));
{MACD日线顶背离}
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(XYS1,A2+1)>XYS1 AND CROSS(XYS1,XYS2);
DRAWTEXT(顶背离,XYS1*1,' 顶背离'),COLORGREEN;
DRAWICON(顶背离,XYS1*1,39);

DA2:=BARSLAST(REF(CROSS(XYS1,XYS2),1));
D顶背离:=REF(CLOSE,DA2+1)<CLOSE AND REF(XYS1,DA2+1)>XYS2 AND CROSS(XYS1,XYS2);
顶背画线:DRAWLINE(DA2=0,XYS1,顶背离,XYS1,0),COLORLIGREEN,DOTLINE,LINETHICK2;


 


通达信超短macd背离副图指标 贴图

通达信超短macd背离副图指标 贴图

通达信超短macd背离副图指标 贴图

通达信超短macd背离副图指标 贴图


[url=http://www.goodgupiao.com/gupiaogongshi/47071.html][B]通达信超短macd背离副图指标 贴图[/B][/url]