{地量倍量}
{设计原理:选出昨日成交量为百日内地量,今天成交量是昨天成交量一倍以上}
T1:=REF(VOL,1)=LLV(V,100);
T2:=V/T1>1.95;
T3:=C>O AND C>REF(C,1);
选股:T1 AND T2 AND T3;
{黄金柱}
CTX:=(3*C+H+L+O)/6;
IONG:=(8*CTX+7*REF(CTX,1)+6*REF(CTX,2)+5*REF(CTX,3)+4*REF(CTX,4)+3*REF(CTX,5)+2*REF(CTX,6)+REF(CTX,8))/36;
CTXIONG:=VOL=HHV(VOL,20) AND VOL>2*REF(VOL,1) AND CLOSE>IONG AND C>REF(C,1);
XG:FILTER(CTXIONG,5);
{倍缩量}
低量:=LLV(VOL,34)=ref(VOL,3);
倍缩量:=ref(VOL,3)/REF(VOL,4)<0.5;
低量 and 倍缩量;
{不跌回}
{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}
var1:=v>ref(v,1)*2;
ref(var1,3) and count(c>ref(c,3),3)=3;
{突破前高}
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:=REF(H,BARSLAST(HD));
倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;
突破前高:CROSS(C,前高) and 倍量;
{真黄金柱}
{倍量柱加三天量减价升喇叭形的真黄金柱}
T1:=count(v>ref(v,1)*2 ,4)=1;
t2:=count(v<ref(v,1) and l>min(l,4) and l>ref(l,1),3)=3 ;
t3:t1 and t2;
|