XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,8);
XA_3:=MA(CLOSE,13);
XA_4:=MA(CLOSE,21);
XA_5:=MA(CLOSE,34);
XA_6:=MA(CLOSE,55);
XA_7:=OPEN<=XA_1 AND CLOSE>XA_1;
XA_8:=OPEN<=XA_2 AND CLOSE>XA_2;
XA_9:=OPEN<=XA_3 AND CLOSE>XA_3;
XA_10:=OPEN<=XA_4 AND CLOSE>XA_4;
XA_11:=OPEN<=XA_5 AND CLOSE>XA_5;
XA_12:=OPEN<=XA_6 AND CLOSE>XA_6;
XA_13:=XA_7+XA_8+XA_9+XA_10+XA_11+XA_12>4;
首板:CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.097 AND CLOSE=HIGH AND XA_13;
九毛八公式解读
XA_1赋值:收盘价的5日简单移动平均 XA_2赋值:收盘价的8日简单移动平均 XA_3赋值:收盘价的13日简单移动平均 XA_4赋值:收盘价的21日简单移动平均 XA_5赋值:收盘价的34日简单移动平均 XA_6赋值:收盘价的55日简单移动平均 XA_7赋值:开盘价<=XA_1 AND 收盘价>XA_1 XA_8赋值:开盘价<=XA_2 AND 收盘价>XA_2 XA_9赋值:开盘价<=XA_3 AND 收盘价>XA_3 XA_10赋值:开盘价<=XA_4 AND 收盘价>XA_4 XA_11赋值:开盘价<=XA_5 AND 收盘价>XA_5 XA_12赋值:开盘价<=XA_6 AND 收盘价>XA_6 XA_13赋值:XA_7+XA_8+XA_9+XA_10+XA_11+XA_12>4 输出首板:收阳线ANDSE 收盘价>1日前的收盘价*1.097 AND 收盘价=最高价 AND XA_13