AAA:=(3*C+H+L+O)/6;
GUP1:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,COLORRED;
GUP2:=(HHV(GUP1,2)+HHV(GUP1,4)+HHV(GUP1,8))/3; GUP3:=(LLV(GUP1,2)+LLV(GUP1,4)+LLV(GUP1,8))/3;
GUP4:(HHV(GUP2,2)+HHV(GUP2,4)+HHV(GUP2,8))/3;DJB:=BARSLASTCOUNT(C/REF(C,1)>1.096);
DRAWNUMBER(C/REF(C,1)>1.096,H*1.015,DJB),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND C/REF(C,1)>1.096,0.8,0.2,0,'连续第 板'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND C/REF(C,1)>1.096,0.824,0.2,0,DJB),COLORGREEN;
GUP5:(LLV(GUP3,2)+LLV(GUP3,4)+LLV(GUP3,8))/3,COLORWHITE;
GUP6:=(LLV(GUP1,2)+LLV(GUP1,4)+LLV(GUP1,8))/3;
{DRAWBAND(GUP1,RGB(155,50,50),GUP6,RGB(250,250,0));}
IF((GUP1 <= REF(GUP1,1)),GUP1,DRAWNULL),COLORGREEN,LINETHICK3;
IF((GUP1 >= REF(GUP1,1)),GUP1,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(GUP4>GUP1,GUP4,GUP1,0,0),COLORBLUE; DRAWKLINE(H,O,L,C);
DRAWTEXT(REF(GUP5,1)=REF(GUP1,1) AND GUP5<GUP1,L*0.99,'买进'),COLORRED;
DRAWTEXT(REF(GUP6,1)=REF(GUP1,1) AND GUP6<GUP1,L*0.98,'加仓'),COLORYELLOW;
DRAWTEXT(REF(GUP4,1)=REF(GUP1,1) AND GUP4>GUP1,H,'卖出'),COLORGREEN;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
突破:=CROSS(C,GUP4) AND ZT;
DRAWTEXT(突破,L,'起爆点'); STICKLINE(突破,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(突破,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(突破,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(突破,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(突破,CLOSE,OPEN,0.3,0),COLOR00FFFF;