以下是通达信宝华均线主图指标

通达信宝华均线主图指标

源码

{宝华均线 主图 东郭改编}

工作:EMA(CLOSE,14),LINETHICK2;
一:EMA(CLOSE,144);
二:EMA(CLOSE,25);
三:EMA(CLOSE,318);
生命:EMA(CLOSE,453),COLORRED,LINETHICK2;
五:EMA(CLOSE,550);
六:EMA(CLOSE,610);
七:EMA(CLOSE,730);
八:EMA(CLOSE,888);
九:EMA(CLOSE,99),COLORGREEN;
DIFF:=( EMA(CLOSE,7) – EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.4,0),COLORYELLOW;
STICKLINE(TJ,O,C,4,1),COLOR0088FF;
STICKLINE(TJ,O,C,3.4,1),COLOR00AAFF;
STICKLINE(TJ,O,C,2.8,1),COLOR00CCFF;
STICKLINE(TJ,O,C,2,1),COLOR00DDFF;
STICKLINE(TJ,O,C,1.2,1),COLOR55FFFF;
STICKLINE(TJ,O,C,0.4,1),COLOR99FFFF;
STICKLINE(TJ1 AND TJ,H,L,0.4,0),COLORF00FF0;
STICKLINE(TJ1 AND TJ,O,C,4,1),COLORFF33FF;
STICKLINE(TJ1 AND TJ,O,C,3.4,1),COLORFF55FF;
STICKLINE(TJ1 AND TJ,O,C,2.8,1),COLORFF77FF;
STICKLINE(TJ1 AND TJ,O,C,2,1),COLORFF99FF;
STICKLINE(TJ1 AND TJ,O,C,1.2,1),COLORFFBBFF;
STICKLINE(TJ1 AND TJ,O,C,0.4,1),COLORFFDDFF;
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
STICKLINE(DIFF
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
SJ:=(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)OR(CROSS(SK,SD)
 AND SK<=-0.14 )OR(CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
DRAWICON(SJ,L*0.95,1);
STICKLINE(SJ,O,C,7.5,0),LINETHICK3,COLOR000033;
STICKLINE(SJ,O,C,6.7,0),LINETHICK3,COLOR000055;
STICKLINE(SJ,O,C,5.7,0),LINETHICK3,COLOR000077;
STICKLINE(SJ,O,C,4.5,0),LINETHICK3,COLOR000099;
STICKLINE(SJ,O,C,3.3,0),LINETHICK3,COLOR0000BB;
STICKLINE(SJ,O,C,1.9,0),LINETHICK3,COLOR0000DD;
STICKLINE(SJ,H,L,0.5,0),COLORRED;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。