DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2,COLORSTICK;
TJA:=DIF<0 AND DEA>0;
TJA AND REF(TJA,1)=0;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2,COLORSTICK;
TJA:=DIF<0 AND DEA>0;
TJA AND REF(TJA,1)=0;