DIF: =EMA (CLOSE,12) -EMA(CLOSE,26);DEA: =EMA(DIF,9);MACD: =(DIF-DEA) *2;A1: =DIF>=0;A2:=DEA>=0;A3:=DIF<0.3;A4:=DEA<0.3;CROSS(DIF,DEA) AND A1 AND A2 AND A3 AND A4;
公式源码示例:
DIF:=EMA (CLOSE,12) -EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA) *2;
A1:=DIF>=0;
A2:=DEA>=0;
A3:=DIF<0.3;
A4:=DEA<0.3;
CROSS(DIF,DEA) AND A1 AND A2 AND A3 AND A4;