N1:=250; 破年線:=C>MA(C,N1) AND REF(C,1)<MA(C,N1); 價跌量縮:=C<REF(C,1) AND V<REF(V,1); 拐頭下:=C<REF(C,1) AND REF(C,1)>=REF(C,2); 拐頭上:=C>REF(C,1) AND REF(C,1)<=REF(C,2); VAR1:=BARSLAST(破年線); VAR2:=BARSLAST(C<MA(C,N1)); VAR3:=BARSLAST(拐頭下); 選股:var1>=1 and var1=var2-1 and var3<var1 and 價跌量縮 and COUNT(拐頭下, var1)=1 and COUNT(拐頭上, var1)=0; |
|