联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

涨停回调,源代码分享

2016-8-27 18:07:32点击:

ZT:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.91;
{画黄色涨停}
STICKLINE(ZT,O,C,3,0),COLOR0077BB;
STICKLINE(ZT,O,C,2.6,0),COLOR0088CC;
STICKLINE(ZT,O,C,2.2,0),COLOR0099CC;
STICKLINE(ZT,O,C,1.8,0),COLOR00AADD;
STICKLINE(ZT,O,C,1.4,0),COLOR00BBDD;
STICKLINE(ZT,O,C,1,0),COLOR00CCEE;
STICKLINE(ZT,O,C,0.6,0),COLOR00DDEE;
STICKLINE(ZT ,O,C,0.2,0),COLOR00EEFF;
STICKLINE(ZT ,O,C,0.1,0),COLOR00FFFF;
STICKLINE(ZT,H,L,0,0),COLOR00FFFF;
一字:=CLOSE=LOW AND CLOSE=HIGH AND CLOSE=OPEN;
板最高价:=IF(ZT AND 一字=0,HIGH,"LINETHICK0;");{14}

板最低价:=IF(ZT AND 一字=0,LOW,"LINETHICK0;");
板今A:=(BARSLAST(ZT AND 一字=0));
板今:=IF(板今A<10,10,"LINETHICK0;");

板高:=IF(BARSLAST(ZT AND 一字=0)<=10,(REF(板最高价,BARSLAST(ZT AND 一字=0)))*1.0,"LINETHICK0;");
STICKLINE(C,板高,板高,5,1),LINETHICK2,COLORYELLOW;

板高1:=IF(BARSLAST(ZT AND 一字=0)<=10,(REF(板最高价,BARSLAST(ZT AND 一字=0)))*1.05,"LINETHICK0;");
STICKLINE(C,板高1,板高1,5,1),LINETHICK2,COLORRED;
板高2:=IF(BARSLAST(ZT AND 一字=0)<=10,(REF(板最高价,BARSLAST(ZT AND 一字=0)))*1.10,"LINETHICK0;");
STICKLINE(C,板高2,板高2,5,1),LINETHICK2,COLORRED;
板低:=IF(BARSLAST(ZT AND 一字=0)<=10,(REF(板最低价,BARSLAST(ZT AND 一字=0)))*1,"LINETHICK0;");
STICKLINE(C,板低,板低,5,1),LINETHICK2,COLORGREEN;
腰线:=IF(BARSLAST(ZT AND 一字=0)<=10,(((REF(板最高价,BARSLAST(ZT AND 一字=0)))+REF(板最低价,BARSLAST(ZT AND 一字=0))))/2, "LINETHICK0;");
var1:=(板低+板高2/1.1)/2;
腰线1:=if(BARSLAST(ZT AND 一字=0)<=10,腰线,"LINETHICK0;");
腰线2:=if(腰线1>1,腰线1,板低);
STICKLINE(C,腰线2,腰线2,5,1),LINETHICK5,COLORBLUE;