高:=REF(HHV(H,2),10);低:=REF(LLV(L,2),10);顶点:=REFDATE(高,DATE),COLORWHITE;:=REFDATE(低,DATE),COLORWHITE;{DRAWBAND(顶点,RGB(0,150,160),低点,RGB(0,0,0));}差:=高-(高-低),COLOR00FFFF,LINETHICK2;EMA20:=MA(CLOSE,20),COLORFFFFFF,LINETHICK3;DRAWBAND(EMA20,RGB(120,0,),差,RGB(0,0,0));差值:高-(高-低),COLOR00FFFF,LINETHICK1;箱顶:MA(REF(HHV(C,30),1),2),DOTLINE,LINETHICK1,COLOR00FF00;箱底:MA(REF(LLV(C,30),1),2),DOTLINE,COLORFFFF00;C1:=C>=差;C2:=C<差;AA:=C1>=C2 ;BB:=C2>C1 ;STICKLINE(AA,H,C,0,0),COLOR225588;STICKLINE(AA,H,C,0,0),CO