高点:=50;:=30;之幅度:=5;高点A:=22;低点A:=10;精准计数:=240;低1开2收3高4:=1;基准点前N天:=0;PP:=550;F1:=1;F2:=2;N9:=120;KP:=BARSLAST(CURRBARSCOUNT=N9);GDY:=CONST(IF(ISLASTBAR=1,HHV(H,KP),0));{高点}DDS:=CONST(IF(ISLASTBAR=1,LLV(L,KP),0));{低点}KJ:=GDY-DDS;{高低点差值=分区高度}DRAWTEXT(CURRBARSCOUNT=N9/2-58,GDY-KJ/12,' 【区】--避险'),COLOR555555;DRAWTEXT(CURRBARSCOUNT=N9/2-58,GDY-KJ/3.5,' 【警示区】--逢高'),COLOR555555;DRAWTEXT(CURRBARSCOUNT=N9/2-58,GDY-KJ/2.23,' 【区】--'),COLOR555555;DRAWTEXT(CURRBARSCOUNT=N9/2-58,GDY-KJ/1.