A1:=MA(C,3);
A2:=MA(C,54);
A3:=(A1+A2)/2;
IF (A1>A2,A1,A3),colorred,linethick2;
IF (A1>A2,A2,A3),colorblue,linethick1;
IF (A1<=A2,A1,A3),coloryellow,linethick2;
IF (A1<=A2,A2,A3),colorblue,linethick1;
A3,colorwhite,linethick1;
var31:=HHVBARS(ZIG(3, 19)>REF(ZIG(3,19),1)
AND REF(ZIG(3,19), 1)<REF(ZIG(3,19), 2),0);
STICKLINE(var31=0,L*0.95,L*0.98,6,0),colorDDDDDD;
DRAWTEXT(var31=0,L*0.95,'第一买点'),colorred;
DRAWTEXT(var31=4,H*1.06,'5'),coloryellow;
STICKLINE(var31=8,L*0.95,L*0.98,6,0),colorred;
DRAWTEXT(var31=8,L*0.95,'第二买点'),coloryellow;
DRAWTEXT(var31=12,H*1.12,'13'),coloryellow;
DRAWTEXT(var31=20,L*1.12,'21'),coloryellow;
DRAWTEXT(var31=27,L*0.95,'第三买点'),colorwhite;
DRAWTEXT(var31=33,H*1.12,'34'),coloryellow;
DRAWTEXT(var31=39,H*1.12,'40'),coloryellow;
DRAWTEXT(var31=45,L*1.12,'46'),coloryellow;
DRAWTEXT(var31=50,H*1.12,'51'),coloryellow;
DRAWTEXT(var31=53,L*1.12,'54'),coloryellow;
DRAWTEXT(var31=59,H*1.12,'60'),coloryellow;
DRAWTEXT(var31=64,L*1.12,'65'),coloryellow;
DRAWTEXT(var31=67,H*1.12,'68'),coloryellow;
DRAWTEXT(var31=75,L*1.12,'76'),coloryellow;
DRAWTEXT(var31=79,H*1.12,'80'),coloryellow;
DRAWTEXT(var31=88,H*1.12,'89'),coloryellow;
DRAWTEXT(var31=97,H*1.12,'98'),coloryellow;
DRAWTEXT(var31=107,H*1.12,'108'),coloryellow;
DRAWTEXT(var31=143,L*0.95,'144'),coloryellow;
DRAWTEXT(var31=232,H*1.12,'233'),coloryellow;
DRAWTEXT(var31=376,L*0.95,'377'),coloryellow;