公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

涨停指南针源码奉献给股友

2014-7-17 12:02| 发布者: admin| 查看: 41| 评论: 0

主图ZT:=C/REF(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
CZ:=REF(H,BH)-REF(L,BH);
STICKLINE(C,(REF(L,BH)+CZ*0.5),(REF(L,BH)+CZ*0.5),7,0),COLORRED;
STICKLINE(C,REF(L,BH),REF(L,BH),7,0),COLORBLUE;
STICKLINE(ZT,REF(O,BH),REF(C,BH),7,0),COLORYELLOW;
DRAWTEXT(ZT,L*0.98,'涨停'),COLORF00FF0;
VARZT:=BARSLAST(C/REF(C,1)>1.097);
STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF;
DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW;
STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF;
DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW;
STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF;
DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW;
STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF;
DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW;
STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF;
DRAWTEXT(VARZT=20,L*0.95,'21天'),COLORYELLOW;
STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD;
DRAWTEXT(VARZT=33,H*1.06,'34天'),COLORYELLOW;
STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600;
DRAWTEXT(VARZT=54,L*0.95,'55天'),COLORYELLOW;
STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR00FF00;
DRAWTEXT(VARZT=88,H*1.06,'89天'),COLORYELLOW;
STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF;
DRAWTEXT(VARZT=143,L*0.95,'144天'),COLORYELLOW;
STICKLINE(VARZT=232 ,H*1.03,H*1.02,8,0),COLORFF0033;
DRAWTEXT(VARZT=232,H*1.06,'233天'),COLORYELLOW;
STICKLINE(VARZT=376,L*0.97,L*0.98,8,0),COLORFF9966;
DRAWTEXT(VARZT=376,L*0.95,'377天'),COLORYELLOW;
副图 
N:=3;
WR大于80考虑买:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),LINETHICK0;
均价:AMOUNT/(VOL*100),LINETHICK0,COLORYELLOW;
ZT:=C/REF(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
STICKLINE(ZT,0,L*0.7,4,0),COLORYELLOW;
DRAWTEXT(ZT,L*0.8,'涨停'),COLORF00FF0;
VARZT:=BARSLAST(C/REF(C,1)>1.097);
AA:=BETWEEN(C,REF(L,BH)*1.01,REF(L,BH)*0.987);
STICKLINE(AA,0,L*0.3,2,0),COLORBLUE;
DRAWTEXT(AA,L*0.4,'警戒'),COLORWHITE;
STICKLINE(AA AND VARZT=2,0,L*0.5,2,0),COLORRED;
DRAWTEXT(AA AND VARZT=2,L*0.5,'时间窗'),COLORWHITE;
STICKLINE(AA AND VARZT=4,0,L*0.5,2,0),COLORRED;
DRAWTEXT(AA AND VARZT=4,L*0.5,'时间窗'),COLORWHITE;
STICKLINE(AA AND VARZT=7,0,L*0.5,2,0),COLORRED;
DRAWTEXT(AA AND VARZT=7,L*0.5,'时间窗'),COLORWHITE;
STICKLINE(AA AND VARZT=12,0,L*0.5,2,0),COLORRED;
DRAWTEXT(AA AND VARZT=12,L*0.5,'时间窗'),COLORWHITE;
STICKLINE(AA AND VARZT=20,0,L*0.5,2,0),COLORRED;
DRAWTEXT(AA AND VARZT=20,L*0.5,'时间窗'),COLORWHITE;


鲜花

握手

雷人

路过

鸡蛋
返回顶部