DRAWGBK(C>0,RGB(10,10,10),RGB(10,10,10),0,'01',0); {背景不要可删除}
N:=7;
趋势:C-MA(C,N),COLORFF95C7,LINETHICK2;
压力:HHV(趋势,60),COLORFFFFFF,LINETHICK2;
支撑:LLV(趋势,60),COLORFFFF00,LINETHICK2;
追:(趋势>支撑) AND REF(趋势,1)=REF(支撑,1),COLORMAGENTA,NODRAW;
STICKLINE(追>0,支撑,压力,1,0),COLORMAGENTA;
逃:(趋势<压力) AND REF(趋势,1)=REF(压力,1),COLORGREEN,NODRAW;
STICKLINE(逃>0,支撑,压力,1,0),COLORGREEN;