X_1:=(2*CLOSE+HIGH+LOW)/4;
X_2:=LLV(LOW,5);
X_3:=HHV(HIGH,5);
X_4:=EMA((X_1-X_2)/(X_3-X_2)*100,5);
X_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_6:=SMA(X_5,3,1);
X_7:=SMA(X_6,3,1);
X_8:=3*X_6-2*X_7;
X_9:=X_8<(-10);
X_10:=REF(X_9,1)=1 AND X_9=0;
X_11:=OPEN=CLOSE AND CLOSE/REF(CLOSE,1)<0.902;
X_12:=MA(X_4,2);
X_13:=REF(CLOSE,1)/REF(CLOSE,2)<0.95;
X_14:=X_12<20 AND X_13 AND CLOSE>LOW AND OPEN>LOW;
X_15:=X_10 AND X_13 AND OPEN>LOW;
X5:=REF(X_14,1)=1 AND REF(X_15,1)=0 AND LOW/MA(CLOSE,5)<0.97 AND NOT(COUNT(X_11,4)>0) AND LOW<REF(LOW,1);
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(Abs(A7),6),6);
X6:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) ANDCROSS(A8,MA(A8,2));
XG:X5 AND X6;
九毛八公式解读
X_1赋值:(2*收盘价+最高价+最低价)/4 X_2赋值:5日内最低价的最低值 X_3赋值:5日内最高价的最高值 X_4赋值:(X_1-X_2)/(X_3-X_2)*100的5日指数移动平均 X_5赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 X_6赋值:X_5的3日[1日权重]移动平均 X_7赋值:X_6的3日[1日权重]移动平均 X_8赋值:3*X_6-2*X_7 X_9赋值:X_8<(-10) X_10赋值:1日前的X_9=1 AND X_9=0 X_11赋值:平盘ANDN 收盘价/1日前的收盘价<0.902 X_12赋值:X_4的2日简单移动平均 X_13赋值:1日前的收盘价/2日前的收盘价<0.95 X_14赋值:X_12<20 AND X_13 AND 收盘价>最低价 AND 开盘价>最低价 X_15赋值:X_10 AND X_13 AND 开盘价>最低价 X5赋值:1日前的X_14=1 AND 1日前的X_15=0 AND 最低价/收盘价的5日简单移动平均<0.97 AND 取反 AND 最低价<1日前的最低价 A7赋值:收盘价-1日前的收盘价 A8赋值:100*A7的6日指数移动平均的6日指数移动平均/A7的绝对值的6日指数移动平均的6日指数移动平均 X6赋值:2日内A8的最低值=7日内A8的最低值 AND 统计2日中满足A8<0的天数 AND A8上穿A8的2日简单移动平均 输出XG:X5 AND X6