LOCK:=IF(DATE<1340101,1,0);
DIFF:=EMA(CLOSE,21)-EMA(CLOSE,34);
DEA:=EMA(DIFF,8);
macd:=20*(DIFF-DEA)*LOCK;
MM3:EMA(MacD,3),colorFF99FF;
MM5:EMA(MACD,5),color00FF00;
MARD:=SMA(MACD,2,1);
Y:=ATAN(MACD);
STICKLINE(MACD>MARD,MACD,MARD,3,0),colorFFFFFF;
STICKLINE(MACD