MA5:=MA(C,5);
MA24:=MA(C,24);
V5:=MA(V,5);
V60:=MA(V,60);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
T1:=(H-C)/C<0.01;
T2:=COUNT((0.995<C/O AND C/O<1.005 AND H>L),10)>=1;
T3:=MA5>MA24 AND MA24>REF(MA24,1) AND C<20 ;
T4:=DIF>DEA AND macd>REF(MACD,1);
T5:=(MA5-MA24)/MA24<0.1;
T6:=LLV(V,10)<=V60*0.4;
T7:=FINANCE(7) <=3000000000 AND FINANCE(34)>0.01;
T:T1 AND T2 AND T3 AND T4 AND T5 AND T6 AND T7 AND DYNAINFO(17)!=0;
九毛八公式解读
MA5赋值:收盘价的5日简单移动平均 MA24赋值:收盘价的24日简单移动平均 V5赋值:成交量(手)的5日简单移动平均 V60赋值:成交量(手)的60日简单移动平均 DIF赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 DEA赋值:DIF的9日指数移动平均 MACD赋值:(DIF-DEA)*2 T1赋值:(最高价-收盘价)/收盘价<0.01 T2赋值:统计10日中满足(0.995<收盘价/OANDC/开盘价<1.005ANDH>最低价)的天数>=1 T3赋值:MA5>MA24 AND MA24>1日前的MA24 AND 收盘价<20 T4赋值:DIF>DEA AND MACD>1日前的MACD T5赋值:(MA5-MA24)/MA24<0.1 T6赋值:10日内成交量(手)的最低值<=V60*0.4 T7赋值:流通股本(股) <=3000000000 AND 每股净资产>0.01 输出T:T1 AND T2 AND T3 AND T4 AND T5 AND T6 AND T7 AND 量比不等于0