BDGD:=C=HHV(C,20);GDSJ:=BAAST(BDGD);T线:IF(GDSJ>0,REF(C,GDSJ),REF(C,GDSJ)),POINTDOT,COLORRED,LINETHICK4;GJ:=(C+H+L+O)/4;明阻:=L+(GJ-L)+(C-L);明支:=L+(C-GJ);今阻:REF(明阻, 1),COLORGREEN,NODRAW;今支:REF(明支, 1),COLORFF00FF,NODRAW;STICKLINE(ISLASTBAR AND C>=今阻,今阻*1.0001,今阻*0.9999,15,0),COLOR0000FF;STICKLINE(ISLASTBAR AND C<今阻,今阻*1.0001,今阻*0.9999,15,0),COLOR00FF00;STICKLINE(ISLASTBAR AND C>=今支,今支*1.0001,今支*0.9999,15,0),COLORFF00FF;STICKLINE(ISLASTBAR AND C<今支,今支*1.0001,今支*0.9999,15,0),COLORFF8800;TY:=