周MA:="macd.MacD#WEEK",;
冷区:=IF((周MA-REF(周MA,5)<0.01),0.4,DRAWNULL);
DRAWBAND(冷区,RGB(10,30,0),0,RGB(0,0,0));
暖区:=IF((周MA-REF(周MA,5)>0.01)AND MACD.MACD>=0,0.5,DRAWNULL);
DRAWBAND(暖区,RGB(50,20,0),0,RGB(0,0,0));
周MA:="macd.MacD#WEEK",;
冷区:=IF((周MA-REF(周MA,5)<0.01),0.4,DRAWNULL);
DRAWBAND(冷区,RGB(10,30,0),0,RGB(0,0,0));
暖区:=IF((周MA-REF(周MA,5)>0.01)AND MACD.MACD>=0,0.5,DRAWNULL);
DRAWBAND(暖区,RGB(50,20,0),0,RGB(0,0,0));