VA1:=SUM(IF(C>REF(C,1),V,-V),FROMOPEN); BGGX:=CONST(HHV(VA1,0)); BGDX:=CONST(LLV(VA1,0)); TZVA:=200*(VA1-BGDX)/(BGGX-BGDX)-100; ZERO:=200*BGDX/(BGDX-BGGX)-100; DRAWBAND(TZVA,RGB(88,0,88),ZERO,RGB(0,88,0));
看股 吧公式 www.kang uba.com