在不设定前一天走势的情况之下,只要满足“今天的最低价>昨天最高价”,自然就满足了你要求的“收盘价要高于昨天收盘价,必须留有个缺口”。
也就是
L>REF(H,1);
LOW>REF(HIGH,1);
1、
MA(V,5)>REF(MA(V,5),1);
2、
MID :=MA(CLOSE,N);
UPPER:=MID + P*STD(CLOSE,N);
LOWER:=MID - P*STD(CLOSE,N);
MID>REF(MID,1) AND REF(MID,1)>REF(MID,2) AND
UPPER>REF(UPPER,1) AND REF(UPPER,1)>REF(UPPER,2) AND
LOWER>REF(LOWER,1) AND REF(LOWER,1)>REF(LOWER,2);
3、
ISUP AND (C-REF(C,1))*100/REF(C,1)>=1 AND (C-REF(C,1))*100/REF(C,1)<=3;
4、
MID :=MA(CLOSE,N);
UPPER:=MID + P*STD(CLOSE,N);
LOWER:=MID - P*STD(CLOSE,N);
MID>REF(MID,1) AND REF(MID,1)>REF(MID,2) AND
UPPER>REF(UPPER,1) AND REF(UPPER,1)>REF(UPPER,2);