X_1:=BARSCOUNT(C)>250;
X_2A:=IF(1/VOL*1000>0.01,1,0) AND IF(BARSCOUNT(CLOSE)<=4,1,BIAS.BIAS1<=-8);
X_2:=IF(X_2A=0 AND REF(X_2A,1)=1,0.9,0);
X_3:=CLOSE<=COST(20);
X_4:=CONST(FINANCE(38));
X_5:=CONST(FINANCE(34));
X_6:=CONST(FINANCE(18));
X_7:=CONST(FINANCE(33)/(5-FINANCE(37)));
X_8:=IF(X_4>0,1,0) AND IF(X_5>2,1,1) AND IF(X_6>0,1,0);
X_9:=NAMELIKE(1)=0 AND NAMELIKE(2)=0 AND NAMELIKE(3)=0 AND NAMELIKE(4)=0;
X_10:=IF(CODELIKE(5),0,1);
X_11:=IF(CODELIKE(6),0,1);
XG:X_1 AND X_2 AND X_3 AND X_7 AND X_8 AND X_9 AND X_10 AND X_11;
九毛八公式解读
X_1赋值:收盘价的有效数据周期数>250 X_2A赋值:如果1/成交量(手)*1000>0.01,返回1,否则返回0 AND 如果收盘价的有效数据周期数<=4,返回1,否则返回乖离率的BIAS1<=-8 X_2赋值:如果X_2A=0ANDREF(X_2A,1)=1,返回0.9,否则返回0 X_3赋值:收盘价<=获利盘为20%的成本分布 X_4赋值:每股收益(最近一期)的最后一日取值设为常数 X_5赋值:每股净资产的最后一日取值设为常数 X_6赋值:每股公积金的最后一日取值设为常数 X_7赋值:每股收益(全年折算)/(5-第几季报)的最后一日取值设为常数 X_8赋值:如果X_4>0,返回1,否则返回0 AND 如果X_5>2,返回1,否则返回1 AND 如果X_6>0,返回1,否则返回0 X_9赋值:模糊匹配品种名称=0 AND 模糊匹配品种名称=0 AND 模糊匹配品种名称=0 AND 模糊匹配品种名称=0 X_10赋值:如果模糊匹配品种代码,返回0,否则返回1 X_11赋值:如果模糊匹配品种代码,返回0,否则返回1 输出XG:X_1 AND X_2 AND X_3 AND X_7 AND X_8 AND X_9 AND X_10 AND X_11