difF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A2:=BArslAst(REF(CROSS(DIFF,DEA),1));
MA20:=MA(CLOSE,20);
强势洗盘:CROSS(DEA,DIFF) AND CLOSE>MA20 AND MA20>REF(MA20,1) AND DIFF>REF(DIFF,A2+1);
九毛八公式解读
DIFF赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 DEA赋值:DIFF的9日指数移动平均 A2赋值:上次1日前的DIFF上穿DEA距今天数 MA20赋值:收盘价的20日简单移动平均 输出强势洗盘:DEA上穿DIFF AND 收盘价>MA20 AND MA20>1日前的MA20 AND DIFF>A2+1日前的DIFF