DIFF:=Ema(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,8); A1:=BArslAst(REF(crOSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); macd底背:B1>0;