var1:=REF(CLOSE>OPEN,3) AND REF(CLOSE,3)>REF(CLOSE,4);
{2日前的k线跳空低开且收阴线,并且有下影线}
var2:=REF(OPEN>CLOSE,2) AND REF(CLOSE,2)>REF(LOW,2);
{1日前的K线跳空收阴线,且有下影线}
{ _飞狐股票指标公式}
var3:=ref(OPEN,1)>ref(CLOSE,1) AND ref(OPEN,1)<REF(CLOSE,2) AND ref(c,1)-ref(low,1)>=0.01;
{今日放量涨停,前日、昨日成交缩量}
var4:=REF(vol,1)<REF(VOL,2) AND REF(VOL,2)<REF(VOL,3);
var5:=c>o and c>ref(o,1) and v>ref(v,2) and c>ref(c,1)*1.0995;
选股: var1 and var2 and var3 and var4 and var5;