本帖最后由 喜喜 于 2011-1-25 11:10 编辑
紧急提示:
不对,600499要收阳线!
你对照一下公式TWO-KEY1(连续涨停)内容:是不是公式中漏了T4中的红色字体???
{3日前的K线收阳线}
T1:=REF(CLOSE>OPEN,3) AND REF(CLOSE,3)>REF(CLOSE,4);
{2日前的K线跳空低开且收阴线,并且有下影线}
T2:=REF(OPEN>CLOSE,2) AND REF(CLOSE,2)>REF(LOW,2);
{1日前的K线也收跳空并收真阴线,且必须有下影线}
T3:=REF(OPEN>CLOSE,1) AND REF(OPEN,1)<REF(CLOSE,2) AND REF(CLOSE,1)-REF(LOW,1)>=0.01;
{今日跳空跃过缺口高开并且收阳线}
T4:=CLOSE>OPEN>REF(CLOSE,2);
{成交量方面,今日要放出倍量柱或近似倍量柱}
T5:=VOL/REF(VOL,1)>=1.15;
{相比大前天的成交量,前日、昨日成交量要缩量}
T6:=REF(VOL,2)<REF(VOL,3) AND REF(VOL,1)<REF(VOL,3);
选股:T1&&T2&&T3&&T4&&T5&&T6;
另外,顺便 也检查一下公式TWO-KEY2 (快速拉升), 正确公式内容如下:
{3日前的K线收阳线}
T1:=REF(CLOSE>OPEN,3) AND REF(CLOSE,3)>REF(CLOSE,4);
{2日前的K线跳空低开收阴线,且有上下影线}
T2:=REF(OPEN>CLOSE,2) AND REF(CLOSE>LOW,2) AND REF(HIGH>OPEN,2);
{1日前的K线也收跳空并收真阴线,且必须有下影线}
T3:= REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN>CLOSE,1) AND REF(CLOSE>LOW,1);
{今日反转收真阳,且回补缺口收盘}
T4:=CLOSE>REF(CLOSE,2) AND CLOSE>OPEN;
{成交量方面,今日要放出倍量柱或近似倍量柱}
T5:=VOL/REF(VOL,1)>=1.85;
{相比大前天的成交量,前日、昨日成交量要缩量}
T6:=REF(VOL,2)<REF(VOL,3) AND REF(VOL,1)<REF(VOL,3);
选股:T1&&T2&&T3&&T4&&T5&&T6; |