收盘价上穿bbi; bbi上涨; vol(5,10):MA5大于MA10; DIF大于DEA; cci大于100; 请老师帮忙编一下,我想做预警用!谢谢老师了
爱约股解答:
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CROSS(C,BBI) AND BBI>REF(BBI,1) AND MA(V,5)>MA(V,10) AND DIF>DEA AND CCI>100;