DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);DEA : EMA(DIFF,9); : 2*(DIFF-DEA), COLORSTICK;JC := DEA-DIFF;绿柱面积:=IF(MACD<0 SUM(MACD,BARSLAST(JC<0)),0);红柱面积:=IF(MACD>0,SUM(MACD,BARSLAST(JC>0)),0);本次最低价:=LLV(L,BARSLAST(JC<0>0));X1:=IF (MACD<0 BARSLAST(OSS(DIFF,DEA)),0);前次绿柱面积:=REF(绿柱面积,X1+1);前次最低价: REF(本次最低价,X1+1);Y1:=IF((绿柱面积 xss=removed xss=removed>=DEA,DIFF,DRAWNULL),COLORRED; 守:IF(DEA>=DIFF,DEA,DRAWNULL),COLORFF9900;纪:IF(DIFF>=DEA,DEA,DRAWNULL),COLOR00FFFF;律:IF(DEA>=DIFF,DIFF,DRAWNULL),COLOR00FF00;X2: