九毛八公式指标
公式模块:
水平不行,自己改出来的总是和原指标不能匹配,信号时有时无,只要麻烦老师们了
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,6,0),Color0000FF;
STICKLINE(涨停 or zdf>9.9,l-0.4,l-0.6,6,0),Color00FFFF;
STICKLINE(停板 and hsl>4,l-0.4,l-0.6,6,0),Color00FFFF;
DRAWTEXT(停板 and hsl>4,l-0.2,'【攻击】'),Color00EEFF;
DRAWTEXT(涨停 or zdf>9.9,l-0.4,'【涨停】'),CoLor00EE00; 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);
XG:涨停 OR ZDF>9.9;