以下是通达信公式猪笼入水选股(无源码的请下载附件导入)
VAR1:=MA(C,5);
VAR2:=MA(C,60);
VAR3:=MA(C,150);
VAR4:=COUNT(C>REF(C,10)*1.3,20)>0;
VAR5:=C<REF(H,5)*1.2;
VAR6:=C<O AND (CROSS(VAR2,C) OR CROSS(VAR3,C));
VAR7:=(C-VAR1)/VAR1*100>REF((C-VAR1)/VAR1*100,5);
猪笼入水:(VAR4+VAR5+VAR6+VAR7)>3;
63244555.png
|