量能波段分析 分时主图

[复制链接]
查看70 | 回复0 | 2022-6-27 22:07:15 | 显示全部楼层 |阅读模式
{量能波段分析}
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;
{WWW.70822.com}
粉线: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;

p2017102214533026907.jpg

p2017102214533026907.jpg

2017102214534115762.rar

3.4 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

2017102214534115762.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则