DIFF:=(EMA(CLOSE,8) - EMA(CLOSE,55))*10;
DEA:=EMA(DIFF,3);
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
JJ:=DYNAINFO(11);
BTJ1:=(C-JJ)/JJ<-0.03;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ3:=CROSS(DIFF,DEA) AND DIFF<-0.3;
庄:= BTJ1 AND BTJ2 AND BTJ3;
有庄:FILTER(庄,55);
九毛八公式解读
DIFF赋值:(收盘价的8日指数移动平均 - 收盘价的55日指数移动平均)*10 DEA赋值:DIFF的3日指数移动平均 VAR1赋值:收盘价的13日指数移动平均的13日指数移动平均 控盘赋值:(VAR1-1日前的VAR1)/1日前的VAR1*1000 JJ赋值:均价 BTJ1赋值:(收盘价-JJ)/JJ<-0.03 BTJ2赋值:控盘>1日前的控盘 AND 控盘<-0.2 BTJ3赋值:DIFF上穿DEA AND DIFF<-0.3 庄赋值: BTJ1 AND BTJ2 AND BTJ3 输出有庄:庄的55日过滤