DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,27);
DJE1:=DIFF>=0 AND DEA>=0 AND CROSS(DIFF,DEA);
A5A:=MA(CLOSE,5)>MA(CLOSE,10);
V5A:=VOL>MA(VOL,5) AND MA(VOL,5)>MA(VOL,10);
青云:IF(DJE1 AND A5A AND V5A AND MA(CLOSE,30)>=REF(MA(CLOSE,30),1),60,0);
九毛八公式解读
赋值: 收盘价的12日指数移动平均 - 收盘价的26日指数移动平均 赋值: DIFF的27日指数移动平均 DJE1赋值:DIFF>=0 AND DEA>=0 AND DIFF上穿DEA A5A赋值:收盘价的5日简单移动平均>收盘价的10日简单移动平均 V5A赋值:成交量(手)>成交量(手)的5日简单移动平均 AND 成交量(手)的5日简单移动平均>成交量(手)的10日简单移动平均 输出青云:如果DJE1ANDA5AANDV5AANDMA(收盘价,30)>=1日前的收盘价的30日简单移动平均,返回60,否则返回0