DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);DEA : EMA(DIFF,9); : 2*(DIFF-DEA), COLORSTICK;PARTLINE(dea,dea>REF(dea,1),RGB(255,255,255),dea
[REF(DIFF,1),RGB(255,0,0),DIFF][0,STRIP(RGB(90,0,0),RGB(10,150,0),0)) and DRAWGBKLAST(dea<0,STRIP(RGB(0,128,128),RGB(25,25,112),0));日金:DRAWTEXT(OSS(DIFF,DEA) ,MACD,'▲'),align2,COLORred;日死:DRAWTEXT(CROSS(DEA,DIFF) ,macd*1.5,'▼'),align2,COLORgreen;
]