difF:=ema(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
A11:=BArslAST(REF(crOSS(DIFF,DEA),1));
B11:=REF(C,A11+1)>C AND REF(DIFF,A11+1)
difF:=ema(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
A11:=BArslAST(REF(crOSS(DIFF,DEA),1));
B11:=REF(C,A11+1)>C AND REF(DIFF,A11+1)