长腿踩线+倍量收缩”,附图、选股公式,通达信通过}
RC1:=REF(C,1);
比前跌率:=(RC1-C)*100/RC1;
长阴短柱:=比前跌率>=4 AND V<=0.5*HHV(V,30);{4%这个可自调}
长阴K:=C<O AND C<0.9*MA(C,5) AND ABS((C-O))/C>0.03;
长腿:=长阴K AND (MIN(C,O)-L)/(H-L)>=1/3 AND 比前跌率>=4 ;{4%这个可自调}
L0:= CONST(REF(L,BARSLAST(长腿>0)));
WC:=0.024;
JZL:=ABS(L0-L)<=WC OR ABS(L0-MIN(O,C))<=WC
OR ABS(L0-H)<=WC OR ABS(L0-MAX(O,C))<=WC;
长腿踩线:= COUNT(JZL,60)>=2;{60天内至少2次精准}
缩倍:= V<=0.5*REF(V,1);
XG1:= REF(长腿踩线,1) AND 缩倍 AND COUNT(长阴短柱,10)>=1;{10天内出现长阴短柱}
XG: COUNT(XG1,3)>=1; {三天内出现信号选出} |