P:=0;
DRAWGBK(C>0,RGB(0,190,250),RGB(0,120,180),0,' ',0);
B:=C,COLORMAGENTA,NODRAW;
G1:=MA(B,5);
G2:=(MA(B,4)+MA(B,6))/2;
G3:=(MA(B,3)+MA(B,7))/2;
G4:=(MA(B,2)+MA(B,8))/2;
G5:=(B+MA(B,9))/2;
G:=(G1+G2+G3+G4+G5)/5,COLORFFFFFF,NODRAW;
HK0:=G;
HK1:=(HK0+2*G+(H+L)+REF(HK0,1))/6;
HK20:=SUM(HK1,4)/4;
HA10:=SUM(IF(HK1>HK20,HK1,0-HK1),0)/100;
ZB:=(H+L)/2,COLORMAGENTA,NODRAW;
ZG1:=MA(ZB,5);
ZG2:=(MA(ZB,4)+MA(ZB,6))/2;
ZG3:=(MA(ZB,3)+MA(ZB,7))/2;
ZG4:=(MA(ZB,2)+MA(ZB,8))/2;
ZG5:=(ZB+MA(ZB,9))/2;
ZG:=(ZG1+ZG2+ZG3+ZG4+ZG5)/5,COLORFFFFFF,NODRAW;
ZHK0:=ZB;
ZHK1:=(ZHK0+2*ZB+(H+L)+REF(ZHK0,1))/6;
ZHK20:=SUM(ZHK1,3)/3;
ZHA10:=SUM(IF(ZHK1>ZHK20,ZHK1,0-ZHK1),0)/100;
ZSYJJ:=REF(HHV(ZHA10,1),1),COLORGREEN,LINETHICK1,NODRAW;
上攻:=IF(P=0,ZHA10,HA10),COLORMAGENTA,NODRAW;
回调:=IF(P=0,ZSYJJ,REF(HHV(HA10,1),1)),COLOR909000,NODRAW;
STICKLINE(上攻>回调,上攻,回调,4,0),COLORDD00DD;
STICKLINE(上攻<回调,上攻,回调,4,1),COLOR006000;
BL:MA(上攻,20),COLORFFFFFF;
上轨:BL+2*STD(上攻,20),COLORFFFFFF,LINETHICK2;
下轨:BL-2*STD(上攻,20),COLORFFFFFF,LINETHICK2;
上F:上攻-上轨,COLORFFFFFF,NODRAW;
下F:上攻-下轨,COLORFFFFFF,NODRAW;