A5:=531;
A6:=1510000;
A7:=A5+A6;
A8:=IF(DATE>A7,0,1);
A9:=REF(CLOSE,1);
A10:=EMA(HHV(HIGH,1),8);
A11:=EMA(CLOSE,8);
A12:=A11<REF(A11,1) AND CLOSE<A11;
A13:=IF(A10<REF(A10,1) OR A12,1,0);
A14:=SMA(MAX(CLOSE-A9,0),2,1)/SMA(ABS(CLOSE-A9),2,1)*100;
A15:=45;
A16:=20;
A17:=A14<A15 AND REF(A14,1)>A15;
A18:=A14<A16 AND REF(A14,1)>A16*A8;
抓牛:(COUNT(A13=1,4)=3 AND A13=0 AND OPEN<CLOSE AND
(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085)*89>=89 OR
((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085 AND (REF(A18,1) OR
REF(A17,1))) AND A8=1;
九毛八公式解读
A5赋值:531 A6赋值:1510000 A7赋值:A5+A6 A8赋值:如果日期>A7,返回0,否则返回1 A9赋值:1日前的收盘价 A10赋值:1日内最高价的最高值的8日指数移动平均 A11赋值:收盘价的8日指数移动平均 A12赋值:A11<1日前的A11 AND 收盘价A15 A18赋值:A14A16*A8 输出抓牛:(统计4日中满足A13=1的天数=3 AND A13=0 AND 收阳线ANDN (收盘价-1日前的收盘价)/1日前的收盘价>0.085)*89>=89 OR ((收盘价-1日前的收盘价)/1日前的收盘价>0.085 AND (1日前的A18 OR 1日前的A17)) AND A8=1