TJ1:=COUNT((C<O),5)>=3;
TJ2:=(MIN(C,O)-L)/(H-L)>=0.5;
TJ3:=L/MIN(C,O)<=0.97;
TJ4:=(C-MA(C,30))/MA(C,30)*100<-10;
XG:TJ1 AND TJ2 AND TJ3 AND TJ4;
九毛八公式解读
TJ1赋值:统计5日中满足(收阴线)的天数>=3 TJ2赋值:(收盘价和开盘价的较小值-最低价)/(最高价-最低价)>=0.5 TJ3赋值:最低价/收盘价和开盘价的较小值<=0.97 TJ4赋值:(收盘价-收盘价的30日简单移动平均)/收盘价的30日简单移动平均*100<-10 输出XG:TJ1 AND TJ2 AND TJ3 AND TJ4