以下是通达信潮汐选股预警公式(据金钻指标图形创作)
使用时尽量在5日线10日线附近低吸,低开高走和特别强势分时除外。指标优点是介入相对安全,而且吃肉机会多,建议持股不过三天,缺点是信号稍多。
C1:= AMO>40000000 AND(H -MAX(C,O))>(MIN(C,O)-L)*2 AND H<REF(HHV(H,0),1)*1.07 AND IF(BARSCOUNT(C)>90 ,REF(EXIST(V>=REF(V,1)*2 AND C>REF(C,1),12),1),1) ;
C2:=IF(BARSCOUNT(C)>55,MA(C,10)>MA(C,21),1)AND IF(REF(C,1)>REF(C,2)AND REF(C,1)<ZTPRICE(REF(CLOSE,2),0.1),C>REF(C,1)*0.97,1);
C3:=( C>MA(C,10)OR C>MA(C,5)) AND MA(C,10)>REF(MA(C,10),1) ;
C4:=(H -MAX(C,O))>(MIN(C,O)-L)*2 AND(H-MAX(C,O))>(ABS(C-O))*1.1 AND IF(C<O,(H-MAX(C,O))>(ABS(C-O))*3,1) ;
C0:=IF(REF(EVERY(C<O,3),1),C>O,1) ;
C5:=(H-L)/REF(C,1)>0.04 AND REF(C>DTPRICE(REF(CLOSE,1),0.1),1) AND IF(REF(C,1)<REF(C,2),(C/REF(C,1)< REF(C,1)/REF(C,2))OR C>REF(C,1) OR C0 ,1);
C6:=IF(REF(C,1)>=ZTPRICE(REF(CLOSE,2),0.1)AND C>REF(C,1),C>REF(C,1)*1.01,1)AND IF(REF(C,1)>REF(C,2)*1.05 AND C<O,C<REF(C,1)*0.97,1);
C7:=IF(REF(C<O,1),REF(O,1)<=REF(C,2)*1.02,1)AND IF(REF(C>=ZTPRICE(REF(CLOSE,1),0.1),2)AND REF(C,1)<REF(C,2)*0.97,C<REF(C,1),1);
C8:=IF(REF(C,1)<ZTPRICE(REF(CLOSE,2),0.1),C<REF(C,1)*1.045,1)AND IF(REF(C,1)<ZTPRICE(REF(CLOSE,2),0.1) AND REF(C>O,1)AND C<O,C<REF(C,1),1);
上影:= C1 AND C2 AND C3 AND C4 AND C5 AND C6 AND C7 AND C8 ;
信号:=IF(O<MA(C,10),(C>O OR C>MA(C,10)),1) AND IF(O<MA(C,5) ,(C>O OR C>MA(C,5)),1)AND IF(O<REF(C,1),(C>O OR C>REF(C,1)),1)
AND IF(O>MA(C,10),(C>O OR C>MA(C,10)),1) AND IF(O>MA(C,5),(C>O OR C>MA(C,5)),1) AND IF(O>REF(C,1),(C>O OR C>REF(C,1)),1) ;
天宝:=REF(上影,1) AND 信号 AND MA(C,10)>REF(MA(C,10),1)AND O<REF(C,1)*1.01 ;
潮汐:FILTER(天宝,3);
评论(0)