一个不错的辅助买卖指标 量能波段分析 通达信分时主图指标 源码 贴图

2018-05-17 10:11:00来源:本站整理浏览:1277

一个不错的辅助买卖指标 量能波段分析 通达信分时主图指标 源码 贴图

量能波段分析 通达信分时主图指标 源码 贴图

点击下载量能波段分析 通达信分时主图指标 源码 贴图


{量能波段分析}
C,COLORWHITE,LINETHICK2;
SJ:=IF(HOUR<12,(HOUR-9.5)*60+MINUTE,(HOUR-11)*60+MINUTE);
均线:SUM(C*VOL,SJ)/SUM(VOL,SJ),COLORYELLOW;
DRAWBAND(C,RGB(150,0,80),均线,RGB(0,255,255));
N:=240;
TS:=BARSLAST(L=LLV(L,N));
开始信号:=FILTERX(TS=0,BARSSINCE(C));
开始天数:=BARSLAST(开始信号);
天数横线:=CONST(开始天数);
低点:=DRAWLINE(L=LLV(L,N),L,ISLASTBAR,REF(L,TS),1);
高点:=DRAWLINE(L=LLV(L,N),CONST(HHV(H,天数横线)),ISLASTBAR,REF(CONST(HHV(H,天数横线)),
TS),1);
C2:=REF(C,1),NODRAW;
差:=(高点-低点)/天数横线;
收盘差:=CONST(C)-低点;
对角差:=高点-低点;
对角角度:=ATAN((对角差/(对角差*((天数横线-1)/天数横线))-1)*100)*57.3;
差20度:=(高点-低点)*20/对角角度;
强势角度量波:IF(TS>=0 AND 低点+(差20度/天数横线)*TS<=高点,低点+(差20度/天数横线)*TS,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(ISLASTBAR ,0,0,0,'【强势角度】')COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.15,0,0,CON2STR(强势角度量波,1))COLORBROWN;

SJ1:=IF(HOUR<12,(HOUR-9.5)*60+MINUTE,(HOUR-11)*60+MINUTE);
F:=DYNAINFO(3)*(1+(C/REF(C,MIN(SJ1,5))-1)*1.5);
STICKLINE(F<DYNAINFO(3) AND C/均线<0.99 ,DYNAINFO(3),F,1,0),COLORBLUE;
STICKLINE(F<DYNAINFO(3) AND C/均线>=0.99 ,DYNAINFO(3),F,1,0),COLORGREEN;
STICKLINE(F>DYNAINFO(3) AND C/均线<1.03,DYNAINFO(3),F,1,0),COLORLIRED;
STICKLINE(F>DYNAINFO(3) AND C/均线>=1.03,DYNAINFO(3),F,1,0),COLORYELLOW;
粉线:DYNAINFO(3)*(1+0.02),NODRAW;
IF(BETWEEN(DYNAINFO(7),粉线*1.1,粉线*0.99),粉线,DRAWNULL),DOTLINE,COLORWHITE;
黄线:DYNAINFO(3)*1.04,NODRAW;
IF(BETWEEN(DYNAINFO(7),黄线*1.1,黄线*0.99),黄线,DRAWNULL),DOTLINE,COLORYELLOW;
绿线:IF(C<500,DYNAINFO(3)*(1-0.02),DYNAINFO(3)*(1-0.005)),DOTLINE,COLORLIGREEN;
LDM2001:=FILTER(F>粉线 AND C>REF(C,1) ,15);
LDM2002:=FILTER(F>黄线 AND C>REF(C,1),15);
DRAWICON(LDM2001,H*0.97,38);
DRAWICON(LDM2002 ,H*0.965,7);
LDM2003:=FILTER(F<绿线,15);
DRAWICON(LDM2003,H*1.02,39);
DRAWNUMBER(ISLASTBAR,C,C),COLORRED;
XJ:CONST(C),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0,0.82,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.82,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0,0.88,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0,0.92,0,FGBLOCK),COLORWHITE;


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式