DRAWGBK(C>0,RGB(150,50,175),RGB(0,25,100),0,' ',0);{DRAWGBK(O>C,RGB(360,0,10),RGB(10,0,1),0,'01',0);}N8:=STRCAT(CON2STR(YEAR,0),'年'); Y8:=STRCAT(CON2STR(MONTH,0),'月'); R8:=STRCAT(CON2STR(DAY,0),'日'); N:=120;K:=BARSLAST(CURRBARSCOUNT=N);GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));{高点}DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));{}KJ:=GD-DD;{高低点差值=分区高度}GD4:IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL);低:IF(CURRBARSCOUNT<=N/30,DD,DRAWNULL),COLORFFFF00;高:IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL),COLOR00FFFF;:IF(CURRBAR