黄金波动主图

[复制链接]
查看30 | 回复0 | 2022-6-27 22:09:37 | 显示全部楼层 |阅读模式

{ 黄金波动主图}

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);{www.70822.com}
涨停:=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;{www.70822.com}
停牌:=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;

p20185132455775870.jpg

p20185132455775870.jpg

2018513246565346.rar

2.97 KB, 下载次数: 0

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

2018513246565346.rar

回复

使用道具 举报

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

本版积分规则