DIF:=EMA(CLOSE,12)-EMA(CLOSE,25);
DEA:=EMA(DIF,5);
macd:=(DIF-DEA)*2;
MacD120:=REF(MACD/2,BArslAST(MACD=HHV(MACD,120)));
XG:=NOT(REF(MACD120,1)=MACD120);
金柱:XG;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,25);
DEA:=EMA(DIF,5);
macd:=(DIF-DEA)*2;
MacD120:=REF(MACD/2,BArslAST(MACD=HHV(MACD,120)));
XG:=NOT(REF(MACD120,1)=MACD120);
金柱:XG;