M1:=3;M2:=6;M3:=12;M4:=24;
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,COLORRED;
上升:IF(BBI>REF(BBI,1),BBI,DRAWNULL),COLORRED;
走平:IF(BBI=REF(BBI,1),BBI,DRAWNULL),COLORRED;
下降:IF(BBI<REF(BBI,1),BBI,DRAWNULL),COLORGREEN;
代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!