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<MARD,MACD,MARD,5,0),colorFF0000;
看股吧 公式 www.kanguba. com