来源:Internet,编辑:股旁网,2012-11-13
编写条件:
编写方法:
DIF:=EMA(C,12)-EMA(C,26); DEA:=EMA(DIF,9); macd:=(DIF-DEA)*2; MA(C,5)>MA(C,10) and MA(C,5)>ref(MA(C,5),1) and MA(C,20)>ref(MA(C,20),1) and dif>0