卖出预警2 通达信指标 源码 贴图

2018-11-20 10:25:00来源:本站整理浏览:310

卖出预警2 通达信指标 源码 贴图

卖出预警2 通达信指标 源码 贴图

卖出预警2 通达信指标 源码 贴图点击下载卖出预警2 通达信指标 源码 贴图


N:=15;
生命线:=98,LINETHICK1,COLORYELLOW;
生命禁区:=95,LINETHICK1,COLORRED;
股价泥潭:=20,LINETHICK1,COLORBLUE;
生死线:=50,LINETHICK2,COLORWHITE;
C0:=(H+L+C)/3;
A1:=HHV(C0,N);
A2:=LLV(C0,N);
A3:=A1-A2;
A4:=EMA((C0-A2)/A3,2)*100;
B1:=HHV(C0,4*N);
B2:=LLV(C0,4*N);
B3:=B1-B2;
B4:=EMA((C0-B2)/B3,2)*100;
C1:=HHV(C0,16*N);C2:=LLV(C0,16*N);C3:=C1-C2;
C4:=EMA((C0-C2)/C3,2)*100;
短期:A4,COLORGREEN,LINETHICK1;
中期:B4,COLORYELLOW,LINETHICK2;
长期:C4,COLORRED,LINETHICK3;
IF(CROSS(生命禁区,短期) AND REF(短期,1)>短期,短期*1.1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORGREEN;
DRAWTEXT(CROSS(生命禁区,短期) AND REF(短期,1)>短期,短期*1.08,'←卖'), COLORCYAN;
IF(CROSS(生命线,短期) AND REF(短期,1)>短期,短期*1.1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS(生命线,短期) AND REF(短期,1)>短期,短期*1.08,'←卖'), COLORCYAN;
DRAWTEXT(CROSS(短期,生命禁区),85,'警惕!! '),COLORWHITE;
DRAWTEXT(CROSS(中期,生命禁区),95,'减磅'),COLORFF6800;
DRAWTEXT(CROSS(长期,生命禁区),100,'出局'),COLORMAGENTA;
DRAWICON(CROSS(短期,生命禁区),85,1);
DRAWTEXT(CROSS(中期,生命禁区),95,'▲'),COLORRED;
DRAWICON(CROSS(长期,生命禁区),100,3);

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式