阴阳战法预警选股指标介绍
阴阳战法预警选股指标
input:P(3),N(1),M(10);
var1:=(C-REF(C,1))/REF(C,1)*100<=-4;
var2:=BARSLAST(var1);
{var3:=REF(((HHV(H,var2)-LLV(L,var2))/LLV(L,var2)),1)<(P/100);} {大阴后N天的震荡幅度,根据需要自已代换}
var3:=REF(ALL(ABS((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100)<=P,var2),1);) {涨跌幅度}
var4:=CROSS(C,REF(OPEN,var2));
var5:=BETWEEN(var2,N,M);
var6:=(strcmp(stkname,'st')=-1 or strcmp(stkname,'*st')=-1)=0 and DYNAINFO(14)>0;
var3 and var4 and var5 and var6;
参数自已忧化。
gd15002