X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=MA(CLOSE,20);
X_4:=MA(CLOSE,60);
X_5:=MA(CLOSE,120);
X_6:=X_1>X_2 AND X_2>X_3 AND X_3>X_4 AND X_4>X_5 AND X_1>REF(X_1,1) AND X_2>REF(X_2,1) AND X_3>REF(X_3,1) AND X_4>REF(X_4,1) AND X_5>REF(X_5,1);
X_7:=Abs(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND OPEN>REF(LOW,1) AND CLOSE>REF(HIGH,1) AND CLOSE/OPEN>1.04 ANDCROSS(MACD.macd,0) AND CLOSE>MA(CLOSE,5) AND X_6 AND 8;
X_8:=HHV(MAX(CLOSE,0),20)/LLV(MIN(CLOSE,OPEN),20)<=1.15;
X_9:=(HIGH-CLOSE)/CLOSE*100<1;
X_10:=CLOSE/REF(CLOSE,1)>1.038;
X_11:=REF(CLOSE>OPEN OR OPEN>CLOSE,43) AND REF(CLOSE>OPEN OR OPEN>CLOSE,37) AND REF(CLOSE>OPEN OR OPEN>CLOSE,16) AND REF(CLOSE>OPEN OR OPEN>CLOSE,25) AND REF(CLOSE>OPEN OR OPEN>CLOSE,29) AND REF(CLOSE>OPEN OR OPEN>CLOSE,2) AND REF(CLOSE>OPEN OR OPEN>CLOSE,24);
X_12:=X_7 AND X_8 AND X_9 AND X_10 AND X_11;
财富战神:FILTER(X_12=1,3);
九毛八公式解读
X_1赋值:收盘价的5日简单移动平均 X_2赋值:收盘价的10日简单移动平均 X_3赋值:收盘价的20日简单移动平均 X_4赋值:收盘价的60日简单移动平均 X_5赋值:收盘价的120日简单移动平均 X_6赋值:X_1>X_2 AND X_2>X_3 AND X_3>X_4 AND X_4>X_5 AND X_1>1日前的X_1 AND X_2>1日前的X_2 AND X_3>1日前的X_3 AND X_4>1日前的X_4 AND X_5>1日前的X_5 X_7赋值:1日前的开盘价-1日前的收盘价的绝对值/1日前的收盘价<0.03 AND 开盘价>1日前的最低价 AND 收盘价>1日前的最高价 AND 收盘价/开盘价>1.04 AND 平滑异同平均线的MACD上穿0 AND 收盘价>收盘价的5日简单移动平均 AND X_6 AND 8 X_8赋值:20日内收盘价和0的较大值的最高值/20日内收盘价和开盘价的较小值的最低值<=1.15 X_9赋值:(最高价-收盘价)/收盘价*100<1 X_10赋值:收盘价/1日前的收盘价>1.038 X_11赋值:43日前的收盘价>OPENOROPEN>收盘价 AND 37日前的收盘价>OPENOROPEN>收盘价 AND 16日前的收盘价>OPENOROPEN>收盘价 AND 25日前的收盘价>OPENOROPEN>收盘价 AND 29日前的收盘价>OPENOROPEN>收盘价 AND 2日前的收盘价>OPENOROPEN>收盘价 AND 24日前的收盘价>OPENOROPEN>收盘价 X_12赋值:X_7 AND X_8 AND X_9 AND X_10 AND X_11 输出财富战神:X_12=1的3日过滤