黄金波动主图

2018-05-13    作者:ADMIN    来源:网络整理

{ 黄金波动主图}

MA5:MA(C,5),COLORWHITE,LINETHICK2;
MA10:MA(C,10),COLORYELLOW;
MA20:MA(C,20),COLORLIBLUE;
MA60:MA(C,60),COLORLIGREEN,LINETHICK1;
MA250:MA(C,250),COLORGRAY;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
CC21:=STICKLINE(涨停,OPEN,CLOSE,1,0),COLORBLUE;
上次涨停距今:REF(H,BARSLAST(涨停)),COLORRED,POINTDOT,LINETHICK2;
STICKLINE(涨停,O,C,3,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,1,0),COLORBLUE;
A:=C/REF(C,1)<1.095 AND C/REF(C,1)>0.049;
STICKLINE(C/REF(C,1)<1.0989 AND C/REF(C,1)>1.049,C,O,2,0),COLORYELLOW;
{涨停时间窗,主图}
ZTT:=C/REF(C,1)>1.098;
VARZTT:=BARSLAST(C/REF(C,1)>1.098);
DRAWTEXT(VARZTT=2,L*0.99,'2'),COLORYELLOW;
DRAWTEXT(VARZTT=4,L*0.99,'4'),COLORYELLOW;
DRAWTEXT(VARZTT=6,L*0.99,'6'),COLORYELLOW;
DRAWTEXT(VARZTT=7,L*0.99,'7'),COLORYELLOW;
DRAWTEXT(VARZTT=12,L*0.99,'12'),COLORYELLOW;
DPK:=CALCSTOCKINDEX('999999SH','停牌调用',1);
GG:=BARSCOUNT(C)+1;
停牌:=DPK-REF(DPK,1)-(GG-REF(GG,1));
DRAWTEXT(停牌>0,L*0.98,VARCAT('停牌',VAR2STR(停牌,0))),COLORYELLOW;
明日涨停预测线:IF(CURRBARSCOUNT<8888,CONST(C*1.1),DRAWNULL),COLORYELLOW,DOTLINE;{明日涨停价位线}
DRAWTEXT(ISLASTBAR,C*1.09,VAR2STR(C*1.1,2)),COLORYELLOW;{明日涨停价位标注}
现价线:CONST(C),COLORLICYAN,DOTLINE;{现价线}
涨停线:CONST(REF(C,1)*1.099),COLORMAGENTA,DOTLINE;
阅读:259    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】