通达信优化黄买蓝出副图指标

2016-06-07 09:16:00来源:本站整理浏览:237

通达信优化黄买蓝出副图指标

源码

涨跌幅度线:SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10,COLORRED,LINETHICK2;
短线天使:CROSS(涨跌幅度线,0)*15;
JJ :=(C*2+H+L)/4;
SKK :( EMA(JJ,13) - EMA(JJ,21))*180,COLORGRAY;
SDD :EMA(SKK,2),COLORGRAY;
多方: (SKK-SDD)*0.000000001,COLORRED,LINETHICK0;
空方: -1*(SKK-SDD)*0.000000001,COLORGREEN,LINETHICK0;
RC:=DYNAINFO(3);
RC,COLORWHITE;
SK:=(SLOPE(EMA(JJ,2),7)*15+JJ)*0.8*0.0001,COLORRED;
SD:=EMA(SK,2),COLORGREEN;
SJ:=2.8*SK-1.8*SD,COLORYELLOW;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6)*15*4*1.5;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK,2,1),COLORRED;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK,2,0),COLOR6633CC;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,2,0),COLORFFAA66;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,2,0),COLORGREEN;
STICKLINE(CROSS(多方,空方),RC,RC+DK,2,0),COLORYELLOW;
STICKLINE(CROSS(空方,多方),RC,RC+DK,2,0),COLORGREEN;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK,2,1),COLORGREEN;

W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
DRAWICON(W4 AND COUNT(W4,5)=1,LOW,3);
红买:=IF(SK>SD AND (DK<RC OR DK=RC),10,0),COLORRED;{红买选股}
黄买:=IF(CROSS(多方,空方),10,0),COLORYELLOW;{黄买选股};
 


 


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式