{高低标注}
ddd:=ZIG(4,n );
DRAWTEXT(h=ddd ,h*1.02 ,'高='+ddd),ColorD3A9FF;
DRAWTEXT(l=ddd ,l ,'低='+ddd);
{缺口};
a:=l>ref(h,1);
b:=h[
ab:=(l-ref(h,1))/1.5+ref(h,1);
DRAWTEXT(a ,ab,''+l),Color33cc33,ALIGN2;
DRAWTEXT(a ,ab,'-'+ref(h,1)),Color33cc33;
ba:=(ref(l,1)-h)/1.2+h;
DRAWTEXT(b ,ba,'-'+h),ColorD3A90F;
DRAWTEXT(b ,ba,''+ref(l,1)),ColorD3A90F,ALIGN2;
DRAWTEXT(b ,ref(l,1)*0.98,'----'),ColorD3A90F,ALIGN2;
DRAWTEXT(b ,ref(l,1)*0.98,'------'),ColorD3A90F; ]