LC:=REF(C,1); MA5:=MA(C,5); K:=BARSLAST(CURRBARSCOUNT=250); 高1:=CONST(IF(ISLASTBAR=1,HHV(H,K),0)); 低0:=CONST(IF(ISLASTBAR=1,LLV(L,K),0)),COLOR00FF00; KJ:=高1-低0; GD4:=IF(CURRBARSCOUNT<=250/2,高1,DRAWNULL); 顶:=REFDATE(高1,DATE),COLORFF8800; 高压:=IF(1=1,低0+KJ*0.873,DRAWNULL),COLOR0000FF,NODRAW; :=IF(1=1,低0+KJ*0.809,DRAWNULL),COLORFF00FF,NODRAW; 上中:=IF(1=1,低0+KJ*0.618,DRAWNULL),COLORMAGENTA,NODRAW; :=IF(1=1,低0+KJ/2,DRAWNULL),COLORCCCCCC,POINTDOT; 下中:=IF(1=1,低0+KJ*0.382,DRAWNULL),COLORMAGENTA,NODRAW;