马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
DRAWTEXT_FIX(ISLASTBAR,0.1,0.05,0,'1分钟笔黄色'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.08,0,'五分钟笔红色'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.1,0.11,0,'三十分钟笔绿色'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块}
{通达信高低点}
HD:=FILTER(BACKSET(FILTER(REF(H,N)=HHV(H,2*N+1),N),N+1),N);
LD:=FILTER(BACKSET(FILTER(REF(L,N)=LLV(L,2*N+1),N),N+1),N);
DRAWNUMBER(HD,HIGH,HIGH),COLORGREEN,LINETHICK6;
DRAWNUMBER(LD,LOW,LOW),COLORWHITE,LINETHICK6;
{跳空缺口}
LL1:=REF(L,1);
HH1:=REF(H,1);
SQK:=L>HH1;
XQK:=H<LL1;
上跳:IF(SQK=1,L-HH1,DRAWNULL),COLORFF00FF,CROSSDOT,LINETHICK3,NODRAW;
下跳:IF(XQK=1,H-LL1,DRAWNULL),COLORGREEN,CROSSDOT,LINETHICK3,NODRAW;
STICKLINE(SQK,L,HH1,2,1),COLORYELLOW;{上跳}
STICKLINE(XQK,H,LL1,2,2),COLORWHITE;{下跳}
{补缺口}
K1:=BARSLAST(L>REF(H,1));
K2:=L<REF(H,K1+1) AND COUNT(L<REF(H,K1+1),K1)=1;
STICKLINE(K2,L,O,0.5,0),COLORFF00FF;{缺口回补};
MA21:=MA(C,N),COLORFF8888,LINETHICK1;
MA5:=MA(C,5),COLOR000088,LINETHICK1;
AA:=MA(C,21);{指标线}
BB:=MA(C,21);{指标线}
涨停:=(C-REF(C,1))/REF(C,1)*100>9.92;
STICKLINE(涨停,C,O,3,0),COLORFF0085;
STICKLINE(涨停,C,O,2,0),COLORFF00B5;
STICKLINE(涨停,C,O,1,0),COLORFF00F5;
{跌停K线图}
跌停:=(C-REF(C,1))/REF(C,1)*100<-9.92;
STICKLINE(跌停,C,O,3,0),COLOR008800;
STICKLINE(跌停,C,O,2,0),COLOR00BB00;
STICKLINE(跌停,C,O,1,0),COLOR00FF00;{主图涨跌图二线及缺口提示};
价涨不破:=LLV(L,3)>=REF(L,3);
三日量缩:=HHV(VOL,3)<REF(VOL,3);
高量柱:=C/REF(C,1)>=1.03 AND VOL=HHV(VOL,35);
倍量柱:=C/REF(C,1)>=1.03 AND VOL>=REF(VOL,1)*1.91;
梯量柱:=VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND C/REF(C,1)>=1.03;
高黄金柱:=REF(高量柱,3) AND 价涨不破 AND 三日量缩;
倍黄金柱:=REF(倍量柱,3) AND 价涨不破 AND 三日量缩;
梯黄金柱:=REF(梯量柱,3) AND 价涨不破 AND 三日量缩;
STICKLINE(高量柱,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(倍量柱,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(梯量柱,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(高黄金柱,LLV(L,3),LLV(L,3),25,1),COLORYELLOW;
STICKLINE(倍黄金柱,LLV(L,3),LLV(L,3),25,1),COLORYELLOW;
STICKLINE(梯黄金柱,LLV(L,3),LLV(L,3),25,1),COLORYELLOW;
DRAWTEXT(高量柱,L*0.99,'↖高')COLORWHITE;
DRAWTEXT(倍量柱,L*0.96,'↖倍')COLORWHITE;
DRAWTEXT(梯量柱,L*0.93,'↖梯')COLORWHITE;
DRAWTEXT(高黄金柱,L*0.99,'↖成立')COLORYELLOW;
DRAWTEXT(倍黄金柱,L*0.99,'↖成立')COLORYELLOW;
DRAWTEXT(梯黄金柱,L*0.99,'↖成立')COLORYELLOW;
|