X_1:=IF(FINANCE(3)=4 OR (FINANCE(3)=3 AND DATE>=1200824),1.2,1.1);
X_2:=CLOSE=HIGH AND CLOSE>REF(CLOSE,1)*X_1-0.01;
X_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_4:=(HIGH-LOW)/REF(CLOSE,1)*100;
X_5:=COUNT(X_2,7) OR SUM(X_3,7)>20;
X_6:=EVERY(CLOSE>MA(CLOSE,13),4);
X_7:=X_4>3 AND CLOSE<OPEN;
X_8:=FINANCE(1)*CLOSE<=49999998976;
X_9:=REF(X_7,1) AND CLOSE>OPEN AND X_3>3.5 AND CLOSE>REF(OPEN,1)*0.98 AND AMOUNT/100000000>3;
X_10:=X_5 AND X_6 AND X_9 AND X_8;
XG:X_10;
九毛八公式解读
X_1赋值:如果沪深品种类型=4OR(沪深品种类型=3ANDDATE>=1200824),返回1.2,否则返回1.1 X_2赋值:收盘价=最高价 AND 收盘价>1日前的收盘价*X_1-0.01 X_3赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100 X_4赋值:(最高价-最低价)/1日前的收盘价*100 X_5赋值:统计7日中满足X_2的天数 OR X_3的7日累和>20 X_6赋值:最近4日一直存在收盘价>收盘价的13日简单移动平均 X_7赋值:X_4>3 AND 收阴线 X_8赋值:总股本(股)*收盘价<=49999998976 X_9赋值:1日前的X_7 AND 收阳线ANDSE X_3>3.5 AND 收盘价>1日前的开盘价*0.98 AND 成交额(元)/100000000>3 X_10赋值:X_5 AND X_6 AND X_9 AND X_8 输出XG:X_10