DEA:EMA(T-(T1-T),2),linethick2,coloryellow; DIFF:DEA-EMA(((A-B)-(T-T1)),1)*6,linethick2,colorwhite; macd:=2*(diff-dea)+diff,colorred;