涨停回马枪的公式很多,看看这个如何。{涨停回马枪}ts:=barslast(c/ref(c,1)>1.095);a2:=if(ref(l,ts)>ref(h,ts+1),ref(c,ts+1),ref(o,ts));a3:=between(ts,2,4);a7:=llv(c,ts)>=a2;左侧低吸:=a3 and a7;a9:=ma(c,5)>=a2 and c>a...
a:=100*(c-ref(c,1))/ref(c,1);t5:=ref(a,5)>9.8;t11:=ref(a,11)>9.8;t23:=ref(a,23)>9.8;t29:=ref(a,29)>9.8;t5 or t11 or t23 or t29;{选出之前第5,11,23,29天,这四天中曾涨停的个股}
{压力支撑}{m:=intpart(3*n2/5);}{压力线取}aaa:=ref(h,m)=hhv(h,2*m+1);qyy:=backset(aaa,m+1);ccc:=filter(qyy,m) and h=hhv(h,m+1);dddd:=barslast(ccc),nodraw;gdtss:=if(ccc,currbarscount,0),nodraw;dingbutss:=if(ddd...