LP:=CURRBARSCOUNT =BC2 AND L=LOWER;{低点定位}
HP:=CURRBARSCOUNT =TC2 AND H=UPPER;{高点定位}
DRAWTEXT(LP,L*0.993,'↖波段底'),COLORLIGREEN;{波段底文字提示}
DRAWTEXT(HP,C*1.01,' 波段顶'),COLORMAGENTA;{波段顶文字提示}
STICKLINE(IF(BC2 TC2,HP,LP),LOWER,UPPER,0,0),COLORMAGENTA;{波段顶底竖线条}
STICKLINE(IF(BC2 TC2,LP,HP),LOWER,UPPER,0,0),COLOR628962; {波段顶底竖线条};