您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信用变色均线指标源码

通达信用变色均线指标源码


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

MA5:MA(CLOSE,5);
MA13:MA(CLOSE,13);
MA21:MA(CLOSE,21);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA89:MA(CLOSE,89);
MA144:MA(CLOSE,144),LINETHICK2;
MA233:MA(CLOSE,233),LINETHICK2;

MA377:MA(CLOSE,377);
MA4181:MA(CLOSE,4181),LINETHICK3;
二分之一:REF((H+L)/2,1),POINTDOT;

STICKLINE(C<REF(C,1) AND C<O,C,O,3,1),COLORCYAN,LINETHICK1;

板2:REF(L,BARSLAST(C/REF(C,1)<0.904)),COLORLIGREEN,POINTDOT;
STICKLINE(C,板2,板2,5,0),COLORLIBLUE,LINETHICK4;

板1:REF(H,BARSLAST(C/REF(C,1)>1.09955)),COLOR3399FF,POINTDOT;
STICKLINE(C,板1,板1,5,0),COLORGREEN,LINETHICK4;

上升:IF(MA30>REF(MA30,1),MA30,DRAWNULL),COLORRED,LINETHICK3;
下降:IF(MA30<REF(MA30,1),MA30,DRAWNULL),COLORGREEN,LINETHICK3;
IF(MA60>REF(MA60,1),MA60,DRAWNULL),COLORLIRED,LINETHICK3;
IF(MA60<REF(MA60,1),MA60,DRAWNULL),COLORYELLOW,LINETHICK3;

DRAWTEXT(C/REF(C,1)>1.09955,L,'板'),
COLORYELLOW;
DRAWTEXT(C/REF(C,1)<0.904,H,'停'),COLORGREEN;

STICKLINE(VOL>REF( VOL,1)*2 ,C,O,3,0),COLORRED,LINETHICK1;

STICKLINE(VOL>REF( VOL,1)*2 AND C<O,C,O,3,0),COLORGREEN,LINETHICK1;


STICKLINE(C,REF((H+L)/2,1),REF((H+L)/2,1),1,0),COLORWHITE;

STICKLINE(C/REF(C,1)>1.09955 AND C=H,C,O,2.5,0),COLORRED;

STICKLINE(C/REF(C,1)<0.904 AND C=L,C,O,2.5,0),COLORGREEN;

DRAWTEXT(C/REF(C,1)>1.09955,L,'板'),
COLORYELLOW;
DRAWTEXT(C/REF(C,1)<0.904,H,'停'),COLORGREEN;

STICKLINE(VOL>REF( VOL,1)*2 AND C<REF(C,1),C,O,3,0),COLORGREEN,LINETHICK1;

STICKLINE(VOL>REF( VOL,1)*2 AND C<REF(C,1),C,O,3,0),COLORGREEN,LINETHICK1;


DRAWTEXT_FIX(ISLASTBAR ,0.79,0.05,1,DYBLOCK),COLORMAGENTA,LINETHICK5;
DRAWTEXT_FIX(ISLASTBAR ,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHICK3;
DRAWTEXT_FIX(ISLASTBAR ,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHICK5;
DRAWTEXT_FIX(ISLASTBAR ,0.79,0.05,1,DYBLOCK),COLORYELLOW,LINETHICK3;
DRAWTEXT_FIX(ISLASTBAR ,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHICK5;


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/28192.html][B]通达信用变色均线指标源码[/B][/url]