DIF := (EMA(CLOSE,12) - EMA(CLOSE,26) );
DEA := EMA(DIF,9);
MACD := 2*(DIF-DEA);
A1:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
{股票指标网}
F:=100*(C-REF(C,1))/REF(C,1);
G1:=IF(C<REF(O,1) AND F<0,1,0);
G2:=IF(C<REF(O,2) AND F<0,1,0);
A2:=G1=0 AND REF(G1,1)=1 AND G2=0 AND REF(G2,1)=1;
HH:A1 AND A2;