VV:=EMA(C,5); EM:=EMA(C,10); EA:=EMA(C,20); EB:=EMA(C,30);
EC:=EMA(C,60); B1:=1000*EM/EC<=1015 AND 1000*EM/EC>=975;
B2:=1000*EA/EC<=1020 AND 1000*EA/EC>=980;
B3:=1000*EB/EC<=1015 AND 1000*EB/EC>=985;
B4:=B1 AND B2 AND B3 AND CROSS(VV,EM);
B5:=B1 AND B2 AND B3 AND CROSS(VV,EB);
Z1:=1000*EM/EB<=1010 AND 1000*EM/EB>=990;
Z2:=1000*EA/EB<=1010 AND 1000*EA/EB>=990;
Z3:=Z1 AND Z2 AND CROSS(VV,EM) OR B4;
Z4:=Z1 AND Z2 AND CROSS(VV,EB) OR B5;
BB:=REF(C,1)<REF(O,1) AND C>O;
BB1:=CROSS(MACD.macd,0) AND C>MA(C,5);
BB2:=REF(MA(V,3),1)AND C/REF(C,1)>1.03;
Z3 OR Z4 AND BB AND BB1 AND BB2;
九毛八公式解读
VV赋值:收盘价的5日指数移动平均 EM赋值:收盘价的10日指数移动平均 EA赋值:收盘价的20日指数移动平均 EB赋值:收盘价的30日指数移动平均 EC赋值:收盘价的60日指数移动平均 B1赋值:1000*EM/EC<=1015 AND 1000*EM/EC>=975 B2赋值:1000*EA/EC<=1020 AND 1000*EA/EC>=980 B3赋值:1000*EB/EC<=1015 AND 1000*EB/EC>=985 B4赋值:B1 AND B2 AND B3 AND VV上穿EM B5赋值:B1 AND B2 AND B3 AND VV上穿EB Z1赋值:1000*EM/EB<=1010 AND 1000*EM/EB>=990 Z2赋值:1000*EA/EB<=1010 AND 1000*EA/EB>=990 Z3赋值:Z1 AND Z2 AND VV上穿EM OR B4 Z4赋值:Z1 AND Z2 AND VV上穿EB OR B5 BB赋值:1日前的收盘价<1日前的开盘价 AND 收阳线 BB1赋值:平滑异同平均的MACD上穿0 AND 收盘价>收盘价的5日简单移动平均 BB2赋值:1日前的成交量(手)的3日简单移动平均AND 收盘价/1日前的收盘价>1.03 Z3 OR Z4 AND BB AND BB1 AND BB2