联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

通达信看趋势的指标——趋势跟踪

2015-4-11 13:45:08点击:

加微信:zb-mart免费验证!

MID:=(HIGH+LOW+OPEN+CLOSE)/4;
MA5:MA(MID,5);

IF(MA5>REF(MA5,1) AND C>SAR(4,2,20),MA5,DRAWNULL),COLORRED,LINETHICK1;
IF(NOT(MA5>REF(MA5,1) AND C>SAR(4,2,20)),MA5,DRAWNULL),COLORCYAN,LINETHICK1;

STICKLINE(MA5>REF(MA5,1) AND C>SAR(4,2,20) AND C<O,C,O,3,0),COLORRED;
STICKLINE(MA5>REF(MA5,1) AND C>SAR(4,2,20) AND C<O,H,L,0,0),COLORRED;
STICKLINE(NOT(MA5>REF(MA5,1) AND C>SAR(4,2,20)) AND C>O,H,L,0,0),COLORCYAN;
STICKLINE(NOT(MA5>REF(MA5,1) AND C>SAR(4,2,20)) AND C>O,C,O,3,1),COLORCYAN;

DRAWTEXT(ISLASTBAR AND MA5>REF(MA5,1) AND C>SAR(4,2,20),MA5,'满仓'),COLORRED;