通达信攻击涨停板主图公式源码

2015-12-15 21:46:00来源:本站整理浏览:280

通达信攻击涨停板主图公式

源码


A:=IF((BARSCOUNT(C)>7),100*((MA(C,7))/(LLV(MA(C,7),7))-1),1);
N:=IF(A>0.35,6,65);
HSL:=VOL/CAPITAL*100;
B:=((-((100)*(HHV(H,N)-C))/(HHV(HIGH,N)-LLV(L,N))));
停板:=CROSS(B,-2);
ZDF:=(C/REF(C,1)-1)*100;
VAR11:=0-((100)*(HHV(HIGH,3)-CLOSE))/(HHV(HIGH,3)-LLV(LOW,3));
涨停:=(VAR11=0) AND ((HHV(HIGH,3))/(LLV(LOW,3))>1+(15)/(100)) AND ((HHV(HIGH,3))/(LLV(LOW,3))<1+25/100);
STICKLINE(涨停 OR ZDF>9.9,L-0.2,L-0.4,3,0),COLOR0000FF;
STICKLINE(涨停 OR ZDF>9.9,L-0.4,L-0.6,3,0),COLOR00FFFF;
STICKLINE(停板 AND HSL>4,L-0.4,L-0.6,3,0),COLOR00FFFF;
DRAWTEXT(停板 AND HSL>4,L-0.2,"【攻击】"),COLOR00EEFF;
DRAWTEXT(涨停 OR ZDF>9.9,L-0.4,"【涨停】"),COLOR00EE00;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式