{公式名称: 板后双休
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0
分析家公式网
参数精灵:无
用法注释:无
公式源码:}
X_1:=NAMELIKE(1) OR NAMELIKE(2);
X_2:=IF(X_1,CLOSE>=1.05*REF(CLOSE,1)-49/IF(CLOSE>=1,10000,100000),CLOSE>=1.1*REF(CLOSE,1)-49/IF(CLOSE>=1,10000,100000));
X_3:=CONST(BARSLAST(X_2))+1;
X_4:=5;
X_5:=5;
X_6:=X_4/1000;
X_7:=REF(LOW,0);
X_8:=REF(MAX(CLOSE,OPEN),0);
X_9:=IF(CURRBARSCOUNT<=X_5,CONST(X_7),0);
X_10:=IF(CURRBARSCOUNT<=X_5,CONST(X_8),0);
X_11:=IF(CLOSE<20,0.02,X_10*X_6);
X_12:=X_10-CLOSE<=X_11 AND X_10>=CLOSE-X_11 OR X_10-HIGH<=X_11 AND X_10>=HIGH-X_11 OR X_10-OPEN<=X_11 AND X_10>=OPEN-X_11 OR X_10-LOW<=X_11 AND X_10>=LOW-X_11;
X_13:=X_9-CLOSE<=X_11 AND X_9>=CLOSE-X_11 OR X_9-HIGH<=X_11 AND X_9>=HIGH-X_11 OR X_9-OPEN<=X_11 AND X_9>=OPEN-X_11 OR X_9-LOW<=X_11 AND X_9>=LOW-X_11;
X_14:=COUNT(X_12,X_5)-1;
X_15:=COUNT(X_13,X_5)-1;
X_16:=VOL<REF(VOL,1)*1.2;
X_17:=LLV(MIN(CLOSE,OPEN),X_3-1)>=REF(OPEN,X_3-1);
选股:X_14>0 OR X_15>0 AND X_3>2 AND X_3<=5 AND X_16 AND X_17;